Skip to main content

Documentation

Payout Returned Webhook

The PAYOUT_RETURNED webhook is sent during the following scenarios:

  • When the payout was rejected by the beneficiary after the payout completed.

  • When the funds were received by the beneficiary bank after the payout completed, but the bank could not credit the funds to the beneficiary account.

For sandbox simulation, see Simulating a Payout Returned Status.

  • PAYOUT_RETURNED Webhook

  • {    
        "id": "wh_b7f8b88dd6a2cb710a3fb05b8404d090",
        "type": "PAYOUT_RETURNED",
        "data": {
            "id": "payout_f95e6218bacd234a8ccdf084b70e3pvz",
            "amount": 11.22,
            "sender": {
                "id": "sender_a82b4389f89a5d76519c1c367e3ea303",
                "city": "Anytown",
                "name": "John Doe",
                "address": "123 First Street",
                "country": "BG",
                "currency": "USD",
                "last_name": "Doe",
                "first_name": "John",
                "entity_type": "individual",
                "date_of_birth": "22/02/1980"
            },
            "status": "Returned",
            "fx_rate": 1,
            "paid_at": "1577871112",
            "ewallets": [
                {
                    "amount": 11.22,
                    "percent": 100,
                    "ewallet_id": "ewallet_2040f2ae020b405ff91d1f77cf34493e"
                }
            ],
            "metadata": {
                "merchant_defined": true
            },
            "created_at": 15778710977,
            "expiration": "0",
            "beneficiary": {
                "id": "beneficiary_9044d005adf76e111f8a30095553cc24",
                "city": "Anytown",
                "name": "Jane Doe",
                "address": "4565 Second Street",
                "country": "BG",
                "currency": "BGN",
                "last_name": "Doe",
                "first_name": "Jane",
                "entity_type": "individual"
            },
            "description": "description_5512_Create Payout_1577871088",
            "payout_fees": null,
            "payout_type": "bank",
            "instructions": {
                "name": "instructions",
                "steps": [
                    {
                        "step1": "The funds will be transferred to the provided account details of the beneficiary ."
                    }
                ]
            },
            "sender_amount": 6.53,
            "sender_country": "BG",
            "identifier_type": null,
            "payout_currency": "BGN",
            "sender_currency": "USD",
            "identifier_value": null,
            "instructions_value": {},
            "payout_method_type": "bg_general_bank",
            "beneficiary_country": "BG",
            "merchant_reference_id": null
        },
        "trigger_operation_id": "5505d3e9-d1ca-4a41-adf4-8de62b8adfg4",
        "status": "NEW",
        "created_at": 1577871112,
        "extended_timestamp": 1577871112843
    }