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

# Get payout terms

> When automatic payouts go out and what an instant payout costs.



## OpenAPI

````yaml /openapi.json get /payouts/rules
openapi: 3.0.3
info:
  title: LuminPay API
  version: 1.0.0
  description: >-
    Accept stablecoin and Bitcoin payments and settle in naira. Use a lmp_test_
    key with the Sandbox server and a lmp_live_ key with the Live server.
servers:
  - url: https://sandbox-api.luminpay.co
    description: Sandbox (testnet)
  - url: https://api.luminpay.co
    description: Live
security:
  - apiKey: []
tags:
  - name: Charges
  - name: Webhooks
  - name: Payment links
  - name: Invoices
  - name: Payouts
  - name: Refunds
paths:
  /payouts/rules:
    get:
      tags:
        - Payouts
      summary: Get payout terms
      description: When automatic payouts go out and what an instant payout costs.
      responses:
        '200':
          description: The current rules.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayoutRules'
        '400':
          description: Invalid request.
        '401':
          description: Missing, invalid, expired or restricted API key or session.
      security:
        - apiKey: []
components:
  schemas:
    PayoutRules:
      type: object
      description: Payout terms. Amounts are in naira.
      properties:
        dailyMinimumNgn:
          type: number
          example: 5000
          description: Balance needed for the automatic daily payout.
        smallBalanceDay:
          type: integer
          example: 5
          description: >-
            Day of the week (0 = Sunday) when smaller balances are also paid
            out.
        smallBalanceMinimumNgn:
          type: number
          example: 100
        instantFeePercent:
          type: number
          example: 1
        instantFeeMinNgn:
          type: number
          example: 100
        instantFeeMaxNgn:
          type: number
          example: 1000
        instantMinimumNgn:
          type: number
          example: 1000
          description: Smallest instant payout.
        secondApprovalAboveNgn:
          type: number
          example: 0
          description: Payouts above this need a second approval. 0 means off.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: lmp_test_... or lmp_live_...
      description: >-
        Your secret API key from Developers → API keys. A key can be limited in
        the dashboard: read only (GET requests only), allowed IP addresses, and
        an expiry date. A request outside a limit is refused with 401 or 403 and
        a message saying which limit.

````

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