Skip to content

Thailand · Overview

Merchant APIs for Thailand payin, payout, wallet, and webhooks.

Endpoints

ActionMethodPath
Create payinPOST/api/v1/merchant/payin/create
Query payinGET/api/v1/merchant/payin/query
Create payoutPOST/api/v1/merchant/payout/create
Query payoutGET/api/v1/merchant/payout/query
WalletGET/api/v1/merchant/wallet
Wallet txsGET/api/v1/merchant/wallet/transactions

Credentials

  • merchantNo in header X-Merchant-No
  • Merchant RSA key pair (2048-bit): you keep private key, submit public key PEM
  • Platform public key PEM for webhook verification
  • Country TH, currency THB are bound to the merchant account and are not sent in create-order requests

Thailand bankCode

bankCode is the JSON field name used in create-order requests. Merchants send only the bankCode value; BankId, bank name, and legacy bankName are not request fields.

Order typebankCode
PayinQR
PayoutUse the bankCode column in the payout enum table below

The legacy bankName field is still accepted for compatibility, but it is ignored for routing, fee matching, and upstream requests. New integrations should send bankCode only.

bankCode is case-sensitive. Use the enum values exactly as documented.

Payin bankCode enum

bankCodeNotes
QRThailand QR payin

Payout bankCode enum

BankIdbankCodeBank name
1001BAACBANK FOR AGRICULTURE AND AGRICULTURAL COOPERATIVES
1002BAYBANK OF AYUDHYA PUBLIC COMPANY LIMITED
1003BBLBANGKOK BANK PUBLIC COMPANY LTD.
1004CITICITIBANK, N.A.
1005GHBTHE GOVERNMENT HOUSING BANK
1006GSBTHE GOVERNMENT SAVINGS BANK
1007KBANKKASIKORNBANK PUBLIC COMPANY LTD.
1008KTBKRUNG THAI BANK PUBLIC COMPANY LTD.
1009LHBANKLAND AND HOUSES BANK PUBLIC COMPANY LIMITED
1010SCBSIAM COMMERCIAL BANK PUBLIC COMPANY LTD
1012TISCOTISCO BANK PUBLIC COMPANY LIMITED
1014TTBTMBTHANACHART BANK PUBLIC COMPANY LIMITED
1015CIMBCIMB THAI BANK PUBLIC COMPANY LTD.
1023UOBTUNITED OVERSEAS BANK (THAI) PUBLIC COMPANY LIMITED
1018KKPKIATNAKIN BANK PUBLIC COMPANY LIMITED

Fees

TypeNet amount
PayinnetAmount = amount - fee (credited on complete)
PayoutnetAmount = amount + fee (frozen on create)

Auth: Signature · Payin: Payin · Payout: Payout

Released under the MIT License.

2-1-2 Nihonbashi-Hongokucho,Chuo-ku,Tokyo