> ## 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.

# Get credit account summary

> Returns the credit snapshot for your account, including available credit, credit limit, credit used, outstanding debt, account status and repayment due date. This is the same credit snapshot included in the wallet balance overview.



## OpenAPI

````yaml /openapi/openapi.json get /partner/wallets/credit
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:
    get:
      tags:
        - Wallets
      summary: Get credit account summary
      description: >-
        Returns the credit snapshot for your account, including available
        credit, credit limit, credit used, outstanding debt, account status and
        repayment due date. This is the same credit snapshot included in the
        wallet balance overview.
      operationId: get_partner_wallets_credit
      responses:
        '200':
          content:
            application/json:
              example:
                data:
                  available_credit: '10000.00'
                  credit_limit: '12000.00'
                  credit_used: '2000.00'
                  currency: USD
                  net_negative: '2000.00'
                  net_positive: '0.00'
                  next_due_at: '2026-10-09T10:00:00Z'
                  outstanding: '2000.00'
                  overdue: false
                  status: active
                  updated_at: '2026-10-06T10:00:00Z'
                  withdrawal_blocked: true
                status: success
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/CreditSnapshotResponse'
                  status:
                    enum:
                      - success
                    type: string
                required:
                  - status
                  - data
                type: object
          description: Credit summary
        '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:
    CreditSnapshotResponse:
      description: >-
        Credit information included in the wallet balance overview when
        applicable.
      properties:
        available_credit:
          description: >-
            Additional credit currently available after both user and pool
            limits.
          example: '1000000.00'
          type: string
        credit_limit:
          description: Configured maximum credit exposure for this account.
          example: '1500000.00'
          type: string
        credit_used:
          description: >-
            Total credit in use, including open-order commitments and drawn
            debt.
          example: '500000.00'
          type: string
        currency:
          description: Credit line denomination. Credit exposure is normalized to USD.
          example: USD
          type: string
        net_negative:
          description: Drawn, unpaid credit exceeding the current USD wallet balance.
          example: '0.00'
          type: string
        net_positive:
          description: USD wallet balance remaining after subtracting drawn, unpaid credit.
          example: '250000.00'
          type: string
        next_due_at:
          description: Earliest due date among unpaid draw lots.
          type:
            - string
            - 'null'
        outstanding:
          description: Drawn credit that has not yet been repaid.
          example: '500000.00'
          type: string
        overdue:
          description: Whether any unpaid draw is overdue.
          example: false
          type: boolean
        status:
          description: Credit account status.
          example: active
          type: string
        updated_at:
          description: >-
            Projection timestamp used by streaming clients to reject older REST
            baselines.
          type:
            - string
            - 'null'
        withdrawal_blocked:
          description: >-
            Legacy debt indicator. This does not mean all withdrawals are
            blocked;

            withdrawal submission enforces an asset-specific protected floor.
          example: true
          type: boolean
      required:
        - currency
        - available_credit
        - net_positive
        - net_negative
        - credit_limit
        - credit_used
        - outstanding
        - status
        - overdue
        - withdrawal_blocked
      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.