Skip to content

Check Balance

Check balance will give you an information of how much balance that you currently have in Digiflazz.

Endpoint

https://api.my.digiflazz.com/v1/buyer/api/check-balance

Request

Example

Here is a JSON structure that we expect:

{
    "cmd": "balance",
    "username": "username",
    "sign": "740b00a1b8784e028cc8078edf66d12b"
}

Description

Parameter Description Data Type Mandatory
cmd value: "balance" String Yes
username Username you got from API connection configuration String Yes
sign Signature with this formula md5(username + apiKey + "balance") String Yes

Response

Example

Here is a JSON example of what you will receive:

{
    "data": {
        "balance": 50000.12
    }
}

Description

Parameter Description Data Type Mandatory
balance Your current balance Double Yes

Attention

JSON Response will be wrap by data variable, make sure you parse it correctly.