---
title: "Annuler les paiements futurs pour une commande (pas de remboursement)."
method: POST
path: "/orders/{orderId}/cancel"
tags: ["Commandes"]
---

# Annuler les paiements futurs pour une commande (pas de remboursement).

`POST /orders/{orderId}/cancel`

## Request

- Base URL: `https://api.helloasso.com/v5`
- URL: `https://api.helloasso.com/v5/orders/{orderId}/cancel`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.helloasso.com/oauth2/token`

<br/><br/><b>Votre token doit avoir l'un de ces rôles : </b><br/>OrganizationAdmin<br/>FormAdmin<br/><br/>Si vous êtes une <b>association</b>, vous pouvez obtenir ces rôles avec votre client.<br/>Si vous êtes un <b>partenaire</b>, vous pouvez obtenir ces rôles par le flux d'autorisation.<br/><br/><b>Votre clientId doit être autorisé à tous ces privilèges : </b> <br/> RefundManagement<br/><br/>

## Path parameters

- `orderId` integer, required

## Response `200`

Success

## Other responses

- `401`: Unauthorized, you must add a valid JWT into Authorization Header with the format : `Bearer TOKEN`
- `403`: The JWT token hasn't the privileges or Roles for this action

---

[API](https://skmtc.dev/helloasso/apis/helloasso-api.md) - [All operations](https://skmtc.dev/helloasso/apis/helloasso-api/llms.txt) - [OpenAPI document](https://skmtc.dev/helloasso/apis/helloasso-api/revisions/2a79832cb30c?raw)
