Skip to main content

Get Fiat Payments History (USER_DATA)

API Description

Get Fiat Deposit/Withdraw History

HTTP Request

GET /sapi/v1/fiat/payments

Request Weight(IP)

1

Request Parameters

NameTypeMandatoryDescription
transactionTypeSTRINGYES0-buy,1-sell
beginTimeLONGNO
endTimeLONGNO
pageINTNOdefault 1
rowsINTNOdefault 100, max 500
recvWindowLONGNO
timestampLONGYES
  • If beginTime and endTime are not sent, the recent 30-day data will be returned.
  • paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
    • Cash Balance
    • Credit Card
    • Online Banking
    • Bank Transfer

Response Example

{
"code": "000000",
"message": "success",
"data": [
{
"orderNo": "353fca443f06466db0c4dc89f94f027a",
"sourceAmount": "20.0", // Fiat trade amount
"fiatCurrency": "EUR", // Fiat token
"obtainAmount": "4.462", // Crypto trade amount
"cryptoCurrency": "LUNA", // Crypto token
"totalFee": "0.2", // Trade fee
"price": "4.437472",
"status": "Failed", // Processing, Completed, Failed, Refunded
"paymentMethod": "Credit Card",
"createTime": 1624529919000,
"updateTime": 1624529919000
}
],
"total": 1,
"success": true
}