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
          POST
        • Fetch Payin
          POST
      • Webhook
        • Payin webhook
    • Pay Out
      • Overview
      • Development Guidelines
      • Multiple Transfer Methods
      • Error Codes
      • API List
        • Create Payout
        • Payout Supported Banks
        • Fetch Payout
      • Webhook
        • Payout webhook
  1. API List

Fetch Payin

Test Mode (Sandbox)-paymant
https://lesspay2-pay-uat.doopayment.com
Test Mode (Sandbox)-paymant
https://lesspay2-pay-uat.doopayment.com
POST
/api/global/v1/pay/query-order
Merchant order query interface

Request

Header Params

Body Params application/json

Example
{
    "page": "1",
    "page_size": "20",
    "start_time": "1762741122000",
    "end_time": "1762913922000",
    "pay_order_id": "P1988199177890902017",
    "request_id": "RO17628585949304010"
}

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/v1/pay/query-order' \
--header 'X-auth-timestamp: 1764577927000' \
--header 'x-auth-appid: 690b2b46e4b09c73147db688' \
--header 'x-auth-signature: 7B5F1FEDDAB337DCD509CCCDDAC60D8E56A3B47D9838BBB3249DE895C3D8007F' \
--header 'Content-Type: application/json' \
--data-raw '{
    "page": "1",
    "page_size": "20",
    "start_time": "1762741122000",
    "end_time": "1762913922000",
    "pay_order_id": "P1988199177890902017",
    "request_id": "RO17628585949304010"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 0,
    "data": {
        "data": [
            {
                "application_id": "690aa683e4b09c73147db686",
                "checkout_url": [
                    "https://www.doopayment.com/en/"
                ],
                "description": "Recharge_Order",
                "order_status_int": 1,
                "pay_order_id": "P1988199177890902017",
                "product_name": "Recharge_Order",
                "request_id": "M17628585949304010",
                "target_amount": 10,
                "target_currency": "AUD",
                "transaction_type": "PAY_IN",
                "api_version": "v2",
                "channel_biz_data": "{'risk_grade':3,'risk_status':1}"
            }
        ],
        "total_counts": 1
    },
    "msg": "SUCCESS"
}
Modified at 2025-12-19 02:52:50
Previous
Create Payin
Next
Payin webhook
Built with