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
Type | Value |
---|---|
HTTP Method | POST |
API endpoint (Test Mode) |
|
API endpoint (Production) |
|
Request Header
Parameter | Description |
---|---|
| Use Brand ID for Partner |
| Unique random string (max 128 characters) generated from merchant side to protect duplicate request |
| 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 |
| 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 |
Request Parameters
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | Possible Value : PERSONAL |
|
| Mandatory | PERSEORANGAN |
|
| Mandatory | For PERSONAL, business.name same as |
|
| Mandatory | Business Email |
|
| Optional | For PERSONAL, |
|
| Mandatory | Business calling code .e.g |
|
| Mandatory | Business phone number |
| s | Mandatory | For |
|
| Mandatory | |
|
| Mandatory | For PERSONAL, business.brands.description same as business.description |
|
| Optional | |
|
| Optional | |
|
| Mandatory | Business address area, e.g 17133 - Kali Baru - Medan Satria - Bekasi - Jawa Barat |
| String(2) | Mandatory | ID |
| String(255) | Mandatory | Business addresses name, e.g Jalan Gatot Subroto No 20 |
| boolean | Mandatory | Is the business address as primary ? Value : |
| String(255) | Mandatory | Business contacts name |
| String(320) | Mandatory | Business contacts email |
| String(2) | Mandatory | Business contacts nationality, e.g ID |
| Integer(2) | Mandatory | 62 |
| Integer(14) | Mandatory | Business phone number |
| String(255) | Mandatory | Default: OWNER |
| boolean | Mandatory | Is the business contacts is primary contact ? Value : |
| String(255) | Mandatory | Filled with |
business.contacts.documents.code | String(255) | Mandatory | KTP |
business.contacts.documents.category | String(255) | Mandatory | DOCUMENT |
business.contacts.documents.id | String(22) | Mandatory | Generated from |
business.contacts.documents.forms.code | String(255) | Mandatory | NO_KTP |
business.contacts.documents.forms.value | String(255) | Mandatory | Generated from |
business.banks.account_name | String(255) | Mandatory | The account name |
business.banks.account_number | Integer(255) | Mandatory | The bank account number |
business.banks.bank_id | String(3) | Mandatory | 4 [Bank ID] |
business.banks.bank_name | String(255) | Mandatory | BANK BCA [Bank Name] |
business.banks.country | String(2) | Mandatory | ID |
business.banks.currency | String(3) | Mandatory | Only IDR |
business.banks.swift_code | String(11) | Mandatory | 014 [Swift Code Bank] |
business.bank_account | String(255) | Mandatory | Generated from |
Possible Values
business.brands.category
business.brands.category
Value | Description |
---|---|
| Selling physical product |
| Selling digital product or services |
Parameter | Possible Values |
---|---|
| PERSONAL |
| PERSEORANGAN |
| ID |
business.brands.transaction_frequency
Transaction Frequency | Total Amount of Monthly Transaction (Rupiah) |
---|---|
UKE | <200 Mio |
UME | 200 Mio - 4 Bio |
UBE | 4 Bio |
business.brands.transaction_quantity
Transaction Quantity | Total Number of Monthly Transaction |
---|---|
UP_TO_100 | <100 |
100_10K | 100 - 10.000 |
MORE_THAN_10K | >10.000 |
Response
Parameter | Data Type | Possible Value | Description |
---|---|---|---|
business.id | String(22) | BSN-0102-1676676916608 | Business ID Merchant |
business.status | String(10) | UPDATING | Business Status description: UPDATING: On Review ACTIVE: Business Approved |
business.partner | String(320) | BRN-0231-1675929715659 | Your Partner ID |
business.created_by | String(320) | BRN-0231-1675929715659 | Your Partner ID |
business.brands.id | String(22) | BRN-0102-1676676916608 | Generate Brand ID for your merchant |
business.brands.shared_key | String(255) | SK-mNWhry06VRwzIHnxKnQ9 | Shared Key to generate signature on bhelaf of merchant |
business.brands.social_media.id | String(22) | SCM-0103-1676676916616 | Social Media Entity Id |
business.brands.social_media.status | String(22) | UPDATING,REJECTED,ACTIVE | Social Media Status: UPDATING: On Review ACTIVE: Social Media Approved REJECTED: Social media Rejected |
business.brands.photo_proofs | String(22) | PHP-0102-1676676916620 |
|
business.brands.photo_proofs.status | String(22) |
|
|
business.brands.services.id | String(22) |
|
|
business.brands.services.code | String(255) |
|
|
business.brands.services.name | String(255) |
|
|
business.brands.services.status | String(10) |
|
|
business.brands.contacts.id | String(255) |
|
|
business.brands.contacts.document | String(255) |
|
|
Last updated