> ## Documentation Index
> Fetch the complete documentation index at: https://guides.saber.money/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Buy Transaction Details (v1)

> Get Buy Transaction Details



## OpenAPI

````yaml /openapi-v1.json get /api/v2/wallet/w/transaction/buy/50232ef8-5d3f-4d04-9889-ad963ef34ff1
openapi: 3.1.0
info:
  title: Saber Money API (v1)
  version: v1
  description: >-
    ## Authentication


    There is no standalone API-key auth — every request must be **signed**. An
    API key by itself authenticates nothing. Each call requires four headers
    together: `X-Api-Key` (your key), `X-Signature` (HMAC-SHA256 of `apiKey +
    timestamp` — or `apiKey + timestamp + userId` when `X-User-Id` is required —
    keyed with your API secret), `X-Timestamp` (unix seconds), and
    `X-Request-Id` (any unique string per request). The signature must be
    computed by a client script; there is no way to derive it by hand. Use the
    HMAC Generator flow to compute valid values for manual testing.


    ## Common Authentication Errors


    - **Invalid Client ID**: {"error_code":6092,"message":"X-Client-Id
    invalid","success":false}

    - **Invalid Secret**: {"error_code":6090,"message":"invalid
    secret","success":false}

    - **Timestamp (Older than 10 secs)**:
    {"errors":{"error_code":6093,"text":"timestamp expired"},"success":false}
servers:
  - url: https://api.saber.money
security: []
paths:
  /api/v2/wallet/w/transaction/buy/50232ef8-5d3f-4d04-9889-ad963ef34ff1:
    get:
      tags:
        - Onramp
      summary: Get Buy Transaction Details (v1)
      description: Get Buy Transaction Details
      operationId: get-buy-transaction-details-v1
      parameters:
        - name: X-Api-Key
          in: header
          required: true
          description: Your API key (configured in credentials)
          schema:
            type: string
        - name: X-Signature
          in: header
          required: true
          description: >-
            HMAC-SHA256 signature (auto-generated) To test manually: HMAC-SHA256
            of `apiKey + timestamp` (or `apiKey + timestamp + userId` when
            X-User-Id is required), keyed with your API secret. The HMAC
            Generator flow computes this for you.
          schema:
            type: string
        - name: X-Timestamp
          in: header
          required: true
          description: >-
            Unix timestamp in seconds (auto-generated) Unix seconds, e.g.
            `Math.floor(Date.now() / 1000)`. Must match the timestamp used in
            the X-Signature computation.
          schema:
            type: string
        - name: X-Request-Id
          in: header
          required: true
          description: >-
            Unique request identifier (auto-generated) Any unique string per
            request, e.g. a UUID.
          schema:
            type: string
        - name: X-User-Id
          in: header
          required: true
          description: User UUID (set above)
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      transaction_type:
                        type: string
                      status:
                        type: string
                      failure_code:
                        type: string
                      failure_desc:
                        type: string
                      crypto_symbol:
                        type: string
                      fiat_symbol:
                        type: string
                      source_id:
                        type: string
                      payment_method:
                        type: string
                      withdraw_address:
                        type: string
                      network:
                        type: string
                      tag:
                        type: string
                      crypto_amount:
                        type: integer
                      fiat_amount:
                        type: number
                      base_price:
                        type: number
                      final_price:
                        type: number
                      total_fee:
                        type: number
                      fee_currency:
                        type: string
                      fee_breakup:
                        type: object
                      created_at:
                        type: integer
                      updated_at:
                        type: integer
                      txn_hash:
                        type: string
              example:
                success: true
                data:
                  id: 50232ef8-5d3f-4d04-9889-ad963ef34ff1
                  transaction_type: ONRAMP_AND_WITHDRAW
                  status: ONRAMP_COMPLETED
                  failure_code: ''
                  failure_desc: ''
                  crypto_symbol: USDT
                  fiat_symbol: INR
                  source_id: ''
                  payment_method: gpay_intent
                  withdraw_address: '0x1f4d75864f1ceb33a75e26ded3393caa55f87d8e'
                  network: BSC
                  tag: ''
                  crypto_amount: 20
                  fiat_amount: 1868.18
                  base_price: 92.53
                  final_price: 93.41
                  total_fee: 0.19
                  fee_currency: USDT
                  fee_breakup:
                    platform_fee: 0
                    network_fee: 0.19
                    client_fee: 0
                    discount: 0
                    tax_on_fee: 0
                    tds: 0
                  created_at: 1705491300000
                  updated_at: 1705491301000
                  txn_hash: ''

````

## Related topics

- [Get Transaction Details (v1)](/api-reference/offramp/get-transaction-details-v1.md)
- [Get Buy Quote (v1)](/api-reference/onramp/get-buy-quote-v1.md)
- [Get Sell Transaction Details (v1)](/api-reference/offramp/get-sell-transaction-details-v1.md)
- [Get Crypto Deposit Transaction Details (v1)](/api-reference/wallet-operations/get-crypto-deposit-transaction-details-v1.md)
- [Get Crypto Withdraw Transaction Details (v1)](/api-reference/wallet-operations/get-crypto-withdraw-transaction-details-v1.md)
