Customers
Create customer
POST
/
customers
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
name
string
requiredFirst and last name for a natural person, and company name for a juridical person.
documentType
enum<string>
requiredColombian ID type for customer.
Available options:
cc
, ce
, nit
documentNumber
string
requiredColombian ID number for customer.
email
string
requiredCustomer’s email.
phoneNumber
string
requiredCustomer’s phone number.
reference
string
Reference sent in by merchant to identify customer.
Response
200 - application/json
id
string
Unique identifier for this customer.
reference
string
Reference sent in by merchant to identify customer.
name
string
First and last name for a natural person, and company name for a juridical person.
documentType
enum<string>
Colombian ID type for customer.
Available options:
cc
, ce
, nit
documentNumber
string
Colombian ID number for customer.
email
string
Customer’s email.
phoneNumber
string
Customer’s phone number.
createdAt
string
ISO string indicating when the customer was created.
updatedAt
string
ISO string indicating when the customer was updated.