> ## 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.

# Create Pool Sell Transaction (v1)

> Create Pool Sell Transaction



## OpenAPI

````yaml /openapi-v1.json post /api/wallet-services/v2/transaction/pool/sell
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/wallet-services/v2/transaction/pool/sell:
    post:
      tags:
        - Offramp
      summary: Create Pool Sell Transaction (v1)
      description: Create Pool Sell Transaction
      operationId: create-pool-sell-transaction-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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                source_id:
                  type: string
                  description: The source_id field
                fiat_symbol:
                  type: string
                  description: The fiat_symbol field
                crypto_symbol:
                  type: string
                  description: The crypto_symbol field
                crypto_amount:
                  type: number
                  description: The crypto_amount field
                payment_method:
                  type: string
                  description: The payment_method field
                id:
                  type: string
                  description: The id field
                is_first_party:
                  type: boolean
                  description: Whether the transaction is a first-party transfer.
              required:
                - source_id
                - fiat_symbol
                - crypto_symbol
                - crypto_amount
                - payment_method
                - id
            example:
              source_id: 4fa8f319-ec13-4841-b808-4d4c16cb54c5
              fiat_symbol: INR
              crypto_symbol: USDT
              crypto_amount: 25
              payment_method: bank_transfer
              id: 07825d5d-1879-4cc7-a87f-f5ed45ee391b
      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
                      fiat_amount:
                        type: string
                      crypto_amount:
                        type: string
                      fiat_symbol:
                        type: string
                      crypto_symbol:
                        type: string
                      exchange_rate:
                        type: string
                      failure_code:
                        type: string
                      failure_desc:
                        type: string
                      created_at:
                        type: integer
              example:
                success: true
                data:
                  id: 0195a3a6-62c2-766b-b984-7f9f1754b3f1
                  transaction_type: POOL_SELL
                  status: PROCESSING
                  fiat_amount: '2114.24338826190476'
                  crypto_amount: '25'
                  fiat_symbol: INR
                  crypto_symbol: USDT
                  exchange_rate: '84.5697357304761905'
                  failure_code: ''
                  failure_desc: ''
                  created_at: 1742207345000

````

## Related topics

- [Create Sell Transaction (v1)](/api-reference/offramp/create-sell-transaction-v1.md)
- [Pool sell success v1](/api-reference/webhooks/pool-sell-success-v1.md)
- [Create Pool Buy Transaction (v1)](/api-reference/onramp/create-pool-buy-transaction-v1.md)
- [Create Buy Transaction (v1)](/api-reference/onramp/create-buy-transaction-v1.md)
- [Get Sell Transaction Details (v1)](/api-reference/offramp/get-sell-transaction-details-v1.md)
