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

# Retrieve the business treasury

> Returns the treasury wallet, settlement configuration, and summarized balances for the authenticated environment. Sandbox may provision on first access; live must be provisioned by NorthFond.



## OpenAPI

````yaml /openapi.json get /api/v1/business/treasury
openapi: 3.1.0
info:
  title: NorthFond Business API
  version: 1.0.0
  summary: Provider-neutral stablecoin on-ramp and off-ramp infrastructure.
  description: >-
    NorthFond lets businesses accept payments, inspect treasury balances,
    provision or register EVM wallets, store beneficiaries, request quotes,
    initiate on-ramps and off-ramps, confirm settlement, and track transactions.
    Sandbox and live credentials use the same API contract and remain isolated.
  contact:
    name: NorthFond API Support
servers:
  - url: https://payment.gideondevrel.xyz
    description: Configured NorthFond API environment
security:
  - ApiKeyAuth: []
tags:
  - name: Account
    description: Authenticated business context.
  - name: Customers
    description: Business-owned customers and managed wallets.
  - name: Beneficiaries
    description: Encrypted, reusable payout destinations.
  - name: Wallets
    description: Managed and external EVM funding wallets.
  - name: Quotes
    description: Provider-neutral off-ramp prices.
  - name: Off-ramps
    description: Stablecoin-to-fiat payout initiation.
  - name: On-ramps
    description: Fiat-to-stablecoin deposit initiation.
  - name: Payment intents
    description: Customer payment collection and lifecycle management.
  - name: Treasury
    description: Business settlement wallet, balances, deposits, and ledger activity.
  - name: Transactions
    description: Payment status, events, and settlement.
externalDocs:
  description: NorthFond developer documentation
  url: /docs
paths:
  /api/v1/business/treasury:
    get:
      tags:
        - Treasury
      summary: Retrieve the business treasury
      description: >-
        Returns the treasury wallet, settlement configuration, and summarized
        balances for the authenticated environment. Sandbox may provision on
        first access; live must be provisioned by NorthFond.
      operationId: getTreasury
      responses:
        '200':
          description: Treasury returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Treasury'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Treasury:
      type: object
      required:
        - id
        - environment_id
        - wallet
        - settlement
        - status
        - balances
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        environment_id:
          type: string
          format: uuid
        wallet:
          type: object
          required:
            - id
            - address
            - chain
            - supported_chains
            - asset
            - ownership_status
          properties:
            id:
              type: string
              format: uuid
            address:
              type: string
              pattern: ^0x[0-9a-fA-F]{40}$
            chain:
              const: evm
            supported_chains:
              type: array
              items:
                const: base
            asset:
              const: USDC
            ownership_status:
              const: managed
        settlement:
          type: object
          required:
            - mode
            - asset
            - chain
          properties:
            mode:
              type: string
              enum:
                - stablecoin
                - local_currency
            asset:
              const: USDC
            chain:
              const: base
        status:
          type: string
        balances:
          $ref: '#/components/schemas/TreasuryBalances'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    TreasuryBalances:
      type: object
      required:
        - asset
        - chain
        - decimals
        - available
        - pending
        - reserved
        - settling
        - total
      properties:
        asset:
          const: USDC
        chain:
          const: base
        decimals:
          const: 6
        available:
          $ref: '#/components/schemas/TreasuryAmount'
        pending:
          $ref: '#/components/schemas/TreasuryAmount'
        reserved:
          $ref: '#/components/schemas/TreasuryAmount'
        settling:
          $ref: '#/components/schemas/TreasuryAmount'
        total:
          $ref: '#/components/schemas/TreasuryAmount'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - requestId
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
            requestId:
              type: string
              format: uuid
            details: {}
    TreasuryAmount:
      type: object
      required:
        - atomic
        - amount
      properties:
        atomic:
          type: string
          pattern: ^-?\d+$
          example: '1000000'
        amount:
          type: string
          example: '1'
  responses:
    BadRequest:
      description: The request is invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: The API key is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: The API key lacks the required scope or the source IP is not allowed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The tenant-scoped resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Conflict:
      description: The request conflicts with current resource or idempotency state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UnprocessableEntity:
      description: The request is understood but cannot be processed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: The credential rate limit was exceeded.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unavailable:
      description: A required service or environment configuration is unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: nf_test_… or nf_live_…
      description: A secret NorthFond business API key. Keep it on your server.

````