Wallet Transactions
Get details on a particular USDC transaction
To get details of a particular wallet transaction, call the /crypto-integrators/transaction/{id}
endpoint, as shown below.
You would need to provide the transaction
ID
to pull it's details.
curl --location --request GET ‘https://api-sandbox.spendjuice.com/crypto-integrators/transaction/1e5f275e-d365-4605-9e77-9705a8ba0241’ \
--header ‘Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJqdWljZSIsImV4cCI6MTY1Nzk2MzY1MywiaWF0IjoxNjQyNDExNjUzLCJpc3MiOiJqdWljZSIsImp0aSI6IjI1ZDE4NTZmLTE5ZmUtNDkwMS1hMjc4LWQ3MTM0MWE0MzhkOCIsIm5iZiI6MTY0MjQxMTY1Miwic3ViIjoiY3J5cHRvLWludGVncmF0b3I6MmI1OGRiYzEtYTBjNS00NjU2LWIyZDItZGQ4MWJkZjZkMzFkIiwidHlwIjoiYWNjZXNzIn0.Bql-vo1bykToQbCOwswWGTbn28swS38uSbQ1ZxSYR9SgXh6PjTruFZU8uXdMTt9k_fDXqVv7DQ1KBnj6Er0qcg’
The request returns all details about the transaction including the source and destination addresses, the status of the transaction, and whether it was a credit or debit transaction.
{
“data”: {
“amount”: {
“amount”: “0.1",
“currency”: “USD”
},
“create_date”: null,
“destination”: {
“address”: “TR8ZFozJ3PZR4eM8NDksNG7xse6CDhTFwo”,
“addressTag”: null,
“chain”: “TRX”,
“type”: “blockchain”
},
“id”: “bc56b144-6722-42d6-ab92-e5f3208c9470”,
“source”: {
“id”: “ae714e06-bce6-4433-8fea-c777784add35",
“type”: “address”
},
“status”: “pending”,
“transaction_hash”: null,
“type”: “debit”
}
}
Integrator's transactions
To get all transactions associated with the integrator's wallet, use the /crypto-integrators/wallet/transactions
endpoint.
curl --request GET \
--url 'https://api-sandbox.spendjuice.com/crypto-integrators/wallet/transactions?limit=50&page=3' \
--header 'Accept: application/json'
Crypto address transactions
Get all transactions associated with an integrator's crypto address using the
/crypto-integrators/address/{id}/transactions
endpoint.
curl --request GET \
--url 'https://api-sandbox.spendjuice.com/crypto-integrators/address/ae714e06-bce6-4433-8fea-c777784add35/transactions?limit=15&page=1' \
--header 'Accept: application/json'
Updated over 2 years ago