Skip to main content

Documentation

Customer Created Webhook

The CUSTOMER_CREATED webhook is sent when a customer is created.

  • CUSTOMER_CREATED Webhook

  • {
        "id": "wh_035d46223922ca1c70f77c9ffcaf5d99",
        "type": "CUSTOMER_CREATED",
        "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": "123456666",
            "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": "not_applicable",
                        "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": "62a6763b-255b-4f48-8960-79b6861891b1",
        "status": "NEW",
        "created_at": 1640536833
    }