Refunds
Create a Refund for a PayIn
Changed onThe pay-in refund is a request to reimburse a pay-in and is supported for most payment methods. You can make partial refunds by providing a debited funds Amount value lower than the initial transaction amount.
<Note icon="fa-regular fa-circle-info"> **Note – Conditions for pay-in refund**- The amount value is 1 or above, regardless of the currency.
- The initial transaction status is SUCCEEDED.
- The initial transaction hasn't been disputed.
- The initial transaction was made within the time window specified for the payment method. </Note>
Read more about pay-in refunds →
post/v2.01/{ClientId}/payins/{PayInId}/refunds
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/payins/{PayInId}/refunds
- AuthHTTP bearer
Path parameters
ClientIdstring required
Platform's API account identifier, associated with the API key.
PayInIdstring required
The unique identifier of the pay-in.
Request body
Response
Success
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
create_refund_payinremoved and replaced withrefunds_create_refund_payin
- info