Skip to main content
GET
/
v1
/
deposit
/
list
Get List of Prime Wallet Deposits
curl --request GET \
  --url https://api.openxswitch.com/v1/deposit/list \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "DEP12345",
      "destination": "on_chain",
      "workspaceId": "344444....",
      "fromWalletId": "99902038302....",
      "toWalletId": "042038302....",
      "coin": "USDT",
      "chain": "ERC20",
      "amount": 0.05,
      "network": "Ethereum",
      "status": "pending",
      "networkFee": 0,
      "confirmation": 3,
      "createdAt": "2023-12-31T23:59:59Z",
      "updatedAt": "2023-12-31T23:59:59Z",
      "clientTxId": "CLIENT12345",
      "fromAddress": "0xabc123...",
      "toAddress": "0xdef456...",
      "hash": "0xhash123...",
      "transactionLink": "https://explorer.com/tx/0xhash123",
      "tagMemo": "Payment123"
    }
  ],
  "totalPage": 123,
  "pageNo": 123,
  "pageLimit": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

depositId
string

Deposit ID

hash
string

The transaction hash

fromAddress
string

Sender address

toAddress
string

Receiver address

chain
string

The 'chain' name.

Refer to the Get Recharge Currencies endpoint for the list of supported chains.

coin
string

The token name

pageNo
string

The page number for pagination

pageLimit
string

The number of items per page for pagination

Response

success
boolean
required
Example:

true

data
object[]
required
totalPage
number
required
pageNo
number
required
pageLimit
number
required