Skip to main content
Fetch details of a completed onramp transaction with a cryptocurrency withdrawal — fees, payment method, status, and more.

Endpoint

URL: https://api.saber.money/api/v2/wallet/w/transaction/buy/{transaction_id}
Method: GET

Headers


Request Parameters

Sample request:

Response

Sample response:

Key Response Fields


Notes

  1. Transaction Status: Common statuses include CREATED, ONRAMP_INITIATED, ONRAMP_COMPLETED, ONRAMP_INCONSISTENT, PROCESSING, COMPLETED, FAILED, REFUND_INITIATED, REFUND_COMPLETED, and REFUND_FAILED. Use this field to determine the progress of the transaction. (The withdrawal-in-progress phase is reported as PROCESSING.)
  2. Fee Details: total_fee gives the overall fee, while fee_breakup provides granular insights like platform and network fees.
  3. Network and Wallet Address: Ensure that the withdraw_address and network match the user’s intended withdrawal details.
  4. Transaction Type: transaction_type will be ONRAMP_AND_WITHDRAW for most accounts but may be CRYPTO_BUY for migrated accounts; clients should accept both values.
  5. Use Cases: Monitor the transaction progress; provide detailed insights to users about their transaction history.
API Reference: Fetch Buy Transaction Status