v1
latestOpenAPI 3.0.32026-08-0623677345.2 KBBilling
Create customer
post/customers/
Headers
x-simple-workspacestring required
Workspace (account) identifier. Required for every request.
x-piriod-test-modeboolean
Whether to operate against test-mode data. Defaults to false.
Request body
Response
Customer created.
Example response
{
"id": "cus_01H8XYZ123ABC",
"country": {
"id": "CL",
"name": "Chile",
"code": "+56",
"currencies": [
"CLP"
]
},
"state": {
"country": "CL"
},
"currency": "CLP",
"contacts": [
{
"id": "con_01H8XYZ123ABC"
}
]
}