Skip to main content

Documentation

Refund Failed Webhook

The PAYMENT_REFUND_FAILED webhook is sent when a Rapyd refund fails since the payment object on which the refund is based is not in closed status.

  • PAYMENT_REFUND_FAILED Webhook

  • {
      "id": "wh_cdcd9008c77510485064c2053f0a196d",
      "type": "PAYMENT_REFUND_FAILED",
      "data": {
        "id": "refund_5c335ba7d1211d390e44166e91e50959",
        "amount": null,
        "reason": "Merchandise returned",
        "status": "Error",
        "fx_rate": null,
        "payment": "payment_e90a62df65ac03dd1f9111a74b560f06",
        "currency": "",
        "ewallets": [],
        "metadata": {
          "merchant_defined": true
        },
        "created_at": 0,
        "fixed_side": null,
        "updated_at": 0,
        "failure_reason": "",
        "receipt_number": 0,
        "payment_created_at": null,
        "payment_method_type": "",
        "proportional_refund": true,
        "merchant_reference_id": "CA12034567",
        "merchant_debited_amount": null,
        "merchant_debited_currency": null
      },
      "trigger_operation_id": "2f911bb3-b33c-4800-ab4c-b9a81533a571",
      "status": "NEW",
      "created_at": 1667991868,
      "extended_timestamp": 1667991868842
    }