Rembourser un paiement.



Votre token doit avoir l'un de ces rôles :
OrganizationAdmin
FormAdmin

Si vous êtes une association, vous pouvez obtenir ces rôles avec votre client.
Si vous êtes un partenaire, vous pouvez obtenir ces rôles par le flux d'autorisation.

Votre clientId doit être autorisé à tous ces privilèges :
RefundManagement

❗️

Remboursement partiel (BETA)

Effectuer un remboursement partiel sur une commande entraîne une incohérence dans le back-office de l'association. Bien que le solde du portefeuille (wallet) reste correct, la commande apparaîtra comme "payée" même si elle n'a pas été totalement remboursée.

Erreurs de remboursement

Lors qu'un remboursement échoue, une erreur HTTP 409, 400 vous est renvoyé avec un message erreur dans le body.

Format

{
  "errors": [
    {
      "code": "Error",
      "message": "Code : [CODE_ERREUR] - [MESSAGE_ERREUR]"
    }
  ]
}

Type d'erreur

CodeMessage
101The payment specified is not found, payment id : '{0}'
102The source wallet is not found.
103The target wallet is not found.
104The specified operation is not found.
105The specified operation is already reconcile.
106There are multiple matched transactions for the specified operation.
107The amount between the specified operation and the partner transaction doesn't match.
108The specified operation state is processed but the partner transaction is not authorized.
109Reconcile request time out.
110Reconcile request error not managed.
111The payment method type is not implemented.
112One operation with the same type is currently processing.
113The transfer operation cannot be processed, the payment is not authorized.
115One transfer operation is processed.
116Cannot process the p2p.
117Cannot process the p2p.
118There are multiple matched transactions for the p2p operation.
119Operation bad state.
120The amount between p2p operation and p2p does not match.
121The source wallet for transfer operation does not match.
122The target wallet for transfer operation does not match.
123The refund operation is not found.
124Refund operation bad state.
125Cannot update the refund operation.
126There are no p2p operation to retake.
127The source wallet id are not matched between transfer operation and payment.
128The target wallet id are not matched between transfer operation and payment.
129Cannot process the p2p, error not managed.
130The transfer request timed out.
131The transfer operation state not match the partner transaction state.
132One operation with the same type is already processed.
133The payment is not authorized, cannot process a transfer operation.
134Refund operation bad type.
135Cannot update the payment(s).
136Payment bad cashout_state.
137Cash-in operation not found.
138There are no tip operation to retake.
139The cash-in operation is not reconcile.
140The refund payment operation is not found.
141Payment bad state.
142Order bad state.
143Cannot update the action(s).
144Operation not reconcile.
145Payment not reconcile.
146Cannot refund this order the refund operation do no specified to cancel the order.
147Refund operation bad type.
148Cannot refund this operation, the payment doesn't have a tip.
149Payment not reconcile.
150Tip already refund.
151Action bad status
152Transaction not found.
153One refund operation is currently processing.
154The payment doesn't have a provider.
155There are no tip operation to reput.
156Refund error managed. Engaging reput.
157The provider type is not supported.
158Payment Request Data not found.
159Payment Operation not updated.
160The order specified is not found.
161The organization wallet is not found.
162The payment operation tip is not found.
163The payment operation is not found.
164The payment operation cash-in is not found.
165The amount to refund is not allowed.
166The amount tip to refund is not allowed.
167The card is not allowed to refund (expired).
168The payment date is not allowed to refund (too old).
169Cannot create the refund operation, there are an existing refund operation refused.
170Action tip not existing for a tip amount to refund.
171The payment state is not authorized to refund.
172The payment provider is not allowed.
173The payment has a bad state.
174The payer wallet is not found.
176The cashout id {0} is not found.
177The cashout is not in a progress state, cashout id : {0}.
178The cashout operation is not found of cashout id : {0}.
179Error to create cashout for organization id : {0}.
180Error to create operation cashout for cashout id : {0}.
181The amount must be corresponding to the amount of this order.
182The amount tip must be corresponding to the amount tip of this order.
183Payment card cannot be created.
184Organization is excluded from cash out, organization Id : {0}.
185Organization is not authenticated, wallet Id: {0}.
186The cash-out amount cannot be inferior to 1€, wallet Id: {0}.
187The provider with type {0} is not found.
188No wallet found for organization, data : {0}.
189The organization doesn't have an administrator, organization Id : {0}.
190The admin is not found, admin Id : {0}.
191Can't create a wallet because the names are invalids, organization Id : {0}.
192Can't create a wallet because the kyc or admin email is empty, organization Id : {0}.
193Payment is not authorized for this organization, organization Id : {0}.
194Email is not authorized, email : {0}.
195The payment request data is not in INIT state, {0}.
196An error occurred when we tried to do the tip p2p.
197Error on Reverted CashOut.
198Transaction Ref is null or empty.
199The {0} state is not authorized".
200Payment is not on Refused status.
201The payment with {0} is not eligible for this operation.
202The wallet identifier is missing.
203The form type is not specified.
204The payment card with id {0} is not found.
205The payment card identifier not found.
206Payment amount not match with payment amount or tip amount.
207Operation not managed.
208Payer is not found.
209Fiscal Receipt Option is not found.
210The payment is cashed out, it is not authorized to refund
211The amount to refund is less than the minimum amount allowed to refund.
212The form type '{0}' is not valid in this context.
213The action with id '{0}' has not payer linked.
214The payer doesn't have an user identifier.
215The action payment not updated with action id {0} and the payment id {1}.
216Payer not updated.
217There is no tip on this order.
218The order tip is already canceled.
219There is one or more payments that do not belong to the order
220The payment list contains all future payments of the order
221One of payment tips already canceled
222One of payments already canceled
223The organization does not have enough balance to cover the refund
224The limitation date is missing
225The refund operation payment is not found
226The checkout datamodel for id '{0}' is unexpectedly empty
227Refund not allowed
228The provider with the id '{0}' is not found.
229The provider is not found.
230The organization '{0}' have no provider with balance.
231Regularization of this payment is not allowed.
232Maximum number of cash-in attempts reached.
233Regularization payment operation is not found.
234This feature is disabled
235The payment is disputed.
236The reference : {0} of this payment : {1} is not found.
237User is not authorized to execute this payment : payment id : {0}, connected user id : {1}, payment user id : {2}
238The dispute (externalRef : {0}) of this payment {1} is not found.
239The tip amount must be greater or equal to 0 to initialize the cash out.
240No payment eligible for this cash out.
241Organization not eligible for cashout
242There is a difference between the initial amount and the current Cashout amount : initial amount : {0}, current amount : {1}.
243A cash out is initilizing. Creating a new one would lead to uncertain results.
244A cash out is initilizing. Creating a refund would lead to uncertain results.
245Pending cashout operation not found for an unknown reason. Create a new one to avoid blocking the revert process.
246CashOut execution max attempts reached.
247Unknown CashOut error or cashout has already been fully processed on provider. Please verify the cashout, payments, and payment operations. The provider state is : '{0}'.
249Direct transfer of fund between Helloasso and a contributor is not allowed.
250Direct transfer of fund between organization and a contributor is not allowed.
251Organization Iban is not found, organization id : {0}, provider id : {1}.
252Unsupported payment method type.
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!