Skip to main content

Transfer to Bank

Specification

The Following tabel is spesification for this API :

API NameTransfer to Bank
FunctionThis API is used for merchant to do transfer to Bank request via Paydia Bisnis
Service Code43
MethodPOST
URL/snap/v1.0/emoney/transfer-bank
Acceptapplication/json
Content Typeapplication/json
Related ServiceTransfer to Bank

Request

The following part will be describe about parameter of request in this API:

Request Parameter

The following table is a list of request parameter in this API:

The following table is Header of Request Parameters :

NoNameTypeLengthRequiredConditionRemarks
1Content-TypeStringVariable, 127 maxMandatory-Content type, value always application/json
2AuthorizationStringVariableMandatory-Contains B2B Bearer JWT Token, you've got it from Access Token B2B
3X-TIMESTAMPStringFixed, 25 maxMandatory-Transaction date time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
4X-PARTNER-IDStringVariable, 36 maxMandatory-ID for partner was generated by Paydia. Unique ID for a partner
5X-EXTERNAL-IDStringVariable, 36 maxMandatory-Unique messaging reference ID generated by merchant. Numeric String. Reference number that should be unique in the same day
6CHANNEL-IDStringVariable, 5 maxMandatory-Device identification on which the API services is currently being accessed by the end user (customer)
7X-SIGNATUREStringVariableMandatory-Signature need to be generated with Symmetric Signature method

Body

The following table is a body of request parameter:

NoNameTypeLengthRequiredConditionRemarks
1partnerReferenceNoStringVariable, 64 maxMandatory-Unique transaction identifier on partner system which assigned to each transaction
2beneficiaryAccountNumberStringVariable, 32 maxMandatory-Destination account number
3beneficiaryBankCodeStringVariable, 8 maxMandatory-Beneficiary Bank code
4amountMoneyVariableMandatory-Contains two sub-fields:
  1. Value: Transaction amount, including the cents
  2. Currency: Currency code based on ISO
5additionalInfoJSON ObjectVariableOptional-Additional information
6additionalInfo.transactionPurposeStringVariable, 64 maxOptional-Transfer method, if not send default 1 (Pemindahan Dana)

Request Sample

The following script is a request sample of this API:

POST /snap/v1.0/emoney/transfer-bank
X-TIMESTAMP: 2024-08-03T16:02:02+07:00
X-PARTNER-ID: 4abbcb6ce30229994c76169006e0dc9c
X-SIGNATURE: oIEcElFux6Vfzbj7CHLZQjmZN3G1zPyx1X66bp+TP4PyudWltv//Wt5w6W444EXkWAFBCRuyH5biQakIoeM69Q==
X-EXTERNAL-ID: 1722675729
CHANNEL-ID: 272
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJQYXlkaWEiLCJpYXQiOjE3MjI2NzM0NzksImV4cCI6MTcyMjc1OTg3OSwiZGF0YSI6eyJlbnYiOiJwcm9kdWN0aW9uIn19.S6vpO_TFlsIgbUN3H3Hq7yDjhka1g3unLnOrDbDvWF0

{
"partnerReferenceNo": "67d6fc85-9b4d-42be-85a2-b8abdca68a80",
"beneficiaryAccountNumber": "3647075923",
"beneficiaryBankCode": "014",
"amount": {
"value": "15000.00",
"currency": "IDR"
}
}

Response

The following part will be describe about parameter of response in this API:

Response Parameter

The following table is a list of response parameter in this API:

Body

The following table is a body of response parameter:

NoNameTypeLengthRequiredConditionRemarks
1responseCodeStringFixed, 7 maxMandatory-Refer to response code list
2responseMessageStringVariable, 150 maxMandatory-Refer to response code list
3referenceNoStringVariable, 64 maxMandatory-Transaction identifier on Paydia
4partnerReferenceNoStringVariable, 64 maxMandatory-Unique transaction identifier on partner system which assigned to each transaction
5transactionDateStringFixed, 25 maxMandatory-Transaction date, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
6referenceNumberStringVariable, 64 maxMandatory-Reference number
7additionalInfoJSON ObjectVariableMandatory-Additional information
8additionalInfo.transactionStatusStringFixed, 2 maxMandatory-Transaction status. Contains values:
  • 00: Success
  • 03: Pending
  • 06: Failed
9additionalInfo.transactionStatusDescStringVariable, 32 maxMandatory-Transaction status description. Contains values:
  • 00: Success
  • 03: Pending
  • 06: Failed
10additionalInfo.balanceMoneyVariableMandatory-Additional information of merchant's balance. Contains two sub-fields:
  1. Value: Transaction amount, including the cents
  2. Currency: Currency code based on ISO

Response Sample

The following script is a response sample of this API:

{
"responseCode": "2004300",
"responseMessage": "Successful",
"referenceNo": "a63807c0-583d-4750-8528-7b8c9d930220",
"partnerReferenceNo": "67d6fc85-9b4d-42be-85a2-b8abdca68a80",
"transactionDate": "2024-08-03T16:02:06+07:00",
"referenceNumber": "a63807c0-583d-4750-8528-7b8c9d930220",
"additionalInfo": {
"transactionStatus": "Pending",
"transactionStatusDesc": "03",
"balance": {
"value": "19712531.00",
"currency": "IDR"
}
}
}

Response Code and Message

The following table is the list response code and message of Transfer to Bank API:

NoResponse CodeResponse MessageRemarks
12004300SuccessfulSuccess to be processed
24004301Invalid Field FormatInvalid format for certain field
34004302Invalid Mandatory FieldMissing or invalid format on mandatory field
44014300Unauthorized. [reason]General unauthorized error
54014301Invalid Token (B2B)Invalid or Expired Access Token
64034301Feature Not AllowedFeature Not Allowed
74034302Exceeds Transaction Amount LimitMinimum or maximum amount limit
84034314Insufficient fundsNot enough balance merchant
94044303Bank Not Supported By SwitchBank not supported by switch
104044311Invalid AccountDestination account invalid
114094300ConflictCannot use same X-EXTERNAL-ID in same day
124094301Duplicate partnerReferenceNoDuplicate partnerReferenceNo
135004302Backend system failure500 internal server error