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

# Annuler un paiement

> Annule un paiement en attente.



## OpenAPI

````yaml openapi.fr.json post /v1/payments/{id}/cancel
openapi: 3.0.0
info:
  title: Inflow API
  version: 1.0.0
  description: Service d'API pour la gestion des cartes clients
  contact:
    name: API Support
servers:
  - url: https://sandbox.inflowafrica.com/api
    description: Bac à sable
  - url: https://app.inflowpay.net/api
    description: Production
  - url: http://localhost:3000/api
    description: Local
security:
  - bearerAuthFr: []
tags: []
paths:
  /v1/payments/{id}/cancel:
    post:
      tags:
        - External API - Payments
      summary: Annuler un paiement
      description: Annule un paiement en attente.
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Paiement annulé
        '400':
          description: Le paiement ne peut pas être annulé
        '404':
          description: Paiement introuvable
      security:
        - apiKeyAuthFr: []
components:
  securitySchemes:
    bearerAuthFr:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Saisissez le jeton JWT
    apiKeyAuthFr:
      type: http
      scheme: bearer
      description: Saisissez votre clé API commençant par gtw_sk_

````