v1

latestOpenAPI 3.1.02026-07-26500375.1 KB

Bank Transfer API

The following endpoint to submit bank transfer pay outs

post/transfer-interbank

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

partnerReferenceNostring required

Unique transaction identifier on merchant system which assigned to each transaction

beneficiaryAccountNamestring required

The name of the recipient account.

beneficiaryAccountNostring required

The account number of the recipient.

beneficiaryBankCodestring required

The bank code of the account, you get the list from fetch bank list API

beneficiaryAddressstring

Address of transfer destination

beneficiaryBankNamestring

Name of the bank destination. example: Bank BRI

beneficiaryEmailstring

Email address of the destination

currencystring

Currency of the transaction i.e. IDR

customerReferencestring

Reference Number / No Referral / Transaction ID

sourceAccountNostring required

Identifier of source account. its value is the same as merchant id

transactionDatestring required

Transaction date in ISO8601 format. Example: 2019-07-03T12:08:56-07:00

Response

200

beneficiaryAccountNostring
beneficiaryBankCodestring
partnerReferenceNostring
referenceNostring
responseCodestring
responseMessagestring
sourceAccountNostring

Example response

{
  "additionalInfo": {
    "channel": "mobilephone",
    "deviceId": "12345679237",
    "originatorAdditionalInfos": {
      "originatorIdentityType": "national_id",
      "originatorIdentityNo": "1234567890",
      "originatorAddress": "jakarta",
      "originatorCountry": "ID",
      "originatorDateOfBirth": "1990-01-01",
      "originatorJob": "company",
      "originatorPlaceOfBirth": "jakarta indonesia"
    }
  },
  "originatorInfos": [
    {
      "originatorBankCode": "002",
      "originatorCustomerName": "Iin",
      "originatorCustomerNo": "99901000003301"
    }
  ],
  "amount": {
    "currency": "IDR",
    "value": "12345678.00"
  },
  "beneficiaryAccountNo": "888801000003301",
  "beneficiaryBankCode": "002",
  "partnerReferenceNo": "111111111",
  "referenceNo": "dis_item_dbWnShFKcL",
  "responseCode": "2001800",
  "responseMessage": "Successful",
  "sourceAccountNo": "12312123"
}