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
  • Endpoint
  • Request Header
  • Request Parameters
  • Possible Values
  • Response

Was this helpful?

  1. Partnership
  2. Partner API

Check Requirements API

Used to check the required documents for API Business Registration. Partners can use this component to ensure they have all the necessary documentation before registering their business. Once the mandatory files are identified, the partner can upload the files using the API Upload File component.

Endpoint

Type
Value

HTTP Method

GET

API endpoint (Test Mode)

https://api-uat.doku.com/adv-core-api/partner/v1.0/file

API endpoint (Production)

https://api.doku.com/adv-core-api/partner/v1.0/file

Request Header

Client-Id: BRN-0001-10791114622547
Request-Id: fdb69f47-96da-499d-acec-7cdc318ab2fe
Request-Timestamp: 2020-08-11T08:45:42Z
Signature: HMACSHA256=1jap2tpgvWt83tG4J7IhEwUrwmMt71OaIk0oL0e6sPM=
Parameter
Description

client-id

Client ID (Brand ID) will be shared by DOKU Account Manager

request-id

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

request-timestamp

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

signature

Request Parameters

Parameter
Type
Mandatory
Description

businessType

string

Mandatory

e.g. PERSONAL, CORPORATE

businessLegalEntity

string

Mandatory

brandBusinessLine

string

Mandatory

businessContactNationality

string

Mandatory

e.g. ID (ISO2 CODE)

Possible Values

Parameter
Possible Values

businessType

PERSONAL

businessLegalEntity

PERSEORANGAN

brandBusinessLine

  • RETAIL

businessContactNationality

ID

Parameter
Possible Values

businessType

CORPORATE

businessLegalEntity

  • PT

  • CV

  • UD

  • KOPERASI

  • FIRMA

  • PP

  • BUMN

  • PTN_BH

  • YAYASAN

  • PERKUMPULAN_BERBADAN_HUKUM

  • BLU

brandBusinessLine

  • AGRICULTURE

  • CAPITAL_MARKET

  • CHARITY

  • COMMUNICATION

  • DIGITAL_AND_GAME

  • EDUCATION

  • EVENT_ORGANIZER

  • FINANCIAL_SERVICE

  • FOOD_AND_BEVERAGE

  • GAS_STATION

  • HOSPITALITY

  • INSURANCE

  • LOGISTICS

  • MANUFACTURE

  • MARKETPLACE

  • MINING

  • ONLINE_STORE

  • P2P_LENDING

  • PROPERTY

  • PUBLIC_SERVICE

  • RETAIL

  • TRANSPORTATION

  • TRAVEL_AGENT

businessContactNationality

ID

Response

{
    "business": {
        "brand": {
            "photo_proof": {
                "code": "PHOTO_PROOF",
                "name": "Brand Photo Proof",
                "extensions": [
                    "PNG",
                    "JPG",
                    "JPEG"
                ],
                "max_size": 15
            }
        },
        "contact": {
            "documents": [
                {
                    "code": "KTP",
                    "name": "Kartu Tanda Penduduk",
                    "extensions": [
                        "PDF",
                        "JPG",
                        "JPEG",
                        "PNG"
                    ],
                    "max_size": 15,
                    "form": [
                        {
                            "code": "NO_KTP",
                            "name": "No. KTP (NIK)",
                            "min_size": 16,
                            "max_size": 16,
                            "alpha": false,
                            "numeric": true,
                            "alpha_numeric": false,
                            "caption": "Masukkan 16 digit nomor KTP Anda (NIK)"
                        }
                    ]
                }
            ],
            "owner_liveness": {
                "code": "OWNER_LIVENESS",
                "name": "Owner Liveness",
                "extensions": [
                    "PNG",
                    "JPG",
                    "JPEG"
                ],
                "max_size": 15
            }
        }
    }
}
{
    "business": {
        "brand": {
            "photo_proof": {
                "code": "PHOTO_PROOF",
                "name": "Brand Photo Proof",
                "extensions": [
                    "PNG",
                    "JPG",
                    "JPEG"
                ],
                "max_size": 15
            },
            "documents": [
                {
                    "code": "LISENSI_OJK",
                    "name": "Lisensi OJK (Otoritas Jasa Keuangan)",
                    "extensions": [
                        "PDF",
                        "JPG",
                        "JPEG",
                        "PNG"
                    ],
                    "max_size": 15
                },
                {
                    "code": "TANDA_DAFTAR_PSE",
                    "name": "Tanda Daftar Penyelenggara Sistem Elektronik dari Kementerian Komunikasi dan Informatika",
                    "extensions": [
                        "PDF",
                        "JPG",
                        "JPEG",
                        "PNG"
                    ],
                    "max_size": 15
                }
            ]
        },
        "contact": {
            "documents": [
                {
                    "code": "KTP",
                    "name": "Kartu Tanda Penduduk",
                    "extensions": [
                        "PDF",
                        "JPG",
                        "JPEG",
                        "PNG"
                    ],
                    "max_size": 15,
                    "form": [
                        {
                            "code": "NO_KTP",
                            "name": "No. KTP (NIK)",
                            "min_size": 16,
                            "max_size": 16,
                            "alpha": false,
                            "numeric": true,
                            "alpha_numeric": false,
                            "caption": "Masukkan 16 digit nomor KTP Anda (NIK)"
                        }
                    ]
                }
            ]
        },
        "documents": [
            {
                "code": "NPWP_BADAN",
                "name": "NPWP (Nomor Pokok Wajib Pajak) Badan",
                "extensions": [
                    "PDF",
                    "JPG",
                    "JPEG",
                    "PNG"
                ],
                "max_size": 15,
                "form": [
                    {
                        "code": "NO_NPWP",
                        "name": "No. NPWP",
                        "min_size": 15,
                        "max_size": 15,
                        "alpha": false,
                        "numeric": true,
                        "alpha_numeric": false,
                        "caption": "Masukkan 15 digit nomor NPWP Anda"
                    }
                ]
            },
            {
                "code": "SK_KEMENKUMHAM",
                "name": "Surat Keputusan Kementerian Hukum & HAM",
                "extensions": [
                    "PDF",
                    "JPG",
                    "JPEG",
                    "PNG"
                ],
                "max_size": 15
            },
            {
                "code": "NIB",
                "name": "NIB (Nomor Induk Berusaha)",
                "extensions": [
                    "PDF",
                    "JPG",
                    "JPEG",
                    "PNG"
                ],
                "max_size": 15,
                "form": [
                    {
                        "code": "NO_NIB",
                        "name": "No. NIB",
                        "min_size": 13,
                        "max_size": 13,
                        "alpha": false,
                        "numeric": true,
                        "alpha_numeric": false,
                        "caption": "Masukkan 13 digit nomor NIB Anda"
                    }
                ]
            },
            {
                "code": "IZIN_USAHA",
                "name": "Surat Izin Usaha",
                "extensions": [
                    "PDF",
                    "JPG",
                    "JPEG",
                    "PNG"
                ],
                "max_size": 15
            },
            {
                "code": "AKTA_PENDIRIAN_PERUSAHAAN",
                "name": "Akta Pendirian dan Perubahan Perusahaan",
                "extensions": [
                    "PDF",
                    "JPG",
                    "JPEG",
                    "PNG"
                ],
                "max_size": 25
            }
        ]
    }
}
PreviousPartner APINextGenerate Token API

Last updated 10 months ago

Was this helpful?

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 to generate the signature

e.g. PT, CV, etc. ()

e.g. RETAIL, DIGITAL_AND_GAME, etc. ()

this section
Possible Values
Possible Values