Skip to main content
GET
https://api.stablepay.global
/
v2
/
transactions
/
{transactionId}
Get Transaction
curl --request GET \
  --url https://api.stablepay.global/v2/transactions/{transactionId} \
  --header 'Authorization: Bearer <token>'

Get Transaction

Retrieves full transaction details including deposit and payout status.

Request

curl https://api.stablepay.global/v2/transactions/txn_xyz789 \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "success": true,
  "data": {
    "transaction": {
      "id": "txn_xyz789",
      "status": "completed",
      "partnerReference": "order_456",
      "createdAt": "2025-01-05T10:30:00Z"
    },
    "deposit": {
      "network": "polygon",
      "asset": "USDC",
      "address": "0x742d35Cc...",
      "expectedAmount": "100",
      "receivedAmount": "100",
      "txHash": "0xabc123...",
      "status": "confirmed",
      "confirmations": 30,
      "confirmedAt": "2025-01-05T10:35:00Z"
    },
    "quote": {
      "exchangeRate": 84.50,
      "grossInr": "8450.00",
      "netInr": "8407.75"
    },
    "payout": {
      "rail": "imps",
      "amountInr": "8407.75",
      "status": "completed",
      "utr": "123456789012",
      "completedAt": "2025-01-05T10:40:00Z"
    }
  }
}