Skip to main content
GET
/
transactions
curl -X GET "https://onramp.staging-portal.abs.xyz/transactions/status?sessionId=WePzm7gRdUgis7VHQjMYYL"
{
  "sessionId": "WePzm7gRdUgis7VHQjMYYL",
  "status": "COMPLETED",
  "amount": 100,
  "currency": "USD",
  "destinationAmount": 68.017348,
  "destinationCurrency": "USDC_BASE",
  "transactionHash": "0x1234567890abcdef...",
  "walletAddress": "0xfc61f1b7701f6765ff548b3bca403cdaa723d260",
  "serviceProvider": "TRANSAK",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:35:00Z"
}
Retrieves transaction status for onramp purchases.
  • /transactions/status for a single transaction
  • /transactions for multiple transactions

Get Single Transaction Status

GET /transactions/status Gets the status of a single transaction using the session ID.
sessionId
string
required
The session ID from the widget redirect URL query parameters

Get Multiple Transactions

GET /transactions Gets all transactions for a user or app. Provide either walletAddress or referrer (or both) to filter transactions.
walletAddress
string
The wallet address to get transactions for
referrer
string
The name of the app to get transactions for

Response

The response format varies depending on the endpoint used. Both endpoints return transaction objects with status information.
status
string
Current status of the transaction (e.g., “PENDING”, “COMPLETED”, “FAILED”)
amount
number
Transaction amount in source currency
currency
string
Source currency code
destinationAmount
number
Amount received in destination currency
destinationCurrency
string
Destination currency code
transactionHash
string
Blockchain transaction hash (when available)
createdAt
string
Transaction creation timestamp
updatedAt
string
Last update timestamp
curl -X GET "https://onramp.staging-portal.abs.xyz/transactions/status?sessionId=WePzm7gRdUgis7VHQjMYYL"
{
  "sessionId": "WePzm7gRdUgis7VHQjMYYL",
  "status": "COMPLETED",
  "amount": 100,
  "currency": "USD",
  "destinationAmount": 68.017348,
  "destinationCurrency": "USDC_BASE",
  "transactionHash": "0x1234567890abcdef...",
  "walletAddress": "0xfc61f1b7701f6765ff548b3bca403cdaa723d260",
  "serviceProvider": "TRANSAK",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:35:00Z"
}
I