Retrieve detailed information about specific stablecoin transactions using their unique transaction ID
GET /transactions/:id
Include your API key as a Bearer token in the request header:
Authorization: Bearer YOUR_API_KEY
curl https://api.stablepay.dev/v1/transactions/txn_789 \ -H "Authorization: Bearer YOUR_API_KEY"
Or using JavaScript:
fetch('https://api.stablepay.dev/v1/transactions/txn_789', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }) .then(res => res.json()) .then(data => console.log(data));
{ "id": "txn_789", "status": "confirmed", "asset": "USDC", "amount": "100.00", "from_wallet_id": "wallet_123", "to_address": "0xabc123def4567890abc123def4567890abc123de", "created_at": "2025-04-26T19:30:00Z", "confirmed_at": "2025-04-26T19:35:00Z", "transaction_hash": "0xdeadbeef1234567890abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef" }
Field Description