POST
/
get_account_balance
Check Account Balance
curl --request POST \
  --url https://{api_host}/get_account_balance \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "service_id": 123,
  "request_time": "2023-11-07T05:31:56Z"
}'
{
  "response_message": "<string>",
  "response_code": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
service_id
integer

Your unique service identifier. This is the same ID you use for payment transactions.

request_time
string<date-time>

The timestamp of your balance check request. Use ISO 8601 format (e.g., '2023-04-21T14:30:00Z').

Response

200 - application/json

Account balance retrieved successfully. The response includes your current balance and any relevant account information.

response_message
string

A message containing your current account balance and any additional account information.

response_code
string

A code indicating the success of the balance retrieval. Refer to our response code documentation for details.