Single crypto deposit history
Endpoint: /crypto/deposit-history/:id
/crypto/deposit-history/:id
Description
The /crypto/deposit-history/:id
endpoint allows businesses to retrieve detailed information about a specific cryptocurrency deposit transaction. This endpoint is useful for viewing the status, amount, and other details of an individual deposit.
Request Method
GET /crypto/deposit-history/:id
Path Parameter
id
: The unique identifier of the deposit transaction that you want to retrieve.
Response Fields
transactionId
: The unique identifier of the deposit transaction.amount
: The amount of cryptocurrency deposited.currency
: The type of cryptocurrency (e.g., BTC, ETH).status
: The current status of the deposit (pending
,completed
,failed
).walletAddress
: The cryptocurrency wallet address to which the deposit was made.transactionHash
: The blockchain transaction hash associated with the deposit.createdAt
: The timestamp when the deposit transaction was initiated.updatedAt
: The timestamp of the last update to the transaction's status.confirmations
: The number of blockchain confirmations the deposit has received.network
: The blockchain network on which the transaction was conducted (e.g., Bitcoin, Ethereum).
{"status":"success","status_code":200,"message":"Request successful","data":{"id":30,"user_id":1,"currency":"USDT.BEP20","amount":"1.00000000","address":7.69944558240412e+47,"transaction_id":1.7207686262023195e+78,"status":"success","created_at":"2024-08-28T13:45:51.000000Z","customer":null}}
GET /api/v1/crypto/deposit-history/333a25d6-c273-4b8f-8870-a79deaaaa324 HTTP/1.1
Host: smtp.yativo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"status": "success",
"status_code": 200,
"message": "Request successful",
"data": {
"id": 30,
"user_id": 1,
"currency": "USDT.BEP20",
"amount": "1.00000000",
"address": 7.69944558240412e+47,
"transaction_id": 1.7207686262023195e+78,
"status": "success",
"created_at": "2024-08-28T13:45:51.000000Z",
"customer": null
}
}
Last updated