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

# Buy pricing

> Get buy-side gift card pricing. Scope: `gift-cards:read`.



## OpenAPI

````yaml POST /api/v1/merchant/gift-cards/pricing
openapi: 3.1.0
info:
  title: SendPadi Merchant API
  version: 1.0.0
  description: >-
    Merchant REST API. Authenticate with HMAC headers (`X-Api-Key`,
    `X-Timestamp`, `X-Signature`). Generate playground headers with [Sign
    requests (playground)](/guides/sign-requests).
servers:
  - url: https://api.sendpadi.com
    description: Production (test + live keys)
security: []
paths:
  /api/v1/merchant/gift-cards/pricing:
    post:
      tags:
        - gift-cards
      summary: Buy pricing
      description: Get buy-side gift card pricing. **Scope:** `gift-cards:read`.
      operationId: api-reference_gift-cards_pricing
      parameters:
        - name: X-Timestamp
          in: header
          required: true
          description: Unix time in seconds
          schema:
            type: string
        - name: X-Signature
          in: header
          required: true
          description: HMAC-SHA256 signature
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                productId:
                  type: integer
                amount:
                  type: integer
              required:
                - productId
                - amount
            example:
              productId: 12345
              amount: 25
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                success: true
                message: OK
                data:
                  amount: 25
                  currency: USD
                  payableAmount: 26000
                  payableCurrency: NGN
              examples:
                success:
                  summary: Success
                  value:
                    success: true
                    message: OK
                    data:
                      amount: 25
                      currency: USD
                      payableAmount: 26000
                      payableCurrency: NGN
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key id (sp_test_… / sp_live_…)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.