Fund Transfer External
This API allows you to transfer funds from a BRI account to another bank account. The source account must be your corporate account account.
Account Validation
This endpoint is used to validate the account of the destination account to be transferred.
curl -X GET 'https://partner.api.bri.co.id/sandbox/v2/transfer/external/accounts?bankcode=014&beneficiaryaccount=12345678'\ -H 'Authorization: Bearer {{TOKEN}}' \ -H 'BRI-Signature: {{SIGNATURE}}' \ -H 'BRI-Timestamp: {{TIMESTAMP}}'
Sample Response
{
"responseCode": "0600",
"responseDescription": "Transaksi Anda Sukses",
"Name": "DUMMY ACCOUNT"
}
HTTP Request
GET https://partner.api.bri.co.id/sandbox/v2/transfer/external/accounts?
bankcode={{BANK_CODE}}&beneficiaryaccount={{BENEFICIARY_ACCOUNT}}
Query Parameters
Parameter | Type | Max Char | Mandatory | Description |
---|---|---|---|---|
bankcode | Numeric | 3 | Yes | Destination bank code |
beneficiaryaccount | Numeric | 15 | Yes | Destination bank account number |
Transfer
This endpoint is used to transfer funds from a BRI account to another bank account. The maximum number of total transaction limits and daily limits will be determined by BRI. The source account cannot use a virtual account.
curl -X POST 'https://partner.api.bri.co.id/sandbox/v2/transfer/external' \ -H 'Authorization: Bearer {{TOKEN}}' \ -H 'BRI-Signature: {{SIGNATURE}}' \ -H 'BRI-Timestamp: {{TIMESTAMP}}' \ -H 'Content-Type: application/json' \ -d '{ "noReferral":"20180212006", "bankCode":"014", "sourceAccount":"888801000003301", "beneficiaryAccount":"12345678", "beneficiaryAccountName":"DUMMY ACCOUNT", "Amount":"10002.00" }'
Sample Response
{
"responseCode": "0700",
"responseDescription": "Transaksi Anda Sukses",
"errorDescription": "",
"JurnalSeq": "0024473"
}
HTTP Request
POST https://partner.api.bri.co.id/sandbox/v2/transfer/external
Request Header
Key | Value | Mandatory |
---|---|---|
Content-Type | application/json | Yes |
Request Body
Field | Data Type | Max Char | Mandatory | Description |
---|---|---|---|---|
NoReferral | String | 20 | Yes | Unique reference number from sender |
bankCode | Numeric | 3 | Yes | Destination bank code |
sourceAccount | String | 15 | Yes | Source account |
beneficiaryAccount | String | 15 | Yes | Destination account |
beneficiaryAccountName | String | 40 | Yes | Destination account name |
Amount | String | 20 | Yes | Fund transfer amount, format must be #.## , example 10000.00 for ten thousands |
The value in beneficiaryAccountName
must exactly match the beneficiaryAccountName
value of the responseAccount Validation.
List Bank Code
This endpoint is used to display a list of other bank codes that you can make the transfer destination account for
curl -X GET 'https://partner.api.bri.co.id/sandbox/v2/transfer/external/accounts' \ -H 'Authorization: Bearer {{TOKEN}}' \ -H 'BRI-Signature: {{SIGNATURE}}' \ -H 'BRI-Timestamp: {{TIMESTAMP}}'
Sample Response
{
"responseCode": "00",
"responseDescription": "SUCCESS",
"errorDescription": "",
"Data": [
{
"BankCode": "008",
"Bankname": "BANK MANDIRI"
}, {
"BankCode": "009",
"Bankname": "BANK BNI"
}
]
}
HTTP Request
GET https://partner.api.bri.co.id/sandbox/v2/transfer/external/accounts
Response Codes
BRI uses a conventional HTTP response code to indicate whether the API request made was successful or failed. In general terms: Code with the prefix 2xx
indicates a successful request. A code with the prefix 4xx
indicates an error in the data provided (for example, required parameters are incomplete, charging failed, etc.). Codes in the 5xx
range indicate an error on the BRI server (this is rare).
Inquiry
Code | Code Description |
---|---|
0601 | Beneficiary account must be a number |
0602 | Bank code/beneficiary account must not be empty |
0603 | Bank code must be a number |
0604 | Your IP & key has not been registered |
0605 | This feature cannot be used |
0606 | Transaction failed during standing mode |
0607 | Connection lost |
0608 | Transaction timeout |
0609 | Beneficiary account not found |
0610 | Transaction timeout |
0611 | Duplicate sequence transaction |
0612 | Debit account number not found |
0613 | Connection lost |
0614 | Insufficient balance |
0615 | Duplicate sequence transaction |
0616 | Transaction exceeds the limit |
0617 | Brinets connection is lost |
0618 | Close account number |
0619 | Passive account number |
0620 | Transaction is being processed |
Transfer
Code | Code Description | Transaction Status |
---|---|---|
0701 | Source account/beneficiary account must be a number | Failed |
0702 | Payment data must not be empty | Failed |
0703 | Amount must be a number | Failed |
0704 | Amount must be more than 0 | Failed |
0705 | Reference number is already used | Failed |
0706 | Bank code must be a number | Failed |
0707 | Connection lost, didn't get any response. Please try again | Need To Check |
0708 | Incorrect beneficiary account name | Failed |