=== 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": "22864851498981003264",
"advNo": "12842443847729115136",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "100.00000000",
"totalPrice": "84.70000000",
"unitPrice": "0.847",
"orderStatus": "BUYER_PAYED",
"createTime": 1773190669847,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "P2P***",
"payMethodName": "SEPAinstant",
"additionalKycVerify": 0
},
{
"orderNumber": "22864851473571713024",
"advNo": "12839023720460713984",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "26.03000000",
"totalPrice": "22.00000000",
"unitPrice": "0.845",
"orderStatus": "BUYER_PAYED",
"createTime": 1773190663769,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "P2P***",
"payMethodName": "BBVABank",
"additionalKycVerify": 0
},
{
"orderNumber": "22864849719752540160",
"advNo": "12842443847729115136",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "230.19859893",
"totalPrice": "194.97000000",
"unitPrice": "0.847",
"orderStatus": "COMPLETED",
"createTime": 1773190245643,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "SEPAinstant",
"additionalKycVerify": 0
},
{
"orderNumber": "22864847153539919872",
"advNo": "12842443847729115136",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "165.28925619",
"totalPrice": "140.00000000",
"unitPrice": "0.847",
"orderStatus": "COMPLETED",
"createTime": 1773189633796,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "SEPAinstant",
"additionalKycVerify": 0
},
{
"orderNumber": "22864844228208578560",
"advNo": "12842443847729115136",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "236.12750885",
"totalPrice": "200.00000000",
"unitPrice": "0.847",
"orderStatus": "COMPLETED",
"createTime": 1773188936374,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "SEPAinstant",
"additionalKycVerify": 0
}
],
"total": 4567,
"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