TarsPay_EN
  1. withdraw
TarsPay_EN
Kenya🇰🇪
  • Indonesia🇮🇩
  • India🇮🇳
  • Thailand🇹🇭
  • Philippines🇵🇭
  • Malaysia🇲🇾
  • Vietnam🇻🇳
  • Egypt🇪🇬
  • Bangladesh🇧🇩
  • Kenya🇰🇪
  • Pakistan🇵🇰
  • Brazil🇧🇷
  • Mexico🇲🇽
  • Korea🇰🇷
  • Türkiye🇹🇷
  • 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

Query withdraw order

POST
/api/payOutInfo

Request

Header Params

Body Params application/json

Example
{
  "mchNo": "M1688443982",
  "mchOrderNo": "YN7220230300929"
}

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 --request POST '/api/payOutInfo' \
--header 'X-API-KEY: 0221f85d6a09945403ef161b5200f4df152935a748ce2b9f291bb2d351d709b6a0' \
--header 'X-API-NONCE: 1702279880267' \
--header 'X-API-SIGNATURE: 304502207a4a88a5b0def29b9dbbf8563112d090c0e0b793ff6a5c57fe9d4fd1254d8ecf022100ff63c279f5926069fa1d161598e8d3249cb90e9d728e88e514352cdae6feff72' \
--header 'Content-Type: application/json' \
--data-raw '{
  "mchNo": "M1688443982",
  "mchOrderNo": "YN7220230300929"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 0,
    "data": {
        "currency": "KES",
        "fee": "0",
        "mchNo": "M1688443982",
        "mchOrderNo": "YN7220230300929",
        "orderAmount": "100",
        "payAmount": "0",
        "payOrderId": "P1681112064487976961",
        "state": 1
    },
    "msg": "SUCCESS"
}
Modified at 2025-04-23 11:21:06
Previous
Create withdraw order
Next
Query balance
Built with