TarsPay_EN
  1. withdraw
TarsPay_EN
Malaysia🇲🇾
  • Indonesia🇮🇩
  • India🇮🇳
  • Thailand🇹🇭
  • Philippines🇵🇭
  • Malaysia🇲🇾
  • Vietnam🇻🇳
  • Egypt🇪🇬
  • Bangladesh🇧🇩
  • Kenya🇰🇪
  • Pakistan🇵🇰
  • Brazil🇧🇷
  • Mexico🇲🇽
  • Ban_TEST
  • Access Guide
  • Core Business Process Description
  • Attachment Code Table
  • deposit
    • Create a deposit order
      POST
    • Query deposit order status
      POST
  • withdraw
    • Create withdraw order
      POST
    • Query withdraw order
      POST
  • account
    • Query balance
      POST
  • CallBack
    • Callback notification interface (customized by the merchant)
      POST
  1. withdraw

Create withdraw order

POST
/api/payOut/unifiedOrder

withdraw code#

withdraw bank code#

Bank & wallet codeBank & wallet name
PUBLIC_BANKPUBLIC BANK
CIMBCIMB
HONG_LEONGHong Leong
HSBCHSBC
UNITED_OVERSEAS_BANKUnited Overseas Bank (Malaysia)
BANK_SIMPANAN_NASIONALBank Simpanan Nasional
MAYBANKMaybank
RHBRHB
BSNBSN
AMBANKAmbank
UOBUOB
ALLIANCE_BANKAlliance Bank
BANK_RAKYATBank Rakyat
OCBC_BANKOCBC Bank (Malaysia)
AFFIN_BANKAffin Bank
BANK_ISLAMBank Islam
STANDARD_CHARTERED_BANKStandard Chartered Bank
BANK_MUAMALATBank Muamalat
AGRO_BANKAgro Bank
CITIBANKCitibank
TOUCH 'N_GOTouch 'n Go(ewallet)
BOOSTBoost(ewallet)
GRABPAYGrabPay(ewallet)
WECHAT_PAYWechat Pay(ewallet)
MAEMAE(ewallet)
BIGPAYBigPay(ewallet)
SHOPEEPAYShopeePay(ewallet)

Limit information#

Withdraw amount rules
Withdraw channelMinimum single transactionMaximum single transaction
BANK5030000

Request

Header Params
X-API-KEY
string 
required
The public key applied by the merchant backend
Example:
03828e8e30fb0a705776e32302d7f54a8037ae3926220bbc19c588eedc3b26ec12
X-API-NONCE
string 
required
System timestamp accurate to milliseconds
Example:
1704182130212
X-API-SIGNATURE
string 
required
signature
Example:
304402200f978377ba9538594d77bb82e4eacabf41dbe500a6ccf8e4b31114e257ff60d102204fffdad3331cd90493f6ff16a045508d184d567f1aabf1debd2a8d8d4b2345d0
Body Params application/json
mchNo
string 
Merchant No.
required
mchOrderNo
string 
Merchant Order No. (guaranteed to be unique)
required
wayCode
string 
withdraw code
required
withdraw code
currency
string 
Currency
required
Fixed to MYR
amount
string 
Amount
required
notifyUrl
string 
Result notification address
required
customerName
string 
User name
required
customerEmail
string 
User Email
required
customerContact
string 
User Mobile Phone
required
customerAccountNumber
string 
User withdraw account
required
Bank card or wallet account
Example
{
    "amount": "30",
    "currency": "MYR",
    "customerAccountNumber": "123123123123",
    "customerContact": "123123123123",
    "customerEmail": "762646676@qq.com",
    "customerName": "Low Yong Kun",
    "mchNo": "M1688457769",
    "mchOrderNo": "ML20221112010000922",
    "notifyUrl": "http://47.241.33.220:8896/notify",
    "wayCode": "PUBLIC_BANK"
}

Request 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 --request POST '/api/payOut/unifiedOrder' \
--header 'X-API-KEY: 03828e8e30fb0a705776e32302d7f54a8037ae3926220bbc19c588eedc3b26ec12' \
--header 'X-API-NONCE: 1704182130212' \
--header 'X-API-SIGNATURE: 304402200f978377ba9538594d77bb82e4eacabf41dbe500a6ccf8e4b31114e257ff60d102204fffdad3331cd90493f6ff16a045508d184d567f1aabf1debd2a8d8d4b2345d0' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": "30",
    "currency": "MYR",
    "customerAccountNumber": "123123123123",
    "customerContact": "123123123123",
    "customerEmail": "762646676@qq.com",
    "customerName": "Low Yong Kun",
    "mchNo": "M1688457769",
    "mchOrderNo": "ML20221112010000922",
    "notifyUrl": "http://47.241.33.220:8896/notify",
    "wayCode": "PUBLIC_BANK"
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
data
object 
required
mchOrderNo
string 
Merchant order number
required
payOrderId
string 
Platform order number
required
msg
string 
required
Example
{
    "code": 0,
    "data": {
        "mchOrderNo": "ML20221112010000922",
        "payOrderId": "P1742092217124487169"
    },
    "msg": "SUCCESS",
    "sign": "304502203526e91debfaa0a85d8c7746844502dc989d7b4fde24d68bce8443b1c5e87cc0022100f7cbedee2886ab57919d3bea1502536ede930afb7c78e212626ba3812794246e"
}
Previous
Query deposit order status
Next
Query withdraw order
Built with