Fund Transfer External
API ini memungkinkan Anda untuk melakukan transfer dana dari rekening BRI ke rekening bank lain.
Akun sumber harus akun rekening perusahaan Anda.
Validasi Akun
Endpoint ini digunakan untuk memvalidasi akun rekening tujuan yang akan ditransfer.
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 | Deskripsi |
---|---|---|---|---|
bankcode | Numeric | 3 | Yes | Destination bank code |
beneficiaryaccount | Numeric | 15 | Yes | Destination bank account number |
Transfer
Endpoint ini digunakan untuk mentransfer dana dari rekening BRI ke rekening bank lain. Jumlah maksimum batas total transaksi dan batas harian akan ditentukan oleh BRI. Sumber rekening tidak bisa menggunakan 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 | Deskripsi |
---|---|---|---|---|
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
Endpoint ini digunakan untuk menampilkan daftar kode bank lain yang dapat Anda jadikan rekening tujuan transfer
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 |