API Reference
DOKU DocsChangelogDOKU Github
  • Getting Started with DOKU API
    • User Registration
    • Idempotency Request
    • Notification
      • Setup Notification URL
      • HTTP Notification Sample for SNAP
      • HTTP Notification Sample - Non SNAP
      • Best Practice
      • Retry Notification
      • Override Notification URL
    • Signature Component
      • Non-SNAP
        • Signature Component from Request Header
        • Signature Componen from Response Header
        • Signature from API Get Method
        • Sample Code
      • SNAP
        • Symmetric Signature
        • Asymmetric Signature
    • Response Code
      • HTTP Status and Case Code
    • Check Status API
      • Non-SNAP
      • SNAP
    • Retrieve Payment Credential
  • Accept Payment
    • DOKU Checkout
      • Integration Guide
        • Backend Integration
        • Frontend Integration
        • Simulate payment and Notification
      • Supported Payment Methods
      • Status Order
      • Additional Feature
        • Tokenization
        • Promo on DOKU Checkout Page
        • Track Campaign Source on Google Analytics
      • Checkout Settings
    • Direct API
      • Non-SNAP
        • Cards
          • Payment Page Integration Guide
          • Host-To-Host Integration Guide
          • Mastercard Automatic Billing Updater (ABU) Integration Guide
            • Backend Integration
        • e-Wallet
          • Overview
          • DOKU e-Wallet
          • OVO Push Payment
          • ShopeePay
          • LinkAja
        • Paylater
          • Akulaku
          • Kredivo
          • Indodana
        • Digital Banking
          • Jenius Pay
        • Convenience Store
          • Alfa Group
          • Indomaret
      • SNAP
        • Integration Guide
          • Get Token API
            • B2B
            • B2B2C
          • Virtual Account
            • CIMB Virtual Account
            • BSI Virtual Account
            • BCA Virtual Account
            • BNC Virtual Account
            • BNI Virtual Account
            • Mandiri Virtual Account
            • BRI Virtual Account
            • BTN Virtual Account
            • Permata Virtual Account
            • Danamon Virtual Account
            • BSS Virtual Account
          • E-Wallet
            • DOKU Wallet
            • DANA
            • OVO
            • ShopeePay
          • Direct Debit
            • Allo Bank Direct Debit
            • BRI Direct Debit
            • CIMB Direct Debit
            • Mandiri Direct Debit
          • Kartu Kredit Indonesia Cepat Secure(KKI CPTS)
            • Host to Host Integration
          • QRIS
    • Finance and Settlement
      • Split Settlement
      • Custom Settlement Report
      • Hold and Release Settlement
      • Bulk Registration Bank
    • Test on DOKU Demo Site
    • DOKU Payment Simulator
  • Developer Kit
    • Postman Collection
    • Libraries and SDK
  • Wallet As A Service
    • Sub Account
  • Partnership
    • Partner API
      • Check Requirements API
      • Generate Token API
      • Upload File API
      • Business Registration API
      • Create Business Lite API
      • Get Business Data API
  • Payout
    • Kirim DOKU
  • FLEXIBILL
    • Account Billing
      • Batch Upload
    • DOKU Biller
      • Response Code
      • Samples
  • PAYCHAT API
    • Send WhatsApp Message
  • Archive
    • Non-SNAP
      • Tokenization V1
      • e-Wallet
        • OVO Recurring
        • OVO Open API
    • SNAP
      • Virtual Account
        • BCA v1.0
        • BRI v1.0
        • BNI v1.0
        • BNC v1.0
        • Mandiri v1.0
        • BTN v1.0
        • Permata v1.0
        • Danamon Virtual Account
      • e-Wallet
        • OVO Open API
        • DANA
        • ShopeePay
      • Direct Debit
        • CIMB Direct Debit
        • BRI Direct Debit
        • Allobank
Powered by GitBook

DOKU API

  • Legacy Documentation
On this page

Was this helpful?

  1. Accept Payment
  2. Finance and Settlement

Bulk Registration Bank

This feature will enable merchant to manage settlement bank account via host to host protocol

PreviousHold and Release SettlementNextPostman Collection

Last updated 10 months ago

Was this helpful?

The feature needs to be activated before merchants can start to use the feature. Please see steps listed below :

Activate Bulk Registration Bank Features

This feature will enable merchant to create, edit, and get settlement bank account in bulk via H2H API. Due to safety consideration, merchant have to enabling manually after finished onboarding.

Steps to enable the feature as follows :

  1. Login to DOKU dashboard

  2. Go to menu Setting > Service

  1. Click "Add Service" button

  2. Under menu of "Financial Service", choose Others

  3. Check "Bulk Registration Bank" option

  4. Saved by click button Activate

  5. Click document icon to download "Surat Instruksi Pelimpahan Dana" template document to be filled in

  6. Upload "Surat Instruksi Pelimpahan Dana" in PDF format

  7. After document successfully uploaded, click "Activate" button.

  8. The service will be successfully send. You can click "OK" button

API for Settlement Bank Account

This is a documentation for host-to-host API Bank Account.

1. Create Settlement Bank Account

To create settlement bank account, you will need to hit this API through your Backend :

2. Update Settlement Bank Account

Update settlement bank account only able for data in “verified” state. To update settlement bank account, you will need to hit this API through your Backend:

3. Get Settlement Bank Account

To get settlement bank account, you will need to hit this API through your Backend :

Activate Bulk Registration Bank Features
API for Settlement Bank Account
Create Settlement Bank Account
Update Settlement Bank Account
Get Settlement Bank Account

check status settlement bank account

get

check status settlement bank account

Path parameters
bank_account_settlement_idstringRequired

Bank code generated by DOKU. The code will be reference when merchant want to do split settlement

Example: SBS-4325345345-4353463456
Header parameters
Client-IdstringRequired

Client ID retrieved from DOKU Back Office

Example: MCH-0001-10791114622547
Request-IdstringRequired

Unique random string (max 128 characters) generated from merchant side to protect duplicate request

Example: b6a465ea-bb65-48b2-a22b-3e8fb51cf22e
Request-TimestampstringRequired

Timestamp request on UTC time in ISO8601 UTC+0 format. It means to proceed transaction on UTC+7 (WIB), merchant need to subtract time with 7. Ex: to proceed transaction on September 22th 2020 at 08:51:00 WIB, the timestamp should be 2020-09-22T01:51:00Z

Example: 2020-08-11T08:45:42Z
SignaturestringRequired

Security parameter that needs to be generated on merchant Backend and placed to the header request to ensure that the request is coming from valid merchant. Please refer to this section to generate the signature

Example: HMACSHA256=vl9DBTX5KhEiXmnpOD0TSm8PYQknuHPdyHSTSc3W6Ps=
Responses
200
check status settlement bank account
application/json
400
invalid input, object invalid
404
settlement bank account created
application/json
409
an existing item already exists
get
GET /production.doku.com}.com/fc-h2h-api/v2/settlement-bank-account/{bank_account_settlement_id} HTTP/1.1
Host: {sandbox
Client-Id: text
Request-Id: text
Request-Timestamp: text
Signature: text
Accept: */*
{
  "bank_account": {
    "code": "008",
    "number": 1081214141456,
    "name": "edwin",
    "currency": "IDR",
    "country": "ID",
    "status": "VERIFIED",
    "bank_account_settlement_id": "SBA-0101023-11"
  }
}
  • Activate Bulk Registration Bank Features
  • API for Settlement Bank Account
  • POSTcreate settlement bank account
  • PUTupdate settlement bank account
  • GETcheck status settlement bank account

create settlement bank account

post

create settlement bank account

Header parameters
Client-IdstringRequired

Client ID retrieved from DOKU Back Office

Example: MCH-0001-10791114622547
Request-IdstringRequired

Unique random string (max 128 characters) generated from merchant side to protect duplicate request

Example: b6a465ea-bb65-48b2-a22b-3e8fb51cf22e
Request-TimestampstringRequired

Timestamp request on UTC time in ISO8601 UTC+0 format. It means to proceed transaction on UTC+7 (WIB), merchant need to subtract time with 7. Ex: to proceed transaction on September 22th 2020 at 08:51:00 WIB, the timestamp should be 2020-09-22T01:51:00Z

Example: 2020-08-11T08:45:42Z
SignaturestringRequired

Security parameter that needs to be generated on merchant Backend and placed to the header request to ensure that the request is coming from valid merchant. Please refer to this section to generate the signature

Example: HMACSHA256=vl9DBTX5KhEiXmnpOD0TSm8PYQknuHPdyHSTSc3W6Ps=
Body
Responses
200
settlement bank account created
application/json
401
Unauthorized Access
application/json
404
swift code not found
application/json
post
POST /production.doku.com}.com/fc-h2h-api/v2/settlement-bank-account HTTP/1.1
Host: {sandbox
Client-Id: text
Request-Id: text
Request-Timestamp: text
Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 113

{
  "bank_account": {
    "code": "008",
    "number": 1081214141456,
    "name": "Test edwin",
    "currency": "IDR",
    "country": "Indonesia"
  }
}
{
  "bank_account": {
    "code": "008",
    "number": 1081214141456,
    "name": "edwin",
    "currency": "IDR",
    "country": "ID",
    "status": "VERIFIED",
    "bank_account_settlement_id": "SBA-0101023-11"
  }
}

update settlement bank account

put

update settlement bank account

Header parameters
Client-IdstringRequired

Client ID retrieved from DOKU Back Office

Example: MCH-0001-10791114622547
Request-IdstringRequired

Unique random string (max 128 characters) generated from merchant side to protect duplicate request

Example: b6a465ea-bb65-48b2-a22b-3e8fb51cf22e
Request-TimestampstringRequired

Timestamp request on UTC time in ISO8601 UTC+0 format. It means to proceed transaction on UTC+7 (WIB), merchant need to subtract time with 7. Ex: to proceed transaction on September 22th 2020 at 08:51:00 WIB, the timestamp should be 2020-09-22T01:51:00Z

Example: 2020-08-11T08:45:42Z
SignaturestringRequired

Security parameter that needs to be generated on merchant Backend and placed to the header request to ensure that the request is coming from valid merchant. Please refer to this section to generate the signature

Example: HMACSHA256=vl9DBTX5KhEiXmnpOD0TSm8PYQknuHPdyHSTSc3W6Ps=
Body
Responses
200
settlement bank account update
application/json
400
invalid input, object invalid
404
settlement bank account created
application/json
409
an existing item already exists
put
PUT /production.doku.com}.com/fc-h2h-api/v2/settlement-bank-account HTTP/1.1
Host: {sandbox
Client-Id: text
Request-Id: text
Request-Timestamp: text
Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 113

{
  "bank_account": {
    "code": "008",
    "number": 1081214141456,
    "name": "Test edwin",
    "currency": "IDR",
    "country": "Indonesia"
  }
}
{
  "bank_account": {
    "code": "008",
    "number": 1081214141456,
    "name": "edwin",
    "currency": "IDR",
    "country": "ID",
    "status": "VERIFIED",
    "bank_account_settlement_id": "SBA-0101023-11"
  }
}