Create Business Lite API
Unlike the Business Registration API where Partners can create a full business, this Create Business Lite API allows Partners to create a business by inviting users to complete their business data in DOKU Dashboard.
Endpoint
Type | Value |
---|---|
HTTP Method | POST |
API endpoint (Test Mode) | https://api-uat.doku.com/adv-core-api/partner/v1.0/business/lite/registration |
API endpoint (Production) | https://api.doku.com/adv-core-api/partner/v1.0/business/lite/registration |
Request Header
Parameter | Description |
---|---|
| Client ID (Brand ID) will be shared by DOKU Account Manager |
| 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
Query Params | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | Partner Reference ID |
|
| Mandatory | Business Name |
|
| Mandatory | Business Representative Name |
|
| Mandatory | Business Representative Email |
|
| Mandatory | Business Representative Phone Number Calling Code (ITU-T E.164) |
|
| Mandatory | Business Representative Phone Number |
| string(6) | Optional | Referral Code is generated by DOKU |
| string | Mandatory | Emails that will be invited to complete the business onboarding |
Response
Parameter | Type | Description |
---|---|---|
business.id | string | Business ID (generated by DOKU) |
business.partner_ref_id | string | |
brands.id | string | Brand ID (generated by DOKU) that will use for Direct API |
Last updated