Register Sub Account
Creates a new sub-account for each party that will receive payments on your platform.
Once created, the sub-account receives:
- A unique Profile ID
- One or more Account Numbers (IDR, Pending IDR, Points)
A webhook notification is sent to your callback URL when registration is complete (see Webhook: Register Sub Account below).
Request
- The document declares no server URL.
- Authnone declared. Required headers: X-PARTNER-ID, X-TIMESTAMP, X-SIGNATURE, X-EXTERNAL-ID
Headers
Your Partner ID (DOKU's Client ID)
Client's current local time in ISO 8601 format
Request signature generated using HMAC_SHA512(clientSecret, stringToSign). The stringToSign is constructed from request components to ensure integrity and prevent tampering.
Numeric string used as a request reference. Must be unique within the same day (resets daily). Used by DOKU to detect and reject duplicate requests.
Request body
Response
Sub-account registered successfully
Changes
No recorded changes to this operation across all 1 revision of this API.