The user object represents an entity (individual or business) on Tazapay's database. Transactions can be created between users. Example, for a marketplace, the users can be buyers, sellers and the marketplace itself. For individual sellers, the users can be the buyers and the seller themselves.

{
  "account_id":"38fef28e-5514-4513-879c-a8e413bfe5ae",
  "customer_id":"Mybusiness_customer_1",
  "ind_bus_type":"Business",
  "country":"IN",
  "email":"[email protected]",
  "business_name":"Radium Construction",
  "contact_code":"+91",
  "contact_number":"4561230890"
}
{
  "account_id":"d5ae4b67-1dc3-49d1-b5b1-0174851a76d0",
  "customer_id":"Mycustomer_1",
  "ind_bus_type":"Individual",
  "country":"IN",
  "email":"[email protected]",
  "first_name":"John",
  "last_name":"Doe",
  "contact_code":"+91",
  "contact_number":"1234567890"
}

Body Parameters

The payload for body should be submitted in application/json format.

ParameterDescription
email
required
string User's email address
first_name
required only if ind_bus_type is Individual
string User's first name. Not needed for Business type users.
last_name
required only if ind_bus_type is Individual
string User's last name. Not needed for Business type users.
contact_code
optional
string Mobile country code of the user
contact_number
optional
string User's mobile number
country
required
string User's country, in ISO 3166 standard alpha-2 code. eg: SG, IN, US, etc.
The complete list can be fetched from Country Codes
ind_bus_type
required
string User's entity type. Can be: Business or Individual
business_name
required only if ind_bus_type is Business
string Name of the business. Not needed for Individual type users.
partners_customer_id
optional
string User's ID or reference number on your platform