v1

latestOpenAPI 3.1.02026-07-26500375.1 KB

E-Wallet Account Inquiry API

The following endpoint can be used to check validity of e-wallet account and account name information

post/emoney/account-inquiry

Headers

Content-Typestring required

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

X-TIMESTAMPstring required

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

Authorizationstring

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

X-SIGNATUREstring required

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

X-PARTNER-IDstring required

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

X-EXTERNAL-IDstring required

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

CHANNEL-IDstring required

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

Request body

customerNumberstring required

The account number of the recipient. *Supported format: (628...) OR (08...)

partnerReferenceNostring required

Unique transaction identifier on merchant system which assigned to each transaction

Response

200

customerNamestring
customerNumberstring
responseCodestring
responseMessagestring

Example response

{
  "additionalInfo": {
    "deviceId": "12345679237",
    "channel": "mobilephone",
    "platformCode": "gopay"
  },
  "amount": {
    "currency": "IDR",
    "value": "20000.00"
  },
  "customerName": "Jane Doe",
  "customerNumber": "087783146495",
  "responseCode": "2003900",
  "responseMessage": "Success"
}