Authentication
Bead APIs use OAuth2 for secure authentication. There are two different OAuth2 flows depending on the API category you are accessing:
1. Terminal-based Authentication (Payments & Status APIs)
Used primarily for initiating payments, checking payment status, and configuring webhooks.
Endpoint:
Authentication Request (Terminal-based):
Response Example:
Use this token as a bearer token in your requests:
2. Username & Password Authentication (Boarding, Settlement, Reporting APIs)
For Boarding, Settlement, Reporting, and similar APIs, use your provided integration credentials (username/password).
Endpoint:
Authentication Request (Username & Password):
Response Example:
Similarly, use this token as a bearer token in your requests:
Best Practices
Always use HTTPS when making OAuth2 requests.
Store your tokens securely. Do not expose tokens publicly or in client-side code.
Refresh tokens proactively to avoid downtime due to expired tokens.
Next Steps
For questions about authentication or credentials, reach out to developers@bead.xyz.
Last updated