Authorizations
The API key to use for authentication
Path Parameters
Unique identifier for the customer, prefixed with 'cus_'.
4 - 255
"cus_GqfKXLmg61LURZhB"
Response
Get One Customer
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
"johndoe@example.com"
The phone number of the customer
"254712345678"
The description of the customer
"VIP customer with recurring payments"
The country code of the customer
2
"KE"
Whether the customer is active
true
Whether the customer is verified
true
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)
50
"api"
Key-value object allowing you to store additional information.
Key Requirements:
- Must be a string
- Maximum length of 40 characters
Value Types:
- String (maximum 500 characters)
- Integer
- Floating-point number
- Boolean
Limits:
- Maximum of 50 key-value pairs
{
"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"