- Docs
- Api%2Freference%2Fpayments%2FListDeposits
List all deposits
Fetch a list of all deposits.
AuthorizationBearer <token>
In: header
Query Parameters
id?string
Filter resources by their unique identifier
org_id?string
Filter resources by the organization they belong to
limit?integer
How many items to return at one time (max 100)
Format
int64next?string
Pagination token for retrieving the next page of results
order?string
Sort order for the results (ascending or descending)
Value in
"asc" | "desc"sortBy?string
Field name to sort the results by
tx_hash?string
Transaction hash of the deposit.
token?string
Token used for the deposit.
Value in
"dual"token_address?string
Token address for the deposit.
when_created[$gt]?string
Filter objects created after this date and time
Format
date-timewhen_created[$gte]?string
Filter objects created after this date and time
Format
date-timewhen_created[$lt]?string
Filter objects created before this date and time
Format
date-timewhen_created[$lte]?string
Format
date-timeResponse Body
application/json
application/json
application/json
curl -X GET "https://api-testnet.dual.network/payments/deposits"{
"deposits": [
{
"id": "string",
"org_id": "string",
"sender": "string",
"amount": "string",
"token": "dual",
"token_address": "string",
"network": "ethereum",
"tx_hash": "string",
"block_num": 0,
"status": "pending",
"when_created": "2019-08-24T14:15:22Z",
"when_modified": "2019-08-24T14:15:22Z"
}
],
"next": "string"
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}