Skip to main content

Documentation

Payment Expired Webhook

The PAYMENT_EXPIRED webhook is sent when Rapyd attempts to collect from the customer’s designated payment method, but the customer did not complete the payment within the time allowed.

  • PAYMENT_EXPIRED Webhook

  • {
        "id": "wh_677cba5a55c4172c652aa22b9515c64f",
        "type": "PAYMENT_EXPIRED",
        "data": {
            "id": "payment_60a64f65f306b0507d1121c9262ca596",
            "mid": "",
            "paid": false,
            "order": null,
            "amount": 0,
            "escrow": null,
            "status": "ACT",
            "address": null,
            "dispute": null,
            "fx_rate": 1,
            "invoice": "",
            "outcome": null,
            "paid_at": 0,
            "refunds": null,
            "captured": true,
            "ewallets": [{
                    "amount": 3086,
                    "percent": 100,
                    "ewallet_id": "ewallet_e67c8ad63200d781470a04107fbd7c59",
                    "refunded_amount": 0
                }
            ],
            "metadata": {
                "merchant_defined": "created"
            },
            "refunded": false,
            "flow_type": "",
            "created_at": 1638356620,
            "error_code": "",
            "ewallet_id": "ewallet_e67c8ad63200d781470a04107fbd7c59",
            "expiration": 1638961420,
            "fixed_side": "",
            "is_partial": false,
            "description": "",
            "next_action": "3d_verification",
            "country_code": "US",
            "failure_code": "",
            "instructions": [],
            "payment_fees": null,
            "redirect_url": "https://sandboxcheckout.rapyd.net/3ds-payment?token=payment_60a64f65f306b0507d1121c9262ca596",
            "visual_codes": {},
            "cancel_reason": null,
            "currency_code": "USD",
            "group_payment": "",
            "receipt_email": "",
            "textual_codes": {},
            "customer_token": "cus_88e8eea307e031fb4a64692ba47f73c9",
            "payment_method": "card_33a8bd34e72ce3c93f789accdbef5d4a",
            "receipt_number": "",
            "transaction_id": "",
            "failure_message": "",
            "initiation_type": "customer_present",
            "original_amount": 3086,
            "refunded_amount": 0,
            "error_payment_url": "",
            "payment_method_data": {},
            "auth_code": "423344",
            "payment_method_type": "us_visa_card",
            "complete_payment_url": "",
            "statement_descriptor": "Rapyd",
            "merchant_reference_id": "",
            "payment_method_options": {},
            "merchant_requested_amount": null,
            "merchant_requested_currency": null,
            "payment_method_type_category": "card"
        },
        "trigger_operation_id": "857dfd4a-363d-4655-89c3-c77a930b0eb4",
        "status": "NEW",
        "created_at": 1638982843,
        "extended_timestamp": 1638982843321
    }