List all deposits

Fetch a list of all deposits.

GET
/payments/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)

Formatint64
next?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

Formatdate-time
when_created[$gte]?string

Filter objects created after this date and time

Formatdate-time
when_created[$lt]?string

Filter objects created before this date and time

Formatdate-time
when_created[$lte]?string
Formatdate-time

Response 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": {}
}