v1

latestOpenAPI 3.0.1Apache 2.02026-07-26401961.7 KB
Customers

Get a business customer

Retrieves information about a customer given their ID on DigiTax

get/customers/{customer_id}

Path parameters

customer_idstring required

Customer ID on DigiTax

Example:customer_01HC3J1VVVM05YCTS61G7V3KC6

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"
}