Get Balance

Check balance amount

This API is used to check the merchant balance amount. It requires 1 parameter key, which is included by merchant_code.

Query Parameters

  • Name
    key
    Type
    string
    required
    Description

    Key generated from parameters with API key and API secret encryption.

cURL
curl --request GET \
--url https://staging.s88pay.net/api/v1/balance/{merchant_code} \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>",
}'
Processing request...

Parameters

  • Name
    merchant_code
    Type
    string
    required
    Description
    The merchant code.
Parameters Object
{
"merchant_code": "ABC123"
}

These parameters must be encrypted before being sent through the key query.


Return

Returns a transaction status object. This call returns an error if an error occurs.

Response
{
"currency_name": "Korean Won",
"currency_code": "KRW",
"balance": "2033968.739",
"frozen_balance": "1997683.660",
"available_balance": "36285.079"
}