Get Balance Ticket¶
This is a feature that enable you to get a balance ticket.
Endpoint¶
https://api.my.digiflazz.com/v1/buyer/api/balance-ticket
Request¶
Example¶
Here is a JSON structure we expect:
{
"username": "your-username",
"amount": 5000,
"bank": "BCA",
"owner_name": "John Doe",
"sign": "740b00a1b8784e028cc8078edf66d12b"
}
Description¶
Parameter | Description | Data Type | Mandatory |
---|---|---|---|
username | Username you get from API connection configuration | String |
Yes |
amount | The amount of deposit you want | Int |
Yes |
bank | Destination bank name you will transfer to, Bank options: MAYBANK | String |
Yes |
owner_name | The account owner name who will be doing the transfer to Digiflazz | String |
Yes |
sign | Signature with formula md5(username + apiKey + "deposit") | String |
Yes |
Response¶
Example¶
Here is the JSON example of what you will receive:
{
"data": {
"rc": "00",
"amount": 5000.01,
"notes": "A6R5UPV"
}
}
Description¶
Parameter | Description | Data Type | Mandatory |
---|---|---|---|
rc | Response Code | String |
Yes |
amount | The final amount you have to transfer | Int |
Yes |
notes | The reference you should write when transfering money | String |
Yes |
Attention
JSON Response will be wrapped by data variable, make sure you parse it correctly.