=== 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": "22830502220030906368",
"advNo": "12818728934135054336",
"tradeType": "BUY",
"asset": "USDC",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "90.32066508",
"totalPrice": "76.05000000",
"unitPrice": "0.842",
"orderStatus": "COMPLETED",
"createTime": 1765001163541,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "P2P***",
"payMethodName": "SEPAinstant",
"additionalKycVerify": 0
},
{
"orderNumber": "22830497213555073024",
"advNo": "12818728094342025216",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "16.97000000",
"totalPrice": "14.28000000",
"unitPrice": "0.842",
"orderStatus": "BUYER_PAYED",
"createTime": 1764999969882,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "BANK",
"additionalKycVerify": 0
},
{
"orderNumber": "22830479583296823296",
"advNo": "12818878418018942976",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "42.39000000",
"totalPrice": "35.77000000",
"unitPrice": "0.844",
"orderStatus": "CANCELLED",
"createTime": 1764995766556,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "BANK",
"additionalKycVerify": 0
},
{
"orderNumber": "22830460309249400832",
"advNo": "12818728094342025216",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "19.89000000",
"totalPrice": "16.74000000",
"unitPrice": "0.842",
"orderStatus": "BUYER_PAYED",
"createTime": 1764991171289,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "Use***",
"payMethodName": "BANK",
"additionalKycVerify": 0
},
{
"orderNumber": "22830459527458529280",
"advNo": "12818878418018942976",
"tradeType": "BUY",
"asset": "USDT",
"fiat": "EUR",
"fiatSymbol": "€",
"amount": "47.00000000",
"totalPrice": "39.66000000",
"unitPrice": "0.844",
"orderStatus": "COMPLETED",
"createTime": 1764990984831,
"commission": "0",
"takerCommissionRate": "0",
"takerCommission": "0",
"takerAmount": "0",
"counterPartNickName": "ken***",
"payMethodName": "BBVABank",
"additionalKycVerify": 0
}
],
"total": 722,
"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/dinrstbvmk/binance.zatamtech.xyz/api/debug-binance-api.php:60
Stack trace:
#0 {main}
thrown in /home/dinrstbvmk/binance.zatamtech.xyz/api/debug-binance-api.php on line 60