Exchange History
Last updated
Last updated
Use this endpoint to retrieve a list of exchange transactions for a specific business. The list can be filtered by various criteria, such as time range, currency, type (autoConvert or manualSwap or swapByApi), and more. Pagination is also available to fetch the results in smaller sets.
POST
https://api.oxapay.com/exchange/list
Name | Type | Description |
---|---|---|
Please note that this response sample includes a list of exchange transactions with their respective details and a metadata section providing information about the total number of records and pages available.
Please note that a successful request will return a result code 100. In case of any issues or validation problems, refer to the corresponding result codes for further details.
Please remember to replace YOUR_GENERAL_API_KEY
with your actual general API key and adjust the parameters as needed for your specific use case.
key*
string
Your General API key for authentication and authorization.
orderBy
string
Display the list in ascending or descending order. Possible values: 'asc', 'desc' [default 'desc'].
sortBy
string
Sort the received list by a parameter. Set to 'create_date' by default. Possible values: 'create_date', 'pay_date', 'amount' [default 'create_date'].
page
integer
The page number of the results you want to retrieve. Possible values: from 1 to the total number of pages - default 1.
size
integer
Number of records to be displayed on one page. Possible values: from 1 to 200 - default 10.
type
string
Filter exchanges based on type (autoConvert or manualSwap or swapByApi).
toCurrency
string
Specify the currency symbol for filtering exchanges in a specific toCurrency.
fromCurrency
string
Specify the currency symbol for filtering exchanges in a specific fromCurrency.
toDate
string
The start of the date window to query for exchanges in unix format
fromDate
string
The start of the date window to query for exchanges in unix format
trackId
integer
Filter spesific exchange by it`s trackId