get
https://{URL}/v1/open-api/balance
This method retrieves the specific balance value owned by the B2B account owner.
A. Request Header
| Field | Format | Mandatory | Length | Example |
|---|---|---|---|---|
| Open-Api-Timestamp | yyyy-mm-dd'T'hh:mm:ss+07:00 | Y | 2024-02-05T17:41:08.000+07:00 | |
| Open-Api-Signature | Digital Signature | Y | 88 | P8D8+zJuLswH8f1sP4Ocj3s02vvciJR PVq8wqaWJXQELjEhZGZwJpxwWRyve HzBtO7VZ/9xjx/JqiY+IF1J6Gg== |
B. Response Body
| Field | Type | Description | Example |
|---|---|---|---|
| response_code | string | Contains the OpenAPI response code | “200032000” |
| response_message | string | Contains the value of OpenAPI response message | “Sukses” |
| data | object | The object containing client balance | |
| balance | string | The value of owner B2B’s balance | "1000000.00" |
C. Sample Response
{
"response_code": "200032000",
"response_message": "Sukses",
"data": {
"balance": "1000000.00"
}
}