Bulk Registration Bank
This feature will enable merchant to manage settlement bank account via host to host protocol
Activate Bulk Registration Bank Features

API for Settlement Bank Account
1. Create Settlement Bank Account
Client ID retrieved from DOKU Dashboard.
MCH-0001-10791114622547Unique random string. max 128 characters.
b6a465ea-bb65-48b2-a22b-3e8fb51cf22eTimestamp request UTC ISO8601
2020-08-11T08:45:42ZHMAC signature.
HMACSHA256=vl9DBTX5KhEiXmnpOD0TSm8PYQknuHPdyHSTSc3W6Ps=settlement bank account created
The bank code is used to automatically find the bank name and make sure the account number has the correct number of digits.
008Settlement Bank Account number. Numbers only, no letters or special characters.
1081214141456Pattern: ^[0-9]*$Account Holder Name
Test edwinCurrency code in ISO 4217 standards
IDRCountry Code in ISO 3166-1 alpha-2 standards
IDSBA-0101023-11Header/signature or bank account number characters invalid.
Unauthorized. The Bulk Bank Registration feature status is inactive.
Account or swift code is not found
A settlement bank account using this exact bank details (SWIFT code and account number) is already registered in the system.
Internal service error (unhandled exception)
POST /production.doku.com}.com/fc-h2h-api/v2/settlement-bank-account HTTP/1.1
Host: {sandbox/production.doku.com}.com/fc-h2h-api
Client-Id: text
Request-Id: text
Request-Timestamp: text
Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"bank_account": {
"code": "008",
"number": "1081214141456",
"name": "Test edwin",
"currency": "IDR",
"country": "ID"
}
}{
"code": "008",
"number": "1081214141456",
"name": "Test edwin",
"currency": "IDR",
"country": "ID",
"status": "VERIFIED",
"bank_account_settlement_id": "SBA-0101023-11"
}2. Update Settlement Bank Account
Client ID retrieved from DOKU Dashboard.
MCH-0001-10791114622547Unique random string. max 128 characters.
b6a465ea-bb65-48b2-a22b-3e8fb51cf22eTimestamp request UTC ISO8601
2020-08-11T08:45:42ZHMAC signature.
HMACSHA256=vl9DBTX5KhEiXmnpOD0TSm8PYQknuHPdyHSTSc3W6Ps=settlement bank account updated
The bank code is used to automatically find the bank name and make sure the account number has the correct number of digits.
008Settlement Bank Account number. Numbers only, no letters or special characters.
1081214141456Pattern: ^[0-9]*$Account Holder Name
Test edwinCurrency code in ISO 4217 standards
IDRCountry Code in ISO 3166-1 alpha-2 standards
IDSBA-0101023-11Header/signature or bank account number characters invalid.
Unauthorized. The Bulk Bank Registration feature status is inactive.
Account, bank transfer code, or settlement bank account data is not found
Internal service error (unhandled exception)
PUT /production.doku.com}.com/fc-h2h-api/v2/settlement-bank-account HTTP/1.1
Host: {sandbox/production.doku.com}.com/fc-h2h-api
Client-Id: text
Request-Id: text
Request-Timestamp: text
Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 154
{
"bank_account": {
"code": "008",
"number": "1081214141456",
"name": "Test edwin",
"currency": "IDR",
"country": "ID",
"bank_account_settlement_id": "SBA-0101023-11"
}
}{
"code": "008",
"number": "1081214141456",
"name": "Test edwin",
"currency": "IDR",
"country": "ID",
"status": "VERIFIED",
"bank_account_settlement_id": "SBA-0101023-11"
}3. Get Settlement Bank Account
Bank Transfer Code or Swift Code
008Settlement Bank Account Number
1081214141456Client ID retrieved from DOKU Dashboard.
MCH-0001-10791114622547Unique random string. max 128 characters.
b6a465ea-bb65-48b2-a22b-3e8fb51cf22eTimestamp request UTC ISO8601
2020-08-11T08:45:42ZHMAC signature.
HMACSHA256=vl9DBTX5KhEiXmnpOD0TSm8PYQknuHPdyHSTSc3W6Ps=check status settlement bank account
Unauthorized. The Bulk Bank Registration feature status is inactive
Account, bank transfer code, or settlement bank account data is not found
Internal service error (unhandled exception)
GET /production.doku.com}.com/fc-h2h-api/v2/settlement-bank-account/{bankCode}/{accountNumber} HTTP/1.1
Host: {sandbox/production.doku.com}.com/fc-h2h-api
Client-Id: text
Request-Id: text
Request-Timestamp: text
Signature: text
Accept: */*
{
"bank_account": {
"code": "008",
"number": "1081214141456",
"name": "Test edwin",
"currency": "IDR",
"country": "ID",
"status": "VERIFIED",
"bank_account_settlement_id": "SBA-0101023-11"
}
}Last updated