Skip to main content

Documentation

Refund Completed Webhook

The REFUND_COMPLETED webhook is sent when a refund is completed.

  • REFUND_COMPLETED Webhook

  • {
        "id": "wh_579ce0fff755360a834881dd26f5502a",
        "type": "REFUND_COMPLETED",
        "data": {
            "id": "refund_222febd9394bfe5d55f8586a98974e9c",
            "amount": 1025,
            "reason": "Merchandise returned",
            "status": "Completed",
            "fx_rate": null,
            "payment": "payment_8775855f7a472b3a07c5894d2badb532",
            "currency": "USD",
            "ewallets": [{
                    "amount": 1025,
                    "ewallet": "ewallet_c1943cfeda5f98247ab117e5d2648861"
                }
            ],
            "metadata": null,
            "created_at": 1641219206,
            "fixed_side": null,
            "updated_at": 1641219206,
            "failure_reason": "",
            "receipt_number": 0,
            "payment_created_at": 1641214597,
            "payment_method_type": "us_visa_card",
            "proportional_refund": true,
            "merchant_reference_id": "refund_222febd9394bfe5d55f8586a98974e9c",
            "merchant_debited_amount": null,
            "merchant_debited_currency": null
        },
        "trigger_operation_id": "571bd6ab-a6ce-446f-8f42-5b2542f140cb",
        "status": "NEW",
        "created_at": 1641219206,
        "extended_timestamp": 1641219206389
    }