Skip to main content

Get Transaction Details

This endpoint allows to get the details of a transaction.

Authorization:

bearer

HTTP: bearer

HTTP Authorization Scheme: bearer

Headers:
Authorization: APIKey {YOUR_API_KEY}

Endpoint

GET

/api/v2/transactions/{transactionId}

Path parameters​

  • transactionId (string): The transaction ID.

Response Sample (Crypto Transaction)​

{
"id": "11111111-2222-3333-4444-555555555555",
"reference": "client-ref-12345",
"accountId": "00000000-0000-0000-0000-000000000000",
"createdAt": "2025-01-15T10:30:00Z",
"transactionType": "crypto",
"coins": ["USDT"],
"status": "completed",
"statusReason": "Transaction confirmed",
"statusHistory": [
{ "status": "completed", "statusReason": "Transaction confirmed on-chain", "date": "2025-01-15T10:35:00Z" },
{ "status": "pending", "statusReason": "Withdrawal submitted", "date": "2025-01-15T10:30:00Z" }
],
"account": {
"accountId": "00000000-0000-0000-0000-000000000000",
"email": "jwick@localhost"
},
"audit": {
"adminId": "00000000-0000-0000-0000-000000000000",
"admin": "agent@workspace",
"apiKey": false
},
"cryptoTransactionDetails": {
"type": "withdraw",
"coin": "USDT",
"network": "ethereum",
"amount": 100.00,
"fee": 1.00,
"total": 99.00,
"networkFee": 0.00000534,
"targetAddress": "0x0000000000000000000000000000000000000000",
"txHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
}

Response Schema​

FieldTypeDescription
idstring (uuid)Unique transaction ID.
referencestringClient reference.
accountIdstring (uuid)Account ID.
createdAtstring (datetime)Timestamp of creation (ISO 8601).
transactionTypestringTransaction type: bank, crypto, or trade.
coinsarray of stringsCoins involved in the transaction.
statusstringTransaction status (e.g., pending, completed, failed).
statusReasonstringReason for the current status.
statusHistoryarrayHistory of status changes.
accountobjectAccount summary.
account.accountIdstring (uuid)Account ID.
account.emailstringAccount email.
auditobjectAudit information about who created the transaction.
audit.adminIdstring (uuid)ID of the workspace admin who created the transaction (optional).
audit.adminstringEmail of the workspace admin (optional).
audit.apiKeybooleanWhether the transaction was created via API key.
bankTransactionDetailsobjectBank transaction details (present when transactionType is bank). See List Transactions for field details.
cryptoTransactionDetailsobjectCrypto transaction details (present when transactionType is crypto). See List Transactions for field details.
tradeTransactionDetailsobjectTrade transaction details (present when transactionType is trade). See List Transactions for field details.

Support and Resources​

If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.

Stay Updated​

Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:

We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!