1. API List
Lesspay2.0
  • LESSPAY2 API Reference
    • Get started
    • Authentication
    • Parameter Specifications
    • Pay In
      • Overview
      • Development Guidelines
      • Local Payment Methods (LPMs)
      • Error Codes
      • Card payment
        • Card Payment
        • 3D Secure (3DS) Configuration
        • Fraud & Dispute Webhook Notifications
      • API List
        • Create Payin
        • Fetch Payin
      • Webhook
        • Payin webhook
    • Pay Out
      • Overview
      • Development Guidelines
      • Multiple Transfer Methods
      • Error Codes
      • API List
        • Create Payout
          POST
        • Payout Supported Banks
          POST
        • Fetch Payout
          POST
      • Webhook
        • Payout webhook
  1. API List

Fetch Payout

Test Mode (Sandbox)-paymant
https://lesspay2-pay-uat.doopayment.com
Test Mode (Sandbox)-paymant
https://lesspay2-pay-uat.doopayment.com
POST
/api/global/payout/query
Fetch Payout
Query Payout Order Status and Details. This lets you fetch the details of an existing payout

Request

Header Params

Body Params application/json

Example
{
    "request_id": "string",
    "pay_order_id": "string"
}

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 'https://lesspay2-pay-uat.doopayment.com/api/global/payout/query' \
--header 'x-auth-signature;' \
--header 'x-auth-appid;' \
--header 'X-Auth-Timestamp;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_id": "string",
    "pay_order_id": "string"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 0,
    "msg": "",
    "data": {
        "pay_order_id": "",
        "request_id": "",
        "order_status": "",
        "currency": "",
        "total_amount": "",
        "fail_reason": "",
        "created_at": "",
        "details": [
            {
                "payout_order_detail_id": "",
                "mch_order_id": "",
                "amount": "",
                "status": "",
                "fail_reason": "",
                "channel_order_no": "",
                "bank_account_no": "",
                "bank_account_name": ""
            }
        ]
    },
    "encryptData": "",
    "sign": ""
}
Modified at 2025-12-18 11:31:07
Previous
Payout Supported Banks
Next
Payout webhook
Built with