Check Balance
The Check Balance Endpoint is used to get the current balance of the merchant.
Service Endpoints
|
Endpoint |
POST /api/check-balance |
|
Request Header |
Authorization: Bearer <your_jwt_token_here> Content-Type: application/json |
Request Parameters
|
Name |
Type |
Required? |
Description |
|---|---|---|---|
|
|
string |
Yes |
ID of the merchant |
Response Parameters
|
Name |
Type |
Description |
|---|---|---|
|
|
string |
ID of the merchant |
|
|
string |
Merchant’s current balance |
|
|
datetime |
Currency of the balance |
|
|
number |
Timestamp when the balance was retrieved |
|
|
string |
Error code |
|
|
string |
Message |
Sample Request
{
"merchant_id": "M00001"
}
Sample Response
{
"merchant_id": "M00001",
"current_balance": 1665.88,
"currency": "USD",
"time": "2025-03-15 18:06:15"
}