Bpay Collection API requests (such as balance checks) require authentication. Use HTTP Basic Authentication (API Key and Secret) or pass an access token in the Authorization header.
Use one method per request — not both.
Payment collection callbacks are inbound webhooks from Bpay to your server — they do not use your API credentials. See Callbacks.
Generate credentials
API Key and Secret are available from BPAY → API Setup in the Beem dashboard.
Your API Secret is displayed only once. Store it securely, as it cannot be viewed again.
Authentication methods
API Key & Secret
Access Token
- Username: API Key
- Password: API Secret
Pass your access token directly — do not use a Bearer prefix.
Never expose your API Key, API Secret, or access token in frontend applications or public repositories.
Authentication errors