DOKU Malaysia API Reference
Home
Products
Products
  • Checkout
  • Payment
  • Cards Payment
DOKU Docs
Home
Products
Products
  • Checkout
  • Payment
  • Cards Payment
DOKU Docs
  1. Technical Reference
  • Introduction
  • Getting Started
    • Authentication & API Keys
    • Make your first API call
    • Create Account
  • Checkout
    • Overview
    • Create Checkout
    • Retrieve Checkout Status
  • Payment
    • Overview
    • Create Payment
    • Get Bank List - FPX
    • Retrieve Payment Status
  • Cards Payment
    • Overview
    • Payment Form
      • Request Payment
    • Host-to-Host Payment
      • Check Three D Secure
      • Charge Payment
      • Capture Authorized Payment
    • Request Refund
    • Unbind Token
    • Check Status
  • Notification
    • Overview
    • Setup Notification URL
    • Retry Notification
    • Sample Notification - Global
    • Sample Notification - Cards
  • Technical Reference
    • Authentication & Integrity
    • Idempotency
    • Data Type
    • Order & Transaction Status
    • Postman Collection
    • Response Code
      • Error Code
      • Credit Card Acquirer Response Code
    • API Version
      • Create Checkout
      • Create Payment
      • Get Bank List - FPX
      • Retrieve Checkout
      • Retrieve Payment
    • Signature
      • Signature - Global
        • Prepare Signature Component
        • Generating Signature
        • Validating Signature
        • Sample Code
      • Signature - Cards Payment API
        • Signature Component from Response Header
        • Signature from API Get Method
        • Sample Code
        • Signature Component from Request Header
  1. Technical Reference

Data Type

DOKU defines standard data types to ensure consistent validation across all APIs. Below are the supported types and their patterns.
TypePatternRemarks
Identity^[A-Za-z0-9-_]+sample usage for reference_id, Idempotency-Id
Safe String^[a-zA-Z0-9.-/+,=_:'@%|]will be use generally for all string attribute e.g: name, metadata, etc'
This ensures a predictable and secure structure for all request and response fields.
Modified at 2026-08-31 09:26:51
Previous
Idempotency
Next
Order & Transaction Status
Built with