Get Trades
Get all trades made by your users.
Additionally, cursor
can be passed which references an existing trade_id
. A maximum of 50 trades will be returned in a request, with an empty value for the nextCursor
if at the end of the list.
Filterable by trade_id
, customer_id
and client_token
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Query Parameters
ID of Trade
ID of Trade to fetch next set of results from
ClientToken during which trade was executed
ID of Customer
Response
Currenly, only usd
is supported for fiat_type
, with more currency types coming soon.
You can see list of all supported currencies for asset_type
here
Price for 1 unit of the digital token
Quantity of digital assets bought
Total value of destination asset purchased.
Type of digital currency being bought.
Set to buy
if buying crypto with fiat, and sell
when selling crypto to obtain fiat.
Timestamp of transaction
Blockchain on which the transaction took place
Fees paid to the blockchain network to validate the transaction
On chain status of transaction
settled
- transaction is confirmed on the chain, check tx_hash
for confirmation hash
pending
- transaction is awaiting validation on the chain
hold
- transaction hasn't been initiated yet
`
pending
, settled
, hold
ID of Bank account used in the transaction
1
Transaction status.
completed
, pending
Total amount spent in transaction
Unique ID of trade
1
Processing fees charged by Sardine to the user, and split with the merchant
Hash of transaction