Business Registration API

Used for registering a business outside of the DOKU Dashboard. Partners can use this API to create an account and provide their business information, including legal name, address, and contact information. After uploading the necessary documents using the API Upload Document, partners can input their business information in this component.

Endpoint

Request Header

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

Request Parameters

{
   "business": {
       "type": "PERSONAL",
       "callback_url": "https://webhook.site/example-url",
       "legal_entity": "PERSEORANGAN",
       "name": "Merchant 26 May",
       "description": "Merchant Description",
       "email": "merchant26maydemo@example.com",
       "phone_calling_code": "62",
       "phone_number": "81234567890",
       "website_readiness": "DONT_HAVE",
       "mobile_app_readiness": "DONT_HAVE",
       "brands": [
           {
               "name": "Brand Merchant 26 May",
               "description": "Merchant 26 May Brand Description",
               "category": "NON_RETAIL",
               "transaction_frequency": "UMI",
               "transaction_quantity": "UP_TO_100",
               "social_media": [
                   {
                       "accounts": [
                           "https://www.instagram.com/merchant"
                       ],
                       "code": "INSTAGRAM"
                   },
                   {
                       "accounts": [
                           "https://www.facebook.com/merchant"
                       ],
                       "code": "FACEBOOK"
                   }
               ],
               "photo_proofs": [
                   {
                       "id": "DCM-0131-1234567890123"
                   }
               ]
           }
       ],
       "addresses": [
           {
               "area": "17133 - Kali Baru - Medan Satria - Bekasi - Jawa Barat",
               "country": "ID",
               "name": "Jalan Selatan Barat no 123, Bekasi Utara",
               "primary": true
           }
       ],
       "banks": [
           {
               "account_name": "John Doe",
               "account_number": "98765432",
               "bank_id": "4",
               "bank_name": "BANK BCA",
               "country": "ID",
               "currency": "IDR",
               "swift_code": "014"
           }
       ],
       "contacts": [
           {
               "documents": [
                   {
                       "code": "KTP",
                       "category": "DOCUMENT",
                       "id": "DCM-0132-1234567890123",
                       "forms": [
                           {
                               "code": "NO_KTP",
                               "value": "1234567890123456"
                           }
                       ]
                   }
               ],
               "email": "john.doe@example.com",
               "name": "John Doe",
               "nationality": "ID",
               "phone_calling_code": "62",
               "phone_number": "81987654321",
               "position": "OWNER",
               "primary": true,
               "owner_liveness": {
                   "id": "CNT-0114-1234567890123"
               }
           }
       ]
   },
    "partner": {
       "invited_user": [
           "partner@example.com"
       ]
   }
}

Possible Values

business.brands.category

business.brands.transaction_frequency

business.brands.transaction_quantity

Response

{
   "business": {
       "type": "PERSONAL",
       "name": "Business Partner CRM Check",
       "description": "Description for personal partner CRM DOKU",
       "email": "example_partnernew@doku.com",
       "phone_calling_code": "62",
       "phone_number": "81234567890",
       "id": "BSN-0105-1234567890123",
       "status": "UPDATING",
       "utm_source": "example_source",
       "utm_medium": "example_medium",
       "utm_campaign": "example_campaign",
       "partner": "BRN-0201-1234567890123",
       "website_readiness": "HAVE",
       "mobile_app_readiness": "UNDER_DEVELOPMENT",
       "legal_entity": "PERSEORANGAN",
       "created_by": "BRN-0201-1234567890123",
       "is_partner": true,
       "brands": [
           {
               "id": "BRN-0110-1234567890123",
               "name": "Brand Personal Partner Test",
               "status": "UPDATING",
               "category": "NON_RETAIL",
               "shared_key": "SK-ExampleSharedKey",
               "minimum_transaction": 0,
               "maximum_transaction": 100,
               "transaction_frequency": "UMI",
               "transaction_quantity": "UP_TO_100",
               "ticket_size": "UP_TO_50K",
               "social_media": [
                   {
                       "id": "SCM-0109-1234567890123",
                       "account": "https://www.instagram.com/exampleid",
                       "status": "UPDATING",
                       "name": "INSTAGRAM"
                   },
                   {
                       "id": "SCM-0110-1234567890123",
                       "account": "https://www.facebook.com/exampleid",
                       "status": "UPDATING",
                       "name": "FACEBOOK"
                   }
               ],
               "photo_proofs": [
                   {
                       "id": "PHP-0128-1234567890123",
                       "category": "PHOTO_PROOF",
                       "link": "https://example.com/photo_proof.jpg",
                       "status": "UPDATING"
                   }
               ],
               "services": [
                   {
                       "id": "PRD-0168-1234567890123",
                       "code": "ONLINE_TO_OFFLINE_ALFA_AGGREGATOR",
                       "name": "Alfa Group (Aggregator)",
                       "status": "ACTIVE"
                   },
                   {
                       "id": "PRD-0169-1234567890123",
                       "code": "DOKU_WALLET",
                       "name": "DOKU Wallet",
                       "status": "ACTIVE"
                   },
                   {
                       "id": "PRD-0170-1234567890123",
                       "code": "PEER_TO_PEER_AKULAKU",
                       "name": "Akulaku",
                       "status": "ACTIVE"
                   },
                   {
                       "id": "PRD-0171-1234567890123",
                       "code": "VIRTUAL_ACCOUNT",
                       "name": "Virtual Account (Multiple Banks)",
                       "status": "ACTIVE"
                   },
                   {
                       "id": "PRD-0172-1234567890123",
                       "code": "VIRTUAL_ACCOUNT_PARTNER_AGGREGATOR",
                       "name": "VA Aggregator (Multiple Banks)",
                       "status": "ACTIVE"
                   },
                   {
                       "id": "PRD-0173-1234567890123",
                       "code": "CREDIT_CARD_AGGREGATOR",
                       "name": "Credit Card (Partner Aggregator)",
                       "status": "ACTIVE"
                   }
               ]
           }
       ],
       "contacts": [
           {
               "id": "CNT-0125-1234567890123",
               "name": "Contact Example Partner",
               "email": "business_contact+example@doku.com",
               "phone_calling_code": "62",
               "phone_number": "81987654321",
               "position": "OWNER",
               "nationality": "Indonesia",
               "primary": true,
               "documents": [
                   {
                       "id": "DCM-0140-1234567890123",
                       "category": "DOCUMENT",
                       "code": "KTP",
                       "forms": [
                           {
                               "code": "NO_KTP",
                               "value": "1234567890123456"
                           }
                       ],
                       "link": "https://example.com/ktp_document.jpg"
                   },
                   {
                       "id": "CNT-0125-1234567890123",
                       "category": "OWNER_LIVENESS",
                       "link": "https://example.com/owner_liveness.jpg"
                   }
               ]
           }
       ],
       "addresses": [
           {
               "name": "Jalan Example no 78, Bekasi Utara",
               "area": "17133 - Example Area - Example City - Jawa Barat",
               "country": "Indonesia",
               "primary": true
           }
       ],
       "banks": [
           {
               "account_name": "Example Test QA",
               "account_number": "98765432",
               "currency": "Indonesian Rupiah",
               "bank_name": "BANK BCA",
               "overseas": false,
               "swift_code": "014",
               "country": "Indonesia"
           }
       ]
   }
}

Last updated