=== Binance API Debug Script ===
This script will capture raw API requests and responses.
Copy the output below and send it to Binance Support.
================================================================================
TEST 1: GET /sapi/v1/c2c/orderMatch/listUserOrderHistory
--------------------------------------------------------------------------------
--- REQUEST DETAILS ---
Method: GET
Endpoint: /sapi/v1/c2c/orderMatch/listUserOrderHistory
Parameters: page=1, rows=5
API Key: yZ7K13u6H6...
--- RESPONSE ---
HTTP Code: N/A
Response Data:
{
"code": "000000",
"message": "success",
"data": [
{
"orderNumber": "22865756640783777792",
"advNo": "12839023720460713984",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "28.95000000",
"totalPrice": "24.72000000",
"unitPrice": "0.854",
"orderStatus": "BUYER_PAYED",
"createTime": 1773406472487,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "BBVABank",
"additionalKycVerify": 0
},
{
"orderNumber": "22865756410676277248",
"advNo": "12839023720460713984",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "101.34000000",
"totalPrice": "86.54000000",
"unitPrice": "0.854",
"orderStatus": "BUYER_PAYED",
"createTime": 1773406417605,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "P2P***",
"payMethodName": "SEPA",
"additionalKycVerify": 0
},
{
"orderNumber": "22865747030990282752",
"advNo": "12842443352268324864",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "38.56000000",
"totalPrice": "33.00000000",
"unitPrice": "0.856",
"orderStatus": "COMPLETED",
"createTime": 1773404181286,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Agg***",
"payMethodName": "SEPA",
"additionalKycVerify": 0
},
{
"orderNumber": "22865746908453031936",
"advNo": "12842443642849370112",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "21.00000000",
"totalPrice": "17.93000000",
"unitPrice": "0.854",
"orderStatus": "BUYER_PAYED",
"createTime": 1773404152092,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "SEPAinstant",
"additionalKycVerify": 0
},
{
"orderNumber": "22865745324801941504",
"advNo": "12842443642849370112",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "449.43918439",
"totalPrice": "383.82000000",
"unitPrice": "0.854",
"orderStatus": "BUYER_PAYED",
"createTime": 1773403774499,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Mtr***",
"payMethodName": "ZEN",
"additionalKycVerify": 0
}
],
"total": 4670,
"success": true
}
================================================================================
TEST 2: GET /sapi/v1/c2c/orderMatch/getUserOrderDetail
--------------------------------------------------------------------------------
Order No: 22829218531025494016
Fatal error: Uncaught Error: Call to private method BinanceP2PAPI::signedRequest() from global scope in /home/binanceapi/public_html/gbppay/api/debug-binance-api.php:60
Stack trace:
#0 {main}
thrown in /home/binanceapi/public_html/gbppay/api/debug-binance-api.php on line 60