GET
/
v2.01
/
{ClientId}
/
payouts
/
{PayoutId}
/
refunds

This call returns the refund for a given payout. 

A payout refund, also known as a return of funds, is a request only generated by Mangopay and is made at the end user’s request or if a fraud case has been detected. Payout refunds may also occur automatically when the end user’s bank account is closed or if the acquiring bank refuses the funds.

Query parameters

Status
string

Allowed values: CREATED, SUCCEEDED, FAILED

The status of the transaction. You can filter on multiple statuses by separating them with a comma.

ResultCode
string

The code indicating the result of the operation. You can filter on multiple result codes by separating them with a comma.

BeforeDate
timestamp

The date before which the transaction was created (based on the transaction’s CreationDate parameter). You can filter on a specific time range by using both the AfterDate and BeforeDate query parameters.

AfterDate
timestamp

The date after which the transaction was created (based on the transaction’s CreationDate parameter). You can filter on a specific time range by using both the AfterDate and BeforeDate query parameters.

Path parameters

PayoutId
string
required

The unique identifier of the payout.

Responses