Authentication

Choose how your integration authenticates to the Payabli API
View as MarkdownOpen in Claude
Applies to:Developers

Payabli supports two ways to authenticate API requests. Both authenticate the same endpoints, so choose based on how you want to manage credentials. For new integrations, Payabli recommends OAuth2 Bearer tokens. The requestToken API token remains fully supported, and existing integrations don’t need to migrate.

API tokenOAuth2 Bearer token
Sent asrequestToken headerAuthorization: Bearer header
LifetimeLong-lived (1–24 months)Short-lived (hours; see expires_in)
How you get itCreate it in the Payabli PortalExchange a client ID and secret at the token endpoint
Use it whenYou want a long-lived credential with minimal setup, or you’re maintaining an existing requestToken integration.You want short-lived, rotatable, permission-scoped credentials.