Skip to main content

Create Deposit Order (Thailand)

API for creating Thai Baht (THB) deposit orders.

Request Information

  • Request URL: /gateway/api/v2/payments
  • Method: POST
  • Content-Type: application/json;charset=utf-8

Request Parameters

ParameterRequiredTypeDescription
platform_idYesString(6)Merchant ID
service_idYesString(7)Service ID
payment_cl_idYesString(64)Merchant Order ID
amountYesInteger(10)Amount (in cents)
notify_urlYesString(256)Callback URL for transaction result
nameNoString(16)Sender's name (required for real-name verification)
bank_nameNoString(16)Bank code, Bank List (required for real-name verification)
last_numberNoString(32)Sender's account number (required for real-name verification)
request_timeYesInteger(10)Request time (seconds)
sign_typeNoString(16)Signature type: HMAC-SHA256 (recommended) or MD5 (default)
signYesString(32|64)Order Signature

Service ID

  • SVC0044 TrueMoney
  • SVC0045 Bank Gateway
  • SVC0046 Bank QR Code
  • SVC0065 PROMPT PAY

Response Example

Successful Response

{
"error_code": "0000",
"data": {
"link": "https://pay.example.com/cashier/DEMOPM0123456",
"payment_id": "DEMOPM0123456",
"payment_cl_id": "order_20260112001",
"amount": 10000
}
}

Remarks

  • Transaction amount is in Thai Baht (cents), please multiply by 100 before sending
  • Request time uses Unix timestamp in seconds
  • Transaction results will be sent to notify_url, see Deposit Notification for parameter specifications