Mesa · Authentication Profile

Mesa Authentication

Authentication

Mesa secures its APIs with apiKey, http, and openIdConnect across 3 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

CompanyFintechPaymentsInvoice FinancingEmbedded FinanceEarly PaymentACHSupplier PaymentsB2B
Methods: apiKey, http, openIdConnect Schemes: 3 OAuth flows: authorizationCode API key in: body

Security Schemes

apiKeyCredentials apiKey
· in: body ()
bearerAuth http
scheme: bearer
oidc openIdConnect

Source

Authentication Profile

Raw ↑
generated: '2026-07-20'
method: searched
source: https://docs.joinmesa.com/set-up/api-keys
docs: https://docs.joinmesa.com/embedded-ui/auth-flow
summary:
  types: [apiKey, http, openIdConnect]
  api_key_in: [body]
  oauth2_flows: [authorizationCode]
  model: >-
    Server-side API keys (clientId + clientSecret) are exchanged for a short-lived JWT session token
    scoped to a single end user (vendorId + userId). The JWT is used as a Bearer token on Partner API
    calls and passed to the MesaClient embed handshake. End users authenticate either with Mesa native
    sign-up/sign-in or via the partner's OIDC provider.
schemes:
- name: apiKeyCredentials
  type: apiKey
  in: body
  description: >-
    clientId + clientSecret pair issued in the Mesa partner portal (partners.joinmesa.com). Sent in
    the JSON body of POST /token and POST /partners/{partnerId}/auth. Must stay server-side.
  sources: [openapi/mesa-partner-api-openapi.yml, https://docs.joinmesa.com/set-up/api-keys]
- name: bearerAuth
  type: http
  scheme: bearer
  bearerFormat: JWT
  description: Short-lived JWT returned by the token endpoints; used on subsequent Partner API calls.
  sources: [openapi/mesa-partner-api-openapi.yml]
- name: oidc
  type: openIdConnect
  description: >-
    Optional end-user authentication via the partner's OpenID Provider (Okta, Azure AD, Google) using
    the Authorization Code flow with scopes openid, email, profile. The partner shares Issuer URL,
    Client ID, and Client Secret with Mesa; contact support@joinmesa.com to enable.
  scopes: [openid, email, profile]
  sources: [https://docs.joinmesa.com/embedded-ui/user-flows]
jwt_payload:
  origin: Allowed iframe origin; scopes the token to the partner domain.
  partnerId: Mesa-assigned partner identifier.
  programCode: Controls which payment programs appear in onboarding.

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/mesa-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.