https://api.payload.com/customers
Nested Objects
https://api.payload.com/customers/{id}/payment_methods
https://api.payload.com/customers/{id}/primary_processing
Example
{
"id": "acct_QLORDy96Z24vetDOiwvQfyGX",
"object": "customer",
"attrs": {},
"created_at": "2024-08-21 13:35:03",
"description": "string",
"email": "[email protected]",
"external_uid": "string",
"keep_active": false,
"modified_at": "2024-08-21 13:35:03",
"name": "string",
"payment_methods": [],
"phone_number": "(123) 456-7890",
"primary_processing_id": "acct_p0nIuFCPOsygOigB4pae7NXf"
}
| Attributes | Description |
|---|---|
idstring readonly |
Object ID |
objectstring readonly |
Value: customer |
attrsjson |
Custom object attributes |
created_atdatetime readonly |
None |
descriptionstring |
Optional description of the account |
emailemail required |
Email address for the account |
external_uidstring |
Optional unique external id used for lookup and upsert |
keep_activebool readonly: update |
Set to false for one-time customers that will not be ongoing |
modified_atdatetime readonly |
None |
namestring required |
Name for the account, either a person or company name |
payment_methodslist |
Array of associated Payment Method objects |
phone_numberphone |
Phone number for the account |
primary_processing_idid |
Specify the primary processing account for a customer |