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

# Approve a refund

> A second owner or admin approves a large refund with their own PIN. The person who asked cannot approve it. Needs a signed-in dashboard session.



## OpenAPI

````yaml /openapi.json post /charges/{chargeId}/refunds/{refundId}/approve
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:
  /charges/{chargeId}/refunds/{refundId}/approve:
    parameters:
      - name: chargeId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: refundId
        in: path
        required: true
        schema:
          type: string
          format: uuid
    post:
      tags:
        - Refunds
      summary: Approve a refund
      description: >-
        A second owner or admin approves a large refund with their own PIN. The
        person who asked cannot approve it. Needs a signed-in dashboard session.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pin:
                  type: string
      responses:
        '200':
          description: Done.
        '400':
          description: The refund is not waiting, or it can no longer be stopped.
        '401':
          description: Missing, invalid, expired or restricted API key or session.
        '403':
          description: A different owner or admin must do this.
components:
  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.