Fiat

Fiat Deposit/Withdraw History (USER_DATA)

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

Weight(UID): 90000

get/sapi/v1/fiat/orders

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 deposit/withdraw orders

codestring required
messagestring required
totalinteger required
successboolean required

Example response

{
  "code": "000000",
  "message": "success",
  "data": [
    {
      "orderNo": "7d76d611-0568-4f43-afb6-24cac7767365",
      "fiatCurrency": "BRL",
      "indicatedAmount": "10.00",
      "amount": "10.00",
      "totalFee": "0.00",
      "method": "BankAccount",
      "status": "Expired",
      "createTime": 1626144956000,
      "updateTime": 1626400907000
    }
  ],
  "total": 1
}

Changes

Changed in 2 of the 26 revisions of this API.9218

  • 558ab69ec55532See the full diff
    • removed the enum value 0 from the query request parameter transactionType

      request-parameter-enum-value-removed

    • removed the enum value 1 from the query request parameter transactionType

      request-parameter-enum-value-removed

    • for the query request parameter transactionType, the type/format was changed from string/ to integer/int32

      request-parameter-type-changed

    • for the query request parameter transactionType, the max was set to 1.00

      request-parameter-max-set

    • for the query request parameter transactionType, the min was set to 0.00

      request-parameter-min-set

  • a484ce871a72618See the full diff
    • for the query request parameter beginTime, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter endTime, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter page, the type/format was changed from integer/ to integer/int32

      request-parameter-type-changed

    • for the query request parameter recvWindow, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter rows, the type/format was changed from integer/ to integer/int32

      request-parameter-type-changed

    • for the query request parameter timestamp, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • the response property code became required for the status 200

      response-property-became-required

    • the response property code became required for the status 400

      response-property-became-required

    • the response property code became required for the status 401

      response-property-became-required

    • the response property data became required for the status 200

      response-property-became-required

    • the response property data/items/amount became required for the status 200

      response-property-became-required

    • the response property data/items/createTime became required for the status 200

      response-property-became-required

    • the response property data/items/fiatCurrency became required for the status 200

      response-property-became-required

    • the response property data/items/indicatedAmount became required for the status 200

      response-property-became-required

    • the response property data/items/method became required for the status 200

      response-property-became-required

    • the response property data/items/orderNo became required for the status 200

      response-property-became-required

    • the response property data/items/status became required for the status 200

      response-property-became-required

    • the response property data/items/totalFee became required for the status 200

      response-property-became-required

    • the response property data/items/updateTime became required for the status 200

      response-property-became-required

    • the response property message became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required

    • the response property msg became required for the status 401

      response-property-became-required

    • the response property success became required for the status 200

      response-property-became-required

    • the response property total became required for the status 200

      response-property-became-required