Query Payment Order


API URL:https://mapi.yabandpay.com/Payments

Method:POST

POST data type:Json

Parameter Type Description Required
user String the UID of super admin account or cashier account Required
sign String signature Required
method String v3.QueryOrder Required
time Long timestamp Required
  • Parameter
Parameter Type Description Required
trade_id String the trade_id from YabandPay Required

Signature:

Lexicographical sequence and URL key-value format new string

"method=v3.QueryOrder&time=1728566835&trade_id=2eb629a8-96ad-d495-38f2-41f5bebf31cd&user=016683"

Use stringA and secret_key to get stringSign

Get Signature:

"8c0cdb593664fea7427af5024ca7c7d215b40fbfe1d9bbf4093969a87dc0c8ff"

Example Request:

{
    "user": "016683",
    "sign": "8c0cdb593664fea7427af5024ca7c7d215b40fbfe1d9bbf4093969a87dc0c8ff",
    "method": "v3.QueryOrder",
    "time": 1728566835,
    "data": {
        "trade_id": "2eb629a8-96ad-d495-38f2-41f5bebf31cd"
    }
}

Example Response:

{
    "status": true,
    "code": "200",
    "data": {
        "transaction_info": {
            "trade_id": "2eb629a8-96ad-d495-38f2-41f5bebf31cd",
            "merchant_name": "Yaband Telecom B.V",
            "store_name": "YabandPay",
            "cashier_name": "YabandPay Test",
            "pay_method": "online",
            "sub_pay_method": "WeChat Pay",
            "order_id": "20240524100500801159g28",
            "amount": "0.01",
            "tip_amount": "0.10",
            "currency": "EUR",
            "settlement_amount": "0.01",
            "settlement_currency": "EUR",
            "exchange_rate": "1",
            "description": "YabandPay Test",
            "redirect_url": "https://yabandpay.com/",
            "notify_url": "https://ordergoapi.yabandpay.com/api/Test/notify",
            "state": "paid",
            "time_out": "1440",
            "amount_cny": "0.07",
            "merchant_cost": "0.10",
            "transaction_id": "4200002425202409032894611438",
            "paid_at": "1725349108",
            "yb_transaction_id": "b228f7d3-b56b-5210-d270-5e5f23690db0",
            "icon_url": "https://partner.yabandpay.com/Public/Admin/image/wechat3x.png?v=202310201461",
            "payer_profile": {
                "payer_name": "UNKNOWN",
                "payer_ip": "208.87.243.129",
                "payer_bank_account": "451461***1527",
                "issuer_name": "",
                "expiry_month": "",
                "expiry_year": ""
            },
            "refund_info": [
                {
                    "transaction_id": "20240903153820059756",
                    "refund_id": "20240903154342497308",
                    "m_refund_id": null,
                    "refund_time": "1725349422",
                    "state": "refunded",
                    "refund_amount": "0.01",
                    "refund_currency": "EUR",
                    "refund_description": "gary",
                    "notify_url": "null",
                    "demo": "",
                    "settlement_refund_amount": "0.01",
                    "settlement_refund_currency": "EUR",
                    "merchant_cost": "0.1",
                    "gather_clearing_status": "2",
                    "yb_transaction_id": "c07859aa-3d12-69d4-ef2f-a9556d9c4d33"
                }
            ],
            "fund_flow_status": "2",
            "fund_flow_description": "settled",
            "createDate": "1725349082",
            "user": "016683"
        }
    },
    "message": ""
}

More Information:

Funding Status Codes and Descriptions:
fund_flow_status fund_flow_description
0 uncleared
1 cleared
2 settled
Response parameter description:

For a description of the response parameters, please refer to Notify

results matching ""

    No results matching ""