cURL
curl --request GET \ --url https://api.stablepay.global/v2/transactions/{transactionId} \ --header 'Authorization: Bearer <token>'
Get transaction details and status
Documentation IndexFetch the complete documentation index at: https://docs.stablepay.global/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.stablepay.global/llms.txt
Use this file to discover all available pages before exploring further.
curl https://api.stablepay.global/v2/transactions/txn_xyz789 \ -H "Authorization: Bearer YOUR_API_KEY"
{ "success": true, "data": { "transaction": { "id": "txn_xyz789", "status": "completed", "partnerReference": "order_456", "createdAt": "2025-06-15T10:30:00Z" }, "deposit": { "network": "polygon", "asset": "USDC", "address": "0x742d35Cc...", "expectedAmount": "100", "receivedAmount": "100", "txHash": "0xabc123...", "status": "confirmed", "confirmations": 30, "confirmedAt": "2025-06-15T10:35:00Z" }, "quote": { "exchangeRate": 84.50, "grossInr": "8450.00", "netInr": "8407.75" }, "payout": { "rail": "imps", "amountInr": "8407.75", "status": "completed", "utr": "123456789012", "completedAt": "2025-06-15T10:40:00Z" } } }