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

# List outstanding credit commitments

> Returns a cursor-paginated list of credit reserved for open orders and unpaid drawn credit grouped by order. Each item identifies its status, remaining outstanding amount and repayment due date when applicable. Pass next_cursor as cursor to continue.



## OpenAPI

````yaml /openapi/openapi.json get /partner/wallets/credit/outstanding
openapi: 3.1.0
info:
  contact:
    email: support@stabyl.com
    name: Stabyl Support
  description: >-
    REST API for approved Stabyl accounts to automate exchange, wallet, and
    non-production simulation workflows.
  license:
    name: Proprietary
  title: Stabyl API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.stabyl.com/v1
  - description: Staging
    url: https://api-staging.stabyl.com/v1
security: []
tags:
  - description: Trading market data and order management for account automation.
    name: Exchange
  - description: >-
      Supported routes, deposit destinations, balances, transactions, and saved
      recipients.
    name: Wallets
  - description: >-
      Outbound event delivery configuration and eventually consistent delivery
      history. Verify Standard Webhooks webhook-id, webhook-timestamp, and
      webhook-signature headers against the unchanged raw request body before
      parsing JSON.
    name: Webhooks
  - description: Non-production endpoints for testing integration behavior.
    name: Simulation
paths:
  /partner/wallets/credit/outstanding:
    get:
      tags:
        - Wallets
      summary: List outstanding credit commitments
      description: >-
        Returns a cursor-paginated list of credit reserved for open orders and
        unpaid drawn credit grouped by order. Each item identifies its status,
        remaining outstanding amount and repayment due date when applicable.
        Pass next_cursor as cursor to continue.
      operationId: get_partner_wallets_credit_outstanding
      parameters:
        - description: >-
            Opaque cursor returned as `next_cursor` by the previous response for
            this endpoint.
          in: query
          name: cursor
          required: false
          schema:
            type:
              - string
              - 'null'
        - description: Page size (default 20, max 100).
          in: query
          name: limit
          required: false
          schema:
            format: int32
            minimum: 0
            type:
              - integer
              - 'null'
      responses:
        '200':
          content:
            application/json:
              example:
                data:
                  items:
                    - amount: '2000.00'
                      currency: USD
                      due_at: '2026-10-09T10:00:00Z'
                      id: 01980d95-5537-76aa-88a8-ad59117632ee
                      kind: draw
                      opened_at: '2026-10-06T10:00:00Z'
                      order_id: 01980d95-5537-76aa-88a8-ad59117632ee
                      outstanding: '2000.00'
                      quote_currency: NGN
                      quote_outstanding: '3100000.00'
                      side: buy
                      status: open
                  next_cursor: null
                status: success
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/CreditCommitmentsResponse'
                  status:
                    enum:
                      - success
                    type: string
                required:
                  - status
                  - data
                type: object
          description: Outstanding commitments page
        '400':
          content:
            application/json:
              example:
                error:
                  code: VALIDATION_FAILED
                  message: invalid request parameters
                status: error
              schema:
                properties:
                  error:
                    properties:
                      code:
                        example: VALIDATION_FAILED
                        type: string
                      message:
                        example: invalid request parameters
                        type: string
                    required:
                      - code
                      - message
                    type: object
                  status:
                    enum:
                      - error
                    type: string
                required:
                  - status
                  - error
                type: object
          description: Invalid cursor
        '401':
          content:
            application/json:
              example:
                error:
                  code: UNAUTHORIZED
                  message: missing X-Api-Key header
                status: error
              schema:
                properties:
                  error:
                    properties:
                      code:
                        example: UNAUTHORIZED
                        type: string
                      message:
                        example: missing X-Api-Key header
                        type: string
                    required:
                      - code
                      - message
                    type: object
                  status:
                    enum:
                      - error
                    type: string
                required:
                  - status
                  - error
                type: object
          description: Unauthorized
      security:
        - api_key: []
components:
  schemas:
    CreditCommitmentsResponse:
      description: Paginated outstanding credit commitment list.
      properties:
        items:
          items:
            $ref: '#/components/schemas/CreditCommitmentItem'
          type: array
        next_cursor:
          type:
            - string
            - 'null'
      required:
        - items
      type: object
    CreditCommitmentItem:
      description: >-
        One outstanding credit commitment: an active reserve (credit committed
        to

        an open order) or open/overdue drawn credit grouped by order.
      properties:
        amount:
          description: Credit committed or drawn, in major units.
          example: '5000.00'
          type: string
        currency:
          example: USD
          type: string
        due_at:
          description: Earliest repayment due date among the order's open drawn lots.
          type:
            - string
            - 'null'
        id:
          format: uuid
          type: string
        kind:
          description: |-
            `reserve` for credit committed to an open order, `draw` for drawn
            credit grouped by order.
          example: draw
          type: string
        opened_at:
          type: string
        order_id:
          format: uuid
          type:
            - string
            - 'null'
        outstanding:
          description: Remaining outstanding credit, in major units.
          example: '5000.00'
          type: string
        quote_currency:
          example: NGN
          type:
            - string
            - 'null'
        quote_outstanding:
          description: |-
            Remaining commitment in the trade's quote currency, in major units,
            when known.
          example: '8250000.00'
          type:
            - string
            - 'null'
        side:
          description: Trade side (`buy`/`sell`) when the linked order is known.
          example: buy
          type:
            - string
            - 'null'
        status:
          description: '`reserved`, `open`, or `overdue`.'
          example: open
          type: string
      required:
        - id
        - kind
        - status
        - amount
        - outstanding
        - currency
        - opened_at
      type: object
  securitySchemes:
    api_key:
      description: >-
        API credential. Withdrawal quote and submit operations additionally
        require the documented Ed25519 timestamp, nonce, and signature headers.
      in: header
      name: X-Api-Key
      type: apiKey
      x-default: sb_test_your_key

````

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