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

# Cancel a payment

> Cancel a payment in PENDING_REVIEW or CORRECTION_NEEDED status.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/payment/{id}/cancel
openapi: 3.1.0
info:
  title: Nuvera API
  description: Nuvera Payment Platform REST API
  version: '1.0'
  contact: {}
servers:
  - url: http://localhost:45000
security: []
tags: []
paths:
  /api/v1/payment/{id}/cancel:
    post:
      tags:
        - Payments
      summary: Cancel a payment
      description: Cancel a payment in PENDING_REVIEW or CORRECTION_NEEDED status.
      operationId: PaymentController_cancel
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '201':
          description: ''
      security:
        - x-api-key: []
          signed-request: []
components:
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: Nuvera API application secret key
    signed-request:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: RS256 per-request signed JWT

````