v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Pay

Get Pay Trade History (USER_DATA)

  • If startTime and endTime are not sent, the recent 90 days' data will be returned.
  • The max interval between startTime and endTime is 90 days.
  • Support for querying orders within the last 18 months.

Weight(UID): 3000

get/sapi/v1/pay/transactions

Query parameters

startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

limitinteger
Example:100

default 100, max 100

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Pay History

codestring required
messagestring required
successboolean required

Example response

{
  "code": "000000",
  "message": "success",
  "data": [
    {
      "orderType": "C2C",
      "transactionId": "M_P_71505104267788288",
      "transactionTime": 1610090460133,
      "amount": "23.72469206",
      "currency": "BNB",
      "walletType": 1,
      "payerInfo": {
        "name": "Jack",
        "type": "USER",
        "binanceId": "12345678",
        "accountId": "67736251"
      },
      "receiverInfo": {
        "name": "Alan",
        "type": "MERCHANT",
        "email": "alan@test.com",
        "binanceId": "34355667",
        "accountId": "21326891",
        "countryCode": "1",
        "phoneNumber": "8057651210",
        "mobileCode": "US"
      }
    }
  ]
}