---
title: "Rembourser un paiement."
method: POST
path: "/payments/{paymentId}/refund"
tags: ["Paiements"]
---

# Rembourser un paiement.

`POST /payments/{paymentId}/refund`

<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

- `paymentId` integer, required

## Query parameters

- `comment` string
- `cancelOrder` boolean
- `sendRefundMail` boolean
- `amount` integer

## Headers

- `x-mfa-access-authorization` string
- `x-mfa-sms-access-authorization` string
- `x-mfa-password-authorization` string

## Response `200`

Success

- HelloAssoApiV5CommonModelsPaymentRefundOperationModel — RefundOperationModel class
  - `id` integer — The refund operation id
  - `amount` integer — The amount to refund
  - `cancelOrder` boolean — Whether the future payments and linked items of this order must be canceled (possible only if the payment is fully refunded)
  - `creationDate` string, date-time — The refund operation creation date
  - `state` 'Unknown' | 'Init' | 'Processing' | 'Processed' | 'Error' | 'InternalError' | 'Refused' | 'Aborted' | 'Canceled'
  - `sendRefundMail` boolean — Whether a refund mail must be send or not.
  - `paymentId` integer — The payment id

## 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
- `409` — ### Multi-Factor Authentication Required This endpoint requires MFA. Below are the possible error codes and required headers: --- **Code: `AuthorizationErrors.MFA.AccessTokenRequired`** MFA token not found <br/><br/> A MFA token is expected in x-mfa-access-authorization header or in cookie mfa-{protectedOperation}-{organizationId}. --- **Code: `AuthorizationErrors.MFA.AccessOtpSmsRequired`** MFA access otp sms not found <br/><br/> A MFA token is expected in x-mfa-sms-access-authorization header or in cookie mfa-{protectedOperation}-{organizationId}-otp-sms. --- **Code: `AuthorizationErrors.MFA.AccessPasswordTokenRequired`** MFA access password token not found <br/><br/> A MFA token is expected in x-mfa-password-authorization header or in cookie mfa-{protectedOperation}-{organizationId}-pwd. --- **Code: `AuthorizationErrors.UserNotEnrolled`** User 123 not enrolled

---

[API](https://skmtc.net/helloasso/apis/api-authentication-access-token.md) · [All operations](https://skmtc.net/helloasso/apis/api-authentication-access-token/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helloasso/api-authentication-access-token/versions/b8cd7d9ae24e/schema)
