Quick Start Guide
Step 1. Getting API Credentials
- Before using the 8B API, you must obtain API credentials (login and password) from our Support Team. These credentials are required to generate an access token and authenticate your requests.
- To receive your API credentials, please contact our Support Team: [email protected].
- You will be issued separate credentials for each:
- Sandbox credentials are used for testing your integration in a safe environment.
- Production credentials are used for live payment processing and must be handled securely.
Step 2. Authentication & Authorization
Getting Access and Refresh Tokens
Authentication in the 8B API is based on a token system. It follows the OAuth 2.0 framework, specifically the Resource Owner Password Credentials grant type, where tokens are issued in exchange for company credentials. When you log in using your company credentials, the API returns two tokens:
Token Type | Description | Validity |
---|---|---|
Access Token | Used in the Authorization header for authenticating API calls | 30 minutes |
Refresh Token | Used to obtain a new access token when the current one expires | 10 hours |
How It Works

- Send a POST request to
/api/v1/admin-accounts/oauth/authorize
with your login and password. - Receive both access and refresh tokens in the response body.
- Use the access token in the Authorization: Bearer YOUR_TOKEN header for all authenticated API requests.
Updating Access Token with Refresh Token
When your access token expires (after 30 minutes), you can obtain a new one without re-authenticating by using the refresh token.
How It Works

- Send a POST request to
/client/api/v1/auth/refresh-token
with your refresh token in the request body. - Receive a new access token in the response.
- Replace the expired access token in your API requests with the new one.
Token Endpoints
Endpoint | Description |
---|---|
POST /api/v1/admin-accounts/oauth/authorize | Create a new Access Token |
POST /api/v1/admin-accounts/oauth/refresh-token | Update an Access Token using a Refresh Token |
Step 3: Setting Up Webhooks
Webhooks allow our system to automatically notify your application when specific events occur (e.g., when a transaction status changes).
Provide Your Webhook URL
- You must supply a publicly accessible HTTPS endpoint that can receive POST requests from our servers.
- The webhook URL must be configured via the Client Portal, under the Admin Account settings associated with your specific legal entity.
- Incoming Request Example: POST https://your-webhook-url/{transactionId}
Webhook Trigger
A webhook will be sent for each status change of a payment transaction. This ensures your system always stays in sync with the latest transaction state.
Payload Format
We send POST requests with a JSON body containing transaction details and status.
{
"status": "ACCEPTED"
}
{
"status": "DECLINED",
"errorCode": "CODE_PT0002",
"errorMessage": "Invalid payment details"
}
Step 4. Creating New Disbursements
Related Entities
Entity | Description |
---|---|
Intent | A container that groups one or more payments representing a user's intention to pay |
Disbursement | A transfer of funds initiated to send money to a designated recipient |
Use Cases and Solutions

Action Sequence

Endpoints Description
Endpoint | Description |
---|---|
POST /api/v1/disbursements/check | Initiates verification of whether funds can be disbursed to the specified recipient |
POST /api/v1/intents | Initiates the creation of a new intent with payments |
GET api/v1/disbursements/id | Retrieve the payment details and its current status |
Disbursement Status Model

Updated about 19 hours ago