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"
]
}
}
{
"business": {
"type": "CORPORATE",
"callback_url": "https://webhook.site/callback-url",
"legal_entity": "PT",
"name": "Company Name",
"description": "Business Description",
"email": "email@doku.com",
"mobile_app_readiness": "UNDER_DEVELOPMENT",
"website_readiness": "HAVE",
"phone_calling_code": "62",
"phone_number": "81234567890",
"logo": {
"id": "BRN-0101-1234567890"
},
"addresses": [
{
"area": "12345 - Area - City - Province",
"country": "ID",
"name": "Address",
"primary": true
}
],
"contacts": [
{
"documents": [
{
"code": "KTP",
"category": "DOCUMENT",
"id": "DCM-0153-1234567890",
"forms": [
{
"code": "NO_KTP",
"value": "1234567890123456"
}
]
}
],
"email": "contact@doku.com",
"name": "Contact Name",
"nationality": "ID",
"phone_calling_code": "62",
"phone_number": "81234567891",
"position": "DIRECTOR",
"primary": true,
"owner_liveness": {
"id": "CNT-0137-1234567890"
}
}
],
"brands": [
{
"business_line": "CAPITAL_MARKET",
"transaction_frequency": "UMI",
"transaction_quantity": "UP_TO_100",
"name": "Brand 99",
"social_media": [
{
"accounts": [
"https://www.instagram.com/brand99"
],
"code": "INSTAGRAM"
},
{
"accounts": [
"https://www.facebook.com/brand99"
],
"code": "FACEBOOK"
}
],
"photo_proofs": [
{
"id": "BRN-0103-1234567890"
}
],
"documents": [
{
"category": "DOCUMENT",
"code": "NPWP_BADAN",
"id": "DCM-0145-1234567890",
"forms": [
{
"code": "NO_NPWP",
"value": "123456789012345"
}
]
},
{
"category": "DOCUMENT",
"code": "SK_KEMENKUMHAM",
"id": "DCM-0114-1234567890"
},
{
"category": "DOCUMENT",
"code": "IZIN_USAHA",
"id": "DCM-0107-1234567890"
},
{
"category": "DOCUMENT",
"code": "AKTA_PENDIRIAN_PERUSAHAAN",
"id": "DCM-0111-1234567890"
},
{
"category": "DOCUMENT",
"code": "NIB",
"id": "DCM-0145-1234567890",
"forms": [
{
"code": "NO_NIB",
"value": "123456"
}
]
},
{
"category": "DOCUMENT",
"code": "LISENSI_BAPPEBTI",
"id": "DCM-0117-1234567890"
}
]
}
],
"banks": [
{
"account_name": "Account Name",
"account_number": "12345678",
"bank_id": "1",
"bank_name": "Bank",
"country": "ID",
"currency": "IDR",
"swift_code": "123",
"bank_account": {
"id": "BNK-0103-1234567890"
}
}
]
}
}
Possible Values
business.brands.category
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"
}
]
}
}
{
"business": {
"type": "CORPORATE",
"name": "Business Contoh",
"description": "Description test untuk corporate under partner",
"email": "new_partner123@doku.com",
"phone_calling_code": "62",
"phone_number": "81510229216",
"id": "BSN-0106-1679387230274",
"status": "UPDATING",
"utm_source": "test_source_1",
"utm_medium": "test_medium_1",
"utm_campaign": "test_campaign_1",
"partner": "BRN-0203-1665549474673",
"website_readiness": "HAVE",
"mobile_app_readiness": "UNDER_DEVELOPMENT",
"legal_entity": "PT",
"created_by": "BRN-0203-1665549474673",
"is_partner": true,
"brands": [
{
"id": "BRN-0111-1679387230274",
"name": "Brand under partner corporate 7 ke 3",
"status": "UPDATING",
"business_line": "BusinessLine(super=SortPriorityEntity(super=BaseEntity(createdBy=dbadmin, createdDate=2022-01-06T08:04:47.573602Z, updatedBy=null, updatedDate=null, version=0), code=EDUCATION, priority=0, active=true), name={EN=Education, ID=Pendidikan})",
"shared_key": "SK-XBmSm57Ft2b3jNV7oE3K",
"minimum_transaction": 0,
"maximum_transaction": 100,
"transaction_frequency": "UMI",
"transaction_quantity": "UP_TO_100",
"ticket_size": "UP_TO_50K",
"social_media": [
{
"id": "SCM-0111-1679387230282",
"account": "https://www.instagram.com/exampleid",
"status": "UPDATING",
"name": "INSTAGRAM"
},
{
"id": "SCM-0112-1679387230285",
"account": "https://www.facebook.com/exampleid",
"status": "UPDATING",
"name": "FACEBOOK"
}
],
"photo_proofs": [
{
"id": "PHP-0129-1679387230285",
"category": "PHOTO_PROOF",
"link": "https://example.com/photo_proof_corporate.jpg",
"status": "UPDATING"
}
],
"services": [
{
"id": "PRD-0174-1679387230438",
"code": "ONLINE_TO_OFFLINE_ALFA_AGGREGATOR",
"name": "Alfa Group (Aggregator)",
"status": "ACTIVE"
},
{
"id": "PRD-0175-1679387230455",
"code": "DOKU_WALLET",
"name": "DOKU Wallet",
"status": "ACTIVE"
},
{
"id": "PRD-0176-1679387230461",
"code": "PEER_TO_PEER_AKULAKU",
"name": "Akulaku",
"status": "ACTIVE"
},
{
"id": "PRD-0177-1679387230467",
"code": "VIRTUAL_ACCOUNT",
"name": "Virtual Account (Multiple Banks)",
"status": "ACTIVE"
},
{
"id": "PRD-0178-1679387230473",
"code": "VIRTUAL_ACCOUNT_PARTNER_AGGREGATOR",
"name": "VA Aggregator (Multiple Banks)",
"status": "ACTIVE"
},
{
"id": "PRD-0179-1679387230479",
"code": "CREDIT_CARD_AGGREGATOR",
"name": "Credit Card (Partner Aggregator)",
"status": "ACTIVE"
}
]
}
],
"contacts": [
{
"id": "CNT-0126-1679387231479",
"name": "Contact Example Partner Corporate",
"email": "example_contact+3@gmail.com",
"phone_calling_code": "62",
"phone_number": "8120162038",
"position": "DIRECTOR",
"nationality": "Indonesia",
"primary": true,
"documents": [
{
"id": "DCM-0147-1679387231490",
"category": "DOCUMENT",
"code": "KTP",
"forms": [
{
"code": "NO_KTP",
"value": "1234567890123456"
}
],
"link": "https://example.com/ktp_document_corporate.jpg"
}
]
}
],
"addresses": [
{
"name": "Kantor Pusat 1",
"area": "12310 - Pondok Pinang - Kebayoran Lama - Jakarta Selatan - DKI Jakarta",
"country": "Indonesia",
"primary": true
}
],
"banks": [
{
"account_name": "Example Test QA",
"account_number": "12345058",
"currency": "Indonesian Rupiah",
"bank_name": "BANK BCA",
"overseas": false,
"swift_code": "014",
"country": "Indonesia",
"bank_account": {
"id": "BNK-0105-1679387231367",
"category": "BANK_ACCOUNT",
"link": "https://example.com/bank_account_corporate.jpg"
}
}
],
"documents": [
{
"id": "DCM-0142-1679387230628",
"category": "DOCUMENT",
"code": "NPWP_BADAN",
"forms": [
{
"code": "NO_NPWP",
"value": "123456789012934"
}
],
"link": "https://example.com/npwp_badan.png"
},
{
"id": "DCM-0143-1679387230716",
"category": "DOCUMENT",
"code": "SK_KEMENKUMHAM",
"link": "https://example.com/sk_kemenkumham.pdf"
},
{
"id": "DCM-0144-1679387230817",
"category": "DOCUMENT",
"code": "NIB",
"forms": [
{
"code": "NO_NIB",
"value": "8192039485920"
}
],
"link": "https://example.com/nib.png"
},
{
"id": "DCM-0145-1679387230955",
"category": "DOCUMENT",
"code": "IZIN_USAHA",
"link": "https://example.com/izin_usaha.pdf"
},
{
"id": "DCM-0146-1679387231019",
"category": "DOCUMENT",
"code": "AKTA_PENDIRIAN_PERUSAHAAN",
"link": "https://example.com/akta_pendirian_perusahaan.pdf"
}
]
}
}
Last updated