# List wallets

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/wallets:
    get:
      summary: List wallets
      deprecated: false
      description: >
        Retrieve all wallets available in the closed-loop ecosystem.

        You can optionally filter wallets by business, status, or label.


        If no filters are provided, the endpoint returns all wallets in the
        system (paginated).

        This endpoint is ideal for building admin dashboards, verifying wallet
        existence, or managing wallet states across multiple businesses.
      operationId: list-wallets
      tags:
        - Vrtx Closed loop/Wallets
        - Wallets
      parameters:
        - name: business_id
          in: query
          description: Filter wallets belonging to a specific business.
          required: false
          example: 85fee10b-e47f-46c6-b5c3-e0d34c5060b3
          schema:
            type: string
        - name: status
          in: query
          description: Wallet lifecycle status (for example ACTIVE or INACTIVE).
          required: false
          example: ACTIVE
          schema:
            type: string
        - name: label
          in: query
          description: Filter by label name or identifier (case insensitive).
          required: false
          example: Vendor settlement
          schema:
            type: string
        - name: wallet_kind
          in: query
          description: Optional wallet kind hint (for example OPERATIONAL or CLEARING).
          required: false
          example: OPERATIONAL
          schema:
            type: string
        - name: limit
          in: query
          description: >-
            Maximum number of wallets to return in this page (1..200, default
            10).
          required: false
          example: 50
          schema:
            type: integer
            format: int32
        - name: cursor
          in: query
          description: >-
            Opaque cursor returned by a previous page when continuing
            pagination.
          required: false
          example: eyJvZmZzZXQiOiI4NGFmIn0=
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                x-apidog-orders: []
                properties: {}
                x-apidog-ignore-properties: []
              examples:
                WalletList:
                  summary: WalletList
                  value:
                    items:
                      - id: c679a509-ede8-4dce-8b02-f2323b2e0299
                        business_id: 85fee10b-e47f-46c6-b5c3-e0d34c5060b3
                        name: Operational Wallet
                        can_overdraft: false
                        status: ACTIVE
                        account_number: '010300006011'
                        currency: SAR
                        balance: '0.00'
                        created_at: '2025-10-25T12:35:16.446Z'
                        updated_at: '2025-10-25T12:35:16.446Z'
                      - id: 16fc1ee7-3728-4fd2-bb2e-425d04dfd07c
                        business_id: 85fee10b-e47f-46c6-b5c3-e0d34c5060b3
                        name: Clearing Wallet SAR
                        external_reference: clearing-sar
                        can_overdraft: true
                        status: ACTIVE
                        account_number: '010300006029'
                        currency: SAR
                        balance: '0.00'
                        created_at: '2025-10-25T12:35:16.446Z'
                        updated_at: '2025-10-25T12:35:16.446Z'
                      - id: ca3e06bc-4581-431d-98e7-bfe63b2c3e05
                        business_id: 84a86c0f-39bb-41e6-a531-7065a32b990a
                        name: Operational Wallet
                        can_overdraft: false
                        status: ACTIVE
                        account_number: '009200005016'
                        currency: SAR
                        balance: '0.00'
                        created_at: '2025-10-25T11:02:50.415Z'
                        updated_at: '2025-10-25T11:02:50.415Z'
                      - id: 6b69e92b-cbc2-4577-9256-17c21df93fd1
                        business_id: 84a86c0f-39bb-41e6-a531-7065a32b990a
                        name: Clearing Wallet SAR
                        external_reference: clearing-sar
                        can_overdraft: true
                        status: ACTIVE
                        account_number: '009200005024'
                        currency: SAR
                        balance: '0.00'
                        created_at: '2025-10-25T11:02:50.415Z'
                        updated_at: '2025-10-25T11:02:50.415Z'
                      - id: 50b1e36f-5efa-41ad-949a-d4c307041bb4
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        name: Marketplace Wallet 11982
                        external_reference: WALLET-MP-11982
                        can_overdraft: false
                        status: ACTIVE
                        account_number: '054200004015'
                        currency: SAR
                        balance: '0.00'
                        created_at: '2025-10-25T09:28:47.949Z'
                        updated_at: '2025-10-25T09:37:39.091Z'
                      - id: 89dc25e6-1c92-4fc7-b533-1f1c76c13f58
                        business_id: 9fa5cea8-6edb-4196-800f-8809e08f1365
                        name: Clearing Wallet SAR
                        external_reference: clearing-sar
                        can_overdraft: true
                        status: ACTIVE
                        account_number: '099800003032'
                        currency: SAR
                        balance: '-1000.00'
                        created_at: '2025-10-25T07:21:02.725Z'
                        updated_at: '2025-10-25T07:48:18.345Z'
                      - id: 1184dd97-0a2f-410f-9c3c-3e3da3aa778d
                        business_id: 9fa5cea8-6edb-4196-800f-8809e08f1365
                        name: Operational Wallet
                        can_overdraft: false
                        status: ACTIVE
                        account_number: '099800003024'
                        currency: SAR
                        balance: '1000.00'
                        created_at: '2025-10-25T07:21:02.725Z'
                        updated_at: '2025-10-25T07:48:18.345Z'
                      - id: 622ea233-3f21-450f-8758-e42cdd4e5e74
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        name: Wallet for marketplace revenue
                        external_reference: WALLET-Revenue-123
                        can_overdraft: false
                        status: ACTIVE
                        account_number: '054200003017'
                        currency: SAR
                        balance: '0.00'
                        created_at: '2025-10-25T07:13:51.196Z'
                        updated_at: '2025-10-25T07:13:51.196Z'
                      - id: 1e410c63-5614-4e7c-8d4a-b872871ac92a
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        name: Wallet for merchant 1920
                        can_overdraft: true
                        status: ACTIVE
                        account_number: '054200002027'
                        currency: SAR
                        balance: '1.00'
                        created_at: '2025-10-25T05:59:11.279Z'
                        updated_at: '2025-10-25T09:03:48.612Z'
                      - id: 75304aff-2adc-4964-9ba8-a67eba92d311
                        business_id: 2bb58ca6-1b9a-47b4-ab4d-b2996f0498f3
                        name: Wallet for merchant 1909
                        can_overdraft: false
                        status: ACTIVE
                        account_number: '054200002019'
                        currency: SAR
                        balance: '4.50'
                        created_at: '2025-10-25T05:58:37.332Z'
                        updated_at: '2025-10-25T08:51:20.005Z'
                    next_cursor: >-
                      MjAyNS0xMC0yNVQwNTo1ODozNy4zMzIwMzVafDc1MzA0YWZmLTJhZGMtNDk2NC05YmE4LWE2N2ViYTkyZDMxMQ
                    has_next: true
          headers: {}
          x-apidog-name: OK
        '401':
          description: Not Authorized
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Unauthorized:
                  summary: Unauthorized
                  value:
                    error_code: UNAUTHORIZED_ACCESS
                    error_message: You are not authorized to access this resource.
                    details:
                      - field: authorization
                        message: Valid Bearer token required
                        code: unauthorized_access
                    status_code: 401
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: Not Allowed
          content:
            application/json:
              schema: *ref_0
              examples:
                Forbidden:
                  summary: Forbidden
                  value:
                    error_code: FORBIDDEN
                    error_message: Forbidden
                    details:
                      - field: authorization
                        message: Insufficient permissions to access this resource
                        code: forbidden
                    status_code: 403
          headers: {}
          x-apidog-name: Forbidden
        '404':
          description: Business Not Found
          content:
            application/json:
              schema: *ref_0
              examples:
                BusinessNotFound:
                  summary: BusinessNotFound
                  value:
                    error_code: BUSINESS_NOT_FOUND
                    error_message: Business not found
                    details:
                      - field: resource
                        message: Business with the specified ID was not found
                        code: BUSINESS_NOT_FOUND
                    status_code: 404
          headers: {}
          x-apidog-name: Not Found
      security:
        - bearerAuth3: []
          x-apidog:
            schemeGroups:
              - id: 0BmBO41Tab4mfOlFuU9cA
                schemeIds:
                  - bearerAuth3
            required: true
            use:
              id: 0BmBO41Tab4mfOlFuU9cA
            scopes:
              0BmBO41Tab4mfOlFuU9cA:
                bearerAuth3: []
      x-apidog-folder: Vrtx Closed loop/Wallets
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1053095/apis/api-24814175-run
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error_code:
          type: string
        error_message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
        status_code:
          type: integer
          format: int32
      x-apidog-orders:
        - error_code
        - error_message
        - details
        - status_code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ErrorDetail:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
      x-apidog-orders:
        - field
        - message
        - code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth1:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
    bearerAuth2:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth3:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT issued by Keycloak. The client_id/azp in the token must map to a
        configured tenant (public, fai, neomrs; e.g., fai-sandbox -> fai) or
        requests will return 403.
    bearerAuth4:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.sandbox.vrtx.sa
    description: Sandbox
security:
  - bearer: []

```
