Create a customer
Changed onpost/customers
Request
- Base URLhttps://api.notchpay.co
- URLhttps://api.notchpay.co/customers
- Auth
- API key in header Authorization
- or API key in header X-Sync
Request body
Example request
{
"email": "john@example.com",
"name": "John Doe",
"company_name": "ACME Inc",
"address": {
"country": "CM",
"city": "Douala",
"address_line1": "123 Main St"
},
"billing": {
"country": "CM",
"city": "Douala",
"address_line1": "123 Main St"
}
}Response
Customer created
Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking