v26

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

Fiat Payments History (USER_DATA)

  • If beginTime and endTime are not sent, the recent 30-day data will be returned.

Weight(IP): 1

get/sapi/v1/fiat/payments

Query parameters

transactionTypeinteger required
  • 0 - deposit
  • 1 - withdraw
beginTimeinteger
Example:1626144956000
endTimeinteger

UTC timestamp in ms

pageinteger
Example:1

Default 1

rowsinteger
Example:300

Default 100, max 500

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

History of fiat payments

codestring required
messagestring required
totalinteger required
successboolean required

Example response

{
  "code": "000000",
  "message": "success",
  "data": [
    {
      "orderNo": "353fca443f06466db0c4dc89f94f027a",
      "sourceAmount": "20.00",
      "fiatCurrency": "EUR",
      "obtainAmount": "4.462",
      "cryptoCurrency": "LUNA",
      "totalFee": "0.2",
      "price": "4.437472",
      "status": "Failed",
      "createTime": 1624529919000,
      "updateTime": 1624529919000
    }
  ],
  "total": 1
}