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

# List grants for a wallet

> Returns every grant attached to a specific wallet.



## OpenAPI

````yaml /api-reference/v2/specs/2026-04-01.json get /wallets/{id}/grants
openapi: 3.1.0
info:
  title: Alguna Public API
  version: '2026-04-01'
servers:
  - url: https://api.alguna.io
security:
  - bearerAuth: []
tags:
  - name: Billing Events and Metrics
  - name: Credit Notes
  - name: Credits
  - name: Customer Portal Sessions
  - name: Customers
  - name: Insights
  - name: Invoices
  - name: Payments
  - name: Plans
  - name: Product Bundles
  - name: Products
  - name: Refunds
  - name: Revenue Schedules
  - name: Subscription Changes
  - name: Subscription Versions
  - name: Subscriptions
  - name: Wallet Grants
  - name: Wallets
paths:
  /wallets/{id}/grants:
    get:
      tags:
        - Wallet Grants
      summary: List grants for a wallet
      description: Returns every grant attached to a specific wallet.
      operationId: list-wallet-grants-by-wallet
      parameters:
        - in: header
          name: Alguna-Version
          required: true
          schema:
            enum:
              - '2026-04-01'
            type: string
        - in: path
          name: id
          required: true
          schema:
            description: Unique identifier for the wallet
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletGrantListResponse'
          description: Success
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    WalletGrantListResponse:
      properties:
        data:
          description: List of wallet grants
          items:
            $ref: '#/components/schemas/WalletGrantResponse'
          type: array
        pagination:
          allOf:
            - $ref: '#/components/schemas/PaginationMeta'
          description: Pagination metadata
      required:
        - data
        - pagination
      type: object
    ErrorResponse:
      properties:
        detail:
          type: string
        status:
          format: int64
          type: integer
      required:
        - status
        - detail
      type: object
    WalletGrantResponse:
      properties:
        amount:
          description: Amount of the grant
          type: string
        created_at:
          description: Timestamp when the grant was created
          example: '2026-04-01T10:00:00Z'
          format: date-time
          type: string
        description:
          description: Description of the grant
          nullable: true
          type: string
        expires_at:
          description: When the grant expires
          example: '2027-03-24T10:00:00Z'
          format: date-time
          nullable: true
          type: string
        id:
          description: Unique identifier for the wallet grant
          example: wgr_01H1VECT
          type: string
        invoice_id:
          description: Associated invoice identifier
          nullable: true
          type: string
        payment_id:
          description: Associated payment identifier
          nullable: true
          type: string
        status:
          description: Status of the grant
          enum:
            - pending
            - approved
            - voided
            - expired
          example: approved
          type: string
        updated_at:
          description: Timestamp when the grant was last updated
          example: '2026-04-01T12:30:00Z'
          format: date-time
          type: string
        wallet_id:
          description: Identifier of the wallet this grant belongs to
          example: wlt_01H2ABC
          type: string
      required:
        - amount
        - created_at
        - id
        - status
        - updated_at
        - wallet_id
      type: object
    PaginationMeta:
      properties:
        per_page:
          description: Number of items returned per page
          example: 20
          format: int64
          type: integer
        total_pages:
          description: Total number of pages available
          example: 5
          format: int64
          type: integer
      required:
        - per_page
        - total_pages
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http

````