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

# Gift Card Orders

> Gets a paginated list of gift card purchase orders.



## OpenAPI

````yaml /novacrust-open-api-v2.yaml get /api/v1/business/open/gift-card/orders
openapi: 3.0.0
info:
  title: Open-API
  description: The http Integration API description
  version: '1.0'
  contact: {}
servers:
  - url: http://localhost:3050
    description: Local environment
  - url: https://api-staging.novacrust.com
    description: Staging environment
  - url: https://api-dev.novacrust.com
    description: Develop environment
security:
  - api-key: []
tags:
  - name: Customer
    description: ''
  - name: Payout Methods
    description: ''
  - name: Beneficiary
    description: ''
  - name: Payout
    description: ''
  - name: Transactions
    description: ''
  - name: Buy Gift Card
    description: ''
  - name: Sell Gift Card
    description: ''
  - name: Miscellaneous
    description: ''
paths:
  /api/v1/business/open/gift-card/orders:
    get:
      tags:
        - Buy Gift Card
      summary: Gift Card Orders
      description: Gets a paginated list of gift card purchase orders.
      operationId: getOrders
      parameters:
        - name: page
          required: false
          in: query
          description: Page number
          schema:
            minimum: 1
            default: 1
            example: 1
            type: number
        - name: limit
          required: false
          in: query
          description: Number of items per page
          schema:
            minimum: 1
            maximum: 100
            default: 10
            example: 10
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetGiftCardOrdersResponseDTO'
      security:
        - access-token: []
components:
  schemas:
    GetGiftCardOrdersResponseDTO:
      type: object
      properties:
        message:
          type: string
          example: Orders retrieved successfully
        data:
          type: array
          items:
            $ref: '#/components/schemas/GiftCardOrderDTO'
        pagination:
          $ref: '#/components/schemas/PaginationMetaDTO'
      required:
        - message
        - data
        - pagination
    GiftCardOrderDTO:
      type: object
      properties:
        uuid:
          type: string
        amount:
          type: number
        quantity:
          type: number
        totalAmount:
          type: number
        totalFee:
          type: number
        platformFee:
          type: number
        providerFee:
          type: number
        currencyCode:
          type: string
        recipientEmail:
          type: string
        reference:
          type: string
        status:
          type: string
        providerTransactionId:
          type: string
          nullable: true
        productName:
          type: string
        createdAt:
          format: date-time
          type: string
      required:
        - uuid
        - amount
        - quantity
        - totalAmount
        - totalFee
        - platformFee
        - providerFee
        - currencyCode
        - recipientEmail
        - reference
        - status
        - productName
        - createdAt
    PaginationMetaDTO:
      type: object
      properties:
        page:
          type: number
        limit:
          type: number
        total:
          type: number
        totalPages:
          type: number
        hasNext:
          type: boolean
        hasPrevious:
          type: boolean
      required:
        - page
        - limit
        - total
        - totalPages
        - hasNext
        - hasPrevious
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: authorization

````

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