The API key to use for authentication
Customer Schema
Webhook payload for customer.created events
Show child attributes
Unique identifier for the customer, prefixed with 'cus_'
255
"cus_GqfKXLmg61LURZhB"
"customer"
The environment of the customer. Either 'sandbox' or 'production'
sandbox
production
"sandbox"
The name of the customer
2
"John Doe"
The email of the customer
"[email protected]"
The phone number of the customer
"254712345678"
The description of the customer
"VIP customer with recurring payments"
The country code of the customer
"KE"
Whether the customer is active
true
Whether the customer is verified
Timestamp when the customer was last active (ISO 8601 format)
"2024-12-19T16:45:00.000Z"
Timestamp when the customer made their first transaction (ISO 8601 format)
"2024-12-15T09:15:00.000Z"
The preferred payment method of the customer
50
"m-pesa"
Source where the customer was created (api, dashboard, checkout, import)
api
dashboard
checkout
"api"
Key-value object allowing you to store additional information.
Key Requirements:
Value Types:
Limits:
500
{ "user_preference": "dark_mode", "last_login": 1640995200, "is_premium": true, "account_balance": 1250.75, "notifications_enabled": false}
Timestamp when the customer was created (ISO 8601 format)
"2024-12-10T08:30:00.000Z"
Timestamp when the customer was last updated (ISO 8601 format)
"2024-12-19T14:22:00.000Z"
ISO 8601 timestamp when the event occurred
"2021-01-01T00:00:00Z"
Event type for customer.created
"customer.created"
Object type, always "event"
"event"
Webhook received successfully
Was this page helpful?