=== 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": "22843391020533436416",
"advNo": "12839023720460713984",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "32.98000000",
"totalPrice": "27.76000000",
"unitPrice": "0.842",
"orderStatus": "BUYER_PAYED",
"createTime": 1768074093045,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "P2P***",
"payMethodName": "SEPA",
"additionalKycVerify": 0
},
{
"orderNumber": "22843385065658699776",
"advNo": "13838586884074438656",
"tradeType": "SELL",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "22.85000000",
"totalPrice": "20.00000000",
"unitPrice": "0.875",
"orderStatus": "CANCELLED",
"createTime": 1768072673305,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "SEPAinstant",
"additionalKycVerify": 0
},
{
"orderNumber": "22843384996989673472",
"advNo": "12842443642849370112",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "16.00000000",
"totalPrice": "13.50000000",
"unitPrice": "0.844",
"orderStatus": "COMPLETED",
"createTime": 1768072656909,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "BANK",
"additionalKycVerify": 0
},
{
"orderNumber": "22843384344650711040",
"advNo": "12839023720460713984",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "20.03000000",
"totalPrice": "16.86000000",
"unitPrice": "0.842",
"orderStatus": "COMPLETED",
"createTime": 1768072501411,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "BANK",
"additionalKycVerify": 0
},
{
"orderNumber": "22843383048407736320",
"advNo": "12842443352268324864",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "85.00000000",
"totalPrice": "71.91000000",
"unitPrice": "0.846",
"orderStatus": "COMPLETED",
"createTime": 1768072192341,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "P2P***",
"payMethodName": "SEPA",
"additionalKycVerify": 0
}
],
"total": 3107,
"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/api/debug-binance-api.php:60
Stack trace:
#0 {main}
thrown in /home/binanceapi/public_html/api/debug-binance-api.php on line 60