Skip to main content

Documentation

Customer Updated Webhook

The CUSTOMER_UPDATED webhook is sent when a customer is updated.

  • CUSTOMER_UPDATED Webhook

  • {
        "id": "wh_0d2bf25d7d59bf95396e65f6230943e8",
        "type": "CUSTOMER_UPDATED",
        "data": {
            "id": "cus_571ef03ba58cb493317b49dfea644bf1",
            "name": "John Doe",
            "email": "johndoe@rapyd.net",
            "ewallet": "ewallet_e16b6e751207d0a7f26cd228ef078b0b",
            "discount": null,
            "metadata": {
                "merchant_defined": true
            },
            "addresses": [],
            "created_at": 1640536833,
            "delinquent": false,
            "description": "",
            "phone_number": "+14155556666",
            "subscriptions": null,
            "invoice_prefix": "JD-",
            "business_vat_id": "123456766",
            "payment_methods": {
                "url": "/v1/customers/cus_571ef03ba58cb493317b49dfea644bf1/payment_methods",
                "data": [{
                        "id": "card_b6a12fc24fe700c35a615da034e638dd",
                        "name": "John Doe",
                        "type": "ua_visa_card",
                        "image": "https://iconslib.rapyd.net/checkout/ua_visa_card.png",
                        "last4": "1111",
                        "category": "card",
                        "metadata": null,
                        "acs_check": "unchecked",
                        "cvv_check": "unchecked",
                        "bin_details": {
                            "type": null,
                            "brand": null,
                            "country": null,
                            "bin_number": "411111"
                        },
                        "next_action": "3d_verification",
                        "webhook_url": "",
                        "expiration_year": "23",
                        "expiration_month": "10",
                        "fingerprint_token": "ocfp_e599f990674473ce6283b245e9ad2467",
                        "supporting_documentation": ""
                    }
                ],
                "has_more": false,
                "total_count": 1
            },
            "default_payment_method": "card_b6a12fc24fe700c35a615da034e638dd"
        },
        "trigger_operation_id": "507ddf34-48d1-4595-a1eb-fb605d2b4357",
        "status": "NEW",
        "created_at": 1640537013,
        "extended_timestamp": 1640537013831
    }