Transactions
Use this endpoint to get transaction details by ID or foreign_id. You can only include one of those parameters in your request.
Authorizations
Query parameters
idintegerOptional
The transaction's ID in Cryptoprocessing's records.
foreign_idstringOptional
The transaction's unique identifier in your system. You can only find withdrawal transactions by their foreign_id. For deposits, search by id.
Responses
200
OK
application/json
400
No parameters present
application/json
404
Validation Exception: more than one param is present
application/json
get
/transactions/infoGET /api/v2/transactions/info HTTP/1.1
Host: app.cryptoprocessing.com
X-Processing-Key: text
X-Processing-Signature: text
Accept: */*
{
"id": 2769144
}{
"id": 2769144,
"foreign_id": "withdrawal:823188",
"type": "withdrawal",
"crypto_address": {
"id": 411002,
"currency": "BTC",
"address": "tb1q73h009ezpcltv85vnyvz8n3r5umv2v4n54rhp2",
"tag": null
},
"currency_sent": {
"currency": "BTC",
"amount": 0.0001
},
"currency_received": {
"currency": "BTC",
"amount": 10000
},
"transactions": [
{
"id": 823194,
"currency": "BTC",
"transaction_type": "blockchain",
"type": "withdrawal",
"address": "tb1q73h009ezpcltv85vnyvz8n3r5umv2v4n54rhp2",
"tag": "text",
"amount": 0.0001,
"txid": 7.854431205445763e+76,
"confirmations": 0
}
],
"fees": [
{
"type": "mining",
"currency": "BTC",
"amount": 0
},
{
"type": "fee_crypto_deposit_wallet_client",
"currency": "BTC",
"amount": 0
}
],
"error": "",
"status": "confirmed"
}Last updated
Was this helpful?