POST /api/payments/initiate
Creates a new payment transaction. On success, a transactionId is returned — use it in subsequent Confirm or Status calls.
Request Body
Merchant unique identifier in UUID format.Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6Merchant-assigned reference number for this transaction. Must be unique within the merchant.Example:
MER-20240616-001Optional description or purpose of the payment.
Payment amount in the smallest currency unit (e.g., cents for MYR).
| Value | Equivalent |
|---|---|
100 | 1.00 MYR |
3491 | 34.91 MYR |
15000 | 150.00 MYR |
ISO 4217 currency code.Examples:
MYR, USD, SGDTarget product or service code.Examples:
TNB, AIR_SELANGOR, STARBUCK, RAZER_PINNumber of items. Applicable for products such as gift cards or PINs.
ISO 3166-1 alpha-2 country code.Examples:
MY, SGMerchant store identifier originating the payment request.Example:
STORE-001Device identifier of the terminal or client making the request.Example:
DEV-12345Payer identifier. Accepts a mobile number, bill account number, e-wallet QR code, or any account number.
URL to redirect the payer to after the payment is completed or cancelled (for redirect-based flows).
Additional product-specific properties serialised as a JSON string.Example:
"{\"accountNumber\":\"123456\"}"Response
200 — Payment Initiated
truenull on success.Optional informational message.