Webhooks
Customer created
WEBHOOK
Authorizations
The API key to use for authentication
Body
application/json
Webhook payload for customer.created events
Example:
{
"id": "cus_GqfKXLmg61LURZhB",
"object": "customer",
"environment": "sandbox",
"name": "John Doe",
"phoneNumber": "254712345678",
"description": "VIP customer with recurring payments",
"metadata": {},
"countryCode": "KE",
"isActive": true,
"isVerified": true,
"firstTransactionAt": "2024-12-15T09:15:00.000Z",
"source": "api",
"createdAt": "2024-12-10T08:30:00.000Z",
"updatedAt": "2024-12-19T14:22:00.000Z",
"lastActiveAt": "2024-12-19T16:45:00.000Z"
}ISO 8601 timestamp when the event occurred
Example:
"2021-01-01T00:00:00Z"
Event type for customer.created
Example:
"customer.created"
Object type, always "event"
Example:
"event"
Response
200
Webhook received successfully