Balance Inquiry API

The following endpoint fetch the current balance in the merchant's Durianpay account.

Body Params
string
required

Merchant's balance accountNo (merchant_id)

additionalInfo
object

The field for additional information. JSON object with keys: deviceId and channel. example: {"deviceId": "1234567", "channel": "mobilephone"}

Headers
string
required

Indicates the media type of the resource. value: application/json

string
required

Timestamp in ISO8601 format, Example: 2024-05-14T18:54:57+07:00

string

Represents Access Token (B2B) of a request; string starts with keyword “Bearer ” followed by Access Token (B2B)

string
required

Signature generated by encrypting HTTP method, relative path, access token, minified request body, and timestamp

string
required

Unique ID for a partner given by Durianpay upon completing registration. Its value is same as the X-CLIENT-KEY

string
required

Unique messaging reference identifier generated by merchant and should be unique within the same day

string
required

Device identification on which the API services is currently being accessed by the merchant. Possible value: 95221

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain