GET
/
v2.01
/
{ClientId}
/
payouts
/
{PayoutId}
/
refunds
// GET has no body parameters
[
    {
        "Id": "refund_m_01JJ22Z1JGMFEHB5P4B5DZ8CCQ",
        "Tag": null,
        "CreationDate": 1734628083,
        "AuthorId": "user_m_01JJ22ZEP6JQQ5KMBPHBGYFQBG",
        "CreditedUserId": null,
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 12000
        },
        "CreditedFunds": {
            "Currency": "EUR",
            "Amount": 12000
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1734628084,
        "Type": "PAYIN",
        "Nature": "REFUND",
        "InitialTransactionId": "po_m_01JJ2303Q94M2SNSFEX4M3W3N0",
        "InitialTransactionType": "PAYOUT",
        "InitialTransactionNature": "REGULAR",
        "DebitedWalletId": null,
        "CreditedWalletId": "wlt_m_01JJ230JF16SKNVFR2FRPHEZWZ"
    }
]
This call returns the refund for a payout, which is known as a payout return or return of funds. A payout return is only generated by Mangopay. For more information, see the payout returns guide.

Query parameters

Status
string
Allowed values: CREATED, SUCCEEDED, FAILEDThe status of the transaction. You can filter on multiple values by separating them with a comma.
ResultCode
string
The code indicating the result of the operation. You can filter on multiple values by separating them with a comma.
BeforeDate
Unix 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
Unix 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

[
    {
        "Id": "refund_m_01JJ22Z1JGMFEHB5P4B5DZ8CCQ",
        "Tag": null,
        "CreationDate": 1734628083,
        "AuthorId": "user_m_01JJ22ZEP6JQQ5KMBPHBGYFQBG",
        "CreditedUserId": null,
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 12000
        },
        "CreditedFunds": {
            "Currency": "EUR",
            "Amount": 12000
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1734628084,
        "Type": "PAYIN",
        "Nature": "REFUND",
        "InitialTransactionId": "po_m_01JJ2303Q94M2SNSFEX4M3W3N0",
        "InitialTransactionType": "PAYOUT",
        "InitialTransactionNature": "REGULAR",
        "DebitedWalletId": null,
        "CreditedWalletId": "wlt_m_01JJ230JF16SKNVFR2FRPHEZWZ"
    }
]
// GET has no body parameters