Skip to main content

Documentation

Payment Failed Webhook

The PAYMENT_FAILED webhook is sent when Rapyd attempts to collect from the customer’s designated payment method, and the collection attempt fails.

  • PAYMENT_FAILED Webhook

  • {
        "id": "wh_6d0b1efc39424f33556a300434cccc74",
        "type": "PAYMENT_FAILED",
        "data": {
            "id": "payment_02e5ecc4b7e0395148e8eba68ad63120",
            "mid": "mid_5c5d6187ccd4dd5c16142459e8911350",
            "paid": false,
            "order": null,
            "amount": 0,
            "escrow": null,
            "status": "ERR",
            "address": null,
            "dispute": null,
            "fx_rate": 1,
            "invoice": "",
            "outcome": null,
            "paid_at": 0,
            "refunds": null,
            "captured": true,
            "ewallets": [{
                    "amount": 1065,
                    "percent": 100,
                    "ewallet_id": "ewallet_d94e54f70c3c401f15430cd6eb3c23d2",
                    "refunded_amount": 0
                }
            ],
            "metadata": {},
            "refunded": false,
            "auth_code": null,
            "flow_type": "",
            "created_at": 1736262161,
            "error_code": "ERROR_PROCESSING_CARD - [65]",
            "ewallet_id": "ewallet_d94e54f70c3c401f15430cd6eb3c23d2",
            "expiration": 1738854296,
            "fixed_side": "",
            "is_partial": false,
            "description": "",
            "capture": true,
            "next_action": "not_applicable",
            "country_code": "GB",
            "instructions": {},
            "payment_fees": null,
            "redirect_url": "https://sboxcheckout.rapyd.net/3ds/challenge.html?redirection_data=%MjM12%22bcs_action_url%22https%2Fsboxapi.rapyd.net%2Fv1%2Fsimulate%2Facs%2Fchallenge%2F",
            "visual_codes": {},
            "cancel_reason": null,
            "currency_code": "ISK",
            "group_payment": "",
            "receipt_email": "",
            "textual_codes": {},
            "customer_token": "cus_ad212a1b326bb00dd6a663b44e574ad3",
            "payment_method": null,
            "receipt_number": "",
            "transaction_id": "",
            "failure_code": "65",
            "failure_message": "Authentication Required or Activity Limit Exceeded",
            "initiation_type": "customer_present",
            "original_amount": 1065,
            "refunded_amount": 0,
            "error_payment_url": "http://www.rapyd.net/error.html",
            "payment_method_data": {
                "id": null,
                "name": "John Doe",
                "type": "gb_mastercard_card",
                "image": "",
                "last4": "2867",
                "category": "card",
                "metadata": null,
                "acs_check": "unavailable",
                "cvv_check": "fail",
                "bin_details": {
                    "type": "DEBIT",
                    "brand": "VISA",
                    "level": "CLASSIC",
                    "issuer": "LLOYDS BANK PLC",				
                    "country": "GB",
                    "bin_number": "492181"
                },
                "next_action": "not_applicable",
                "webhook_url": "",
                "expiration_year": "27",
                "expiration_month": "12",
                "fingerprint_token": "ocfp_9f72969f8df38764e698d57bca0ec75a",
                "payment_account_reference": "V0010013018036782991622965076",			
                "supporting_documentation": ""
            },
            "payment_method_type": "gb_mastercard_card",
            "complete_payment_url": "http://www.rapyd.net",
            "remitter_information": {},
            "statement_descriptor": "Doc Team",
            "authentication_result": {
                "eci": "05",
                "result": "A",
                "version": "2.2.0"
            },
            "merchant_reference_id": "",
            "payment_method_options": {
                "3d_required": true
            },
            "merchant_requested_amount": null,
            "merchant_requested_currency": null,
            "payment_method_type_category": "card",
            "merchant_advice_code": "02",
            "merchant_advice_message": "Try again later"
        },
        "trigger_operation_id": "9846cf13-6983-4888-88d4-c0b378dec372",
        "status": "NEW",
        "created_at": 1736262296,
        "extended_timestamp": 1736262296981
    }