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
}

Changes

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

  • 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 changed from string to integer, and format from no format to 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

  • a484ce871a72619See the full diff
    • for the query request parameter beginTime, the format changed from no format to int64

      request-parameter-type-changed

    • for the query request parameter endTime, the format changed from no format to int64

      request-parameter-type-changed

    • for the query request parameter page, the format changed from no format to int32

      request-parameter-type-changed

    • for the query request parameter recvWindow, the format changed from no format to int64

      request-parameter-type-changed

    • for the query request parameter rows, the format changed from no format to int32

      request-parameter-type-changed

    • for the query request parameter timestamp, the format changed from no format to int64

      request-parameter-type-changed

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required