Latest Legacy

Create an end user

This API creates an end user for the account.

API Endpoint

POST https://api.plivo.com/v1/Account/{auth_id}/EndUser/

Arguments

namestringrequired

Name of the end user.

last_namestring

Last name of the end user. Optional for individual type users and not required for business type users.

end_user_typestringrequired

Type of end user. Allowed values: individual, business.

Response

{
   "alias": "Address proof test New",
   "api_id": "27dd7750-e55a-11ec-bf06-0242ac110007",
   "created_at": "2022-06-06T05:33:12.075868Z",
   "document_id": "8db8118e-df4e-4bb7-b086-6bba10abe90a",
   "document_type_id": "eb356022-76bb-4950-90e2-293821ad4058",
   "end_user_id": "0124b993-681d-44f3-8229-776213a3c307",
   "file_name": "Screenshot 2022-05-25 at 5.03.43 PM.png",
   "message": "created",
   "meta_information": {
      "tax_code": "150"
   }
}