Create an Entity

Registers a natural person (INDIVIDUAL) or a legal entity (COMPANY) with its identifying document.

Body Params
string
required

Your own identifier for the entity. Unique per merchant, 1 to 64 characters.

string
enum
required

INDIVIDUAL (natural person) or COMPANY (legal entity).

Allowed:
string
required

First name (INDIVIDUAL) or legal name (COMPANY). Up to 255 characters.

string

Last name. Required for INDIVIDUAL. Up to 255 characters.

date

YYYY-MM-DD. Recommended for INDIVIDUAL.

string
enum

MALE, FEMALE, OTHER or UNDISCLOSED.

Allowed:
string

ISO 3166-1 alpha-3 (BRA, ARG, MEX).

string

ISO 3166-1 alpha-3.

string

ISO 3166-1 alpha-3. For a COMPANY, country of tax residence.

string

Occupation of the person. Up to 100 characters.

boolean

Politically exposed person. Default false.

date

YYYY-MM-DD. COMPANY only.

string

ISO 3166-1 alpha-3. COMPANY only.

string

Company website. Up to 255 characters.

string

Name of the legal representative (COMPANY). Up to 255 characters.

string

Contact email. Up to 255 characters.

phone
object

Contact phone, digits only in each part.

address
object

Postal address. When sent, country is required.

attributes
object

Custom fields defined by your custom-fields schema (see Custom Fields). Up to 64 KB.

document
object
required

The identifying document of the entity (tax ID or identity document). It becomes the primary document. Other documents are added afterwards with Add a Document.

Headers
string

Trace identifier (UUID). Echoed in the response; generated by Localpayment if absent.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json