cURL
curl --request GET \ --url https://api-staging.stablestack.xyz/api/customers/transactions/by_ref_id/{reference_id} \ --header 'x-api-key: <x-api-key>'
{ "status": "success", "data": [ { "id": "790ddbf6-b145-4d43-bd13-93b05cc202a2", "sender_wallet_id": "6684cc88-7434-4a0e-bc2c-abee383368b7", "receiver_wallet_id": null, "transaction_id": "X2APAWCOE6", "asset_code": "usdt", "amount": "1.00000000", "reference_id": "980ddbf6-b145-4d43-bd13-93b05cc202a2", "status": "COMPLETED", "created_at": "2025-04-02T22:06:03.507Z", "updated_at": "2025-04-02T22:06:03.507Z", "crypto_transaction_id": null, "network": null, "transaction_type": "INTERNAL TRANSFER", "transaction_mode": "DEBIT", "exchange_rate": null, "withdrawal_recipient_name": null, "fee": null, "balance": "0.00000000", "reason": null, "customer_id": null, "recipient_currency": null, "recipient_country": null, "bank_name": null, "bank_code": null, "address": null, "bank_account": null } ] }
API reference for fetching a transaction by Reference ID
reference_id
980ddbf6-b145-4d43-bd13-93b05cc202a2
Transactions retrieved successfully
The response is of type object.
object