v1

latestOpenAPI 3.0.1Apache 2.02026-07-26401961.7 KB
Customers

Save business customer

Save business customer

post/customers

Request body

customer_namestring required

Customer Name

customer_tinstring required

Customer Tax Identification Number (TIN)

emailstring

Customer Email Address

phonestring

Customer Phone Number

Example request

{
  "customer_name": "John Doe",
  "customer_tin": "P012345678P",
  "email": "john@doe.com"
}

Response

Success

idstring required

Customer ID

customer_namestring required

Customer Name

emailstring

Customer Email

phonestring

Customer Phone Number

customer_tinstring required

Customer Tax Identification Number (TIN)

taxpayer_type'INDIVIDUAL' | 'BUSINESS' required

Taxpayer Type

Example response

{
  "id": "customer_01HC3HTDAXQ50E07CWR2A2CFBD",
  "customer_name": "John Doe",
  "email": "john@doe.com",
  "customer_tin": "P012345678P",
  "taxpayer_type": "INDIVIDUAL"
}