1. deposit
TarsPay_EN
  • General Access Guide
  • Indonesia🇮🇩
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • India🇮🇳
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
      • UTR query
      • Utr replenishment order
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Thailand🇹🇭
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
        POST
      • Query deposit order status
        POST
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Philippines🇵🇭
    • Access Guide
    • Attachment Code Table
    • Core Business Process Description
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Malaysia🇲🇾
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Vietnam🇻🇳
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Egypt🇪🇬
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Bangladesh🇧🇩
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
      • Query TrxId
      • Reprocess TrxId
      • Submit trxid (used by merchants who build their own POS systems)
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Kenya🇰🇪
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Pakistan🇵🇰
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Brazil🇧🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
      • Query TrxId
    • withdraw
      • Create withdraw order
      • Query withdraw order
      • withdraw query payment certificate
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Mexico🇲🇽
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Korea🇰🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Türkiye🇹🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Callback notification interface (customized by the merchant)
  • Argentina🇦🇷
    • Access Guide
    • Core Business Process Description
    • Attachment Code Table
    • deposit
      • Create a deposit order
      • Query deposit order status
    • withdraw
      • Create withdraw order
      • Query withdraw order
    • account
      • Query balance
    • CallBack
      • Order status callback
  • Schemas
    • ArgentinaPayInRequest
    • ErrorResponse
    • PayInOrderSuccessResponse
    • PayInOrderData
    • OrderState
    • OrderQueryRequest
    • PayInQuerySuccessResponse
    • PayInQueryData
    • ArgentinaPayOutRequest
    • PayOutOrderSuccessResponse
    • PayOutOrderData
    • PayOutQuerySuccessResponse
    • PayOutQueryData
    • BalanceQueryRequest
    • BalanceQuerySuccessResponse
    • BalanceQueryData
    • OrderNotify
    • NotifyState
  1. deposit

Create a deposit order

POST
/api/pay/unifiedOrder

deposit method#

CodeDescription
BANKBANK
PROMPTPAYPROMPTPAY
TRUEMONEYTRUEMONEY

bank name#

CodeDescription
PROMPTPAYPROMPTPAY
BBLBANGKOK BANK
KBANKKASIKORNBANK
KTBKRUNG THAI BANK
TMBTMB BANK
SCBSIAM COMMERCIAL BANK
CIMBCIMB THAI BANK
UOBUNITED OVERSEAS BANK (THAI)
BAYBANK OF AYUDHYA (KRUNGSRI)
GSBTHE GOVERNMENT SAVINGS BANK
GHBTHE GOVERNMENT HOUSING BANK
BAACBANK FOR AGRICULTURE AND AGRICULTURAL COOPERATIVES
TISCOTISCO BANK
KKPKIATNAKIN BANK
LHBANKLAND AND HOUSES BANK
TTBTMBTHANACHART BANK
BOTBANK OF THAILAND
CITICITIBANK, N.A.
StandardCBSTANDARD CHARTERED BANK (THAI) PUBLIC COMPANY LIMITED
BOCBANK OF CHINA (THAI) PUBLIC COMPANY LIMITED
IBTISLAMIC BANK OF THAILAND
ICBCINDUSTRIAL AND COMMERCIAL BANK OF CHINA (THAI) PUBLIC COMPANY LIMITED
LHBLAND AND HOUSES BANK PUBLIC COMPANY LIMITED
JPMCJP Morgan Chase Bank Bangkok Branch
SMBCSumitomo Mitsui Banking Corporation
HSBCHongkong and Shanghai Banking Corporation
MEGAICBCMega International Commercial Bank
AMERICABBank of America National Association
IOBAIndian Overseas Bank
DEUTSCHEDeutsche Bank A.G
MHCBMIZUHO BANK, LTD. BANGKOK BRANCH
BNPPBNP Paribas Bangkok Branch

Limit information#

Deposit amount rules
Deposit channelMinimum single transactionMaximum single transaction
QR50500,000

Request

Header Params

Body Params application/json

Example
{
    "amount": "100",
    "customerContact": "01085230144",
    "mchOrderNo": "D1730277342330",
    "customerEmail": "199199@gmail.com",
    "wayCode": "PROMPTPAY",
    "notifyUrl": "https:/notifyUrl.com",
    "currency": "THA",
    "bankName": "BBL",
    "customerAccountNumber": "01817999051",
    "returnUrl": "https://returnUrl.com",
    "mchNo": "M1688444708",
    "customerName": "GDW"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/pay/unifiedOrder' \
--header 'X-API-KEY: 02106af2a085fbfc6d1bb49f485205fcdfcc79a4ddb1913c72a271fedd24c2d7fe' \
--header 'X-API-NONCE: 1702279880267' \
--header 'X-API-SIGNATURE: 304502207a4a88a5b0def29b9dbbf8563112d090c0e0b793ff6a5c57fe9d4fd1254d8ecf022100ff63c279f5926069fa1d161598e8d3249cb90e9d728e88e514352cdae6feff72' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": "100",
    "customerContact": "01085230144",
    "mchOrderNo": "D1730277342330",
    "customerEmail": "199199@gmail.com",
    "wayCode": "PROMPTPAY",
    "notifyUrl": "https:/notifyUrl.com",
    "currency": "THA",
    "bankName": "BBL",
    "customerAccountNumber": "01817999051",
    "returnUrl": "https://returnUrl.com",
    "mchNo": "M1688444708",
    "customerName": "GDW"
}'

Responses

🟢200成功
application/json
Bodyapplication/json

Examples
{
    "code": 0,
    "data": {
        "amount": "50",
        "body": "Test",
        "countryCode": "th",
        "currency": "THA",
        "customerContact": "13116709877",
        "mchOrderNo": "TG2520230300170",
        "orderState": 0,
        "payDataType": "payurl",
        "payOrderId": "P1742757150174674946",
        "payUrl": "https://payment.tpservice.ai/#/order/th/P1742757150174674946",
        "payWays": {
            "TRUEMONEY": [
                {
                    "countryCode": "th",
                    "createdAt": 0,
                    "id": 60,
                    "payWay": "TRUEMONEY",
                    "payWayLogo": "https://tarspay.oss-ap-southeast-1.aliyuncs.com/tarspay_v_1.0/f11776e0-702d-4520-82f5-f6efa066490c.png",
                    "payWayType": "TRUEMONEY",
                    "skipMode": 2,
                    "state": 1,
                    "updatedAt": 0
                }
            ],
            "PROMPTPAY": [
                {
                    "countryCode": "th",
                    "createdAt": 0,
                    "id": 59,
                    "payWay": "PROMPTPAY",
                    "payWayLogo": "https://tarspay.oss-ap-southeast-1.aliyuncs.com/tarspay_v_1.0/363afea6-c8cf-46ae-948d-5517a258ecfd.png",
                    "payWayType": "PROMPTPAY",
                    "skipMode": 3,
                    "state": 1,
                    "updatedAt": 0
                }
            ],
            "BANK": [
                {
                    "countryCode": "th",
                    "createdAt": 0,
                    "id": 58,
                    "payWay": "BANK",
                    "payWayLogo": "https://tarspay.oss-ap-southeast-1.aliyuncs.com/tarspay_v_1.0/bf8f03a8-0d2b-40b0-b65c-18e01ce1597a.png",
                    "payWayType": "BANK",
                    "skipMode": 1,
                    "state": 1,
                    "updatedAt": 0
                }
            ]
        },
        "subject": "buycar"
    },
    "msg": "SUCCESS",
    "sign": "3045022006c26a41d4cac3be103b9ba00926fef05b0e27116f3cdae3b573b0d5c8399d37022100b99650ff4134ecf0b638317f34087bc7747b97d4e76564aa627982b63e037d7a"
}
Modified at 2026-06-04 10:16:37
Previous
Attachment Code Table
Next
Query deposit order status
Built with