v1
latestOpenAPI 3.0.32026-07-23167675.4 KBCard Binding (Card Registration)
Registers a credit card for a customer under a merchant account.
Flow:
- Merchant submits the encrypted card data along with customer information.
- The system decrypts the card data, validates it against the ALTO/KKI network, and creates an AcquirerToken.
- On success, a redirectUrl is returned (when CHANNEL-ID: DH) pointing to the OTP verification page.
- The customer completes OTP verification, which finalises the binding and issues a bankCardToken.
Card Data Encryption: Encrypt the CardDataPayload JSON object using AES-CBC with the merchant's sharedKey. The resulting Base64-encoded ciphertext is submitted as the cardData field.
Headers
Merchant's client ID registered with DOKU
Unique reference ID for this request (per-day uniqueness required). Used for idempotency and tracing.
B2B access token obtained from the Get B2B Token API
Request timestamp in ISO 8601 format (yyyy-MM-ddTHH:mm:ss+07:00)
HMAC-SHA512 asymmetric signature for request integrity verification
Channel identifier determining the post-registration redirect behaviour.
- DH (Direct Hosting, default): returns a redirectUrl pointing to the DOKU-hosted OTP page.
- H2H (Host-to-Host): no redirect; merchant handles the OTP flow independently.
Request body
Response
Card binding request accepted. The customer must complete OTP verification to finalise the binding. Use redirectUrl (DH flow) or additionalInfo.authCode (H2H flow) to proceed.