Skip to main content
Create a Customer
Antes de iniciar qualquer transferência, você deve criar um registro de cliente (customer) no SpherePay. Este endpoint registra um cliente individual ou empresarial e retorna um objeto customer com um ID único e um array verificationProfiles que rastreia o status de conclusão do KYC/KYB. Você deve especificar type antecipadamente — ele não pode ser alterado após a criação. Clientes pessoas físicas residentes na região EEA+ e empresas constituídas na EEA+ têm campos adicionais que devem estar presentes antes da verificação. Esses campos são opcionais na criação. Consulte Residentes EEA+ e Empresas EEA+.

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
address
object
obrigatório

The customer's address.

email
string<email>
obrigatório

The customer email address

Maximum string length: 254
Exemplo:

"jane.smith@example.com"

phone
string
obrigatório

The customer phone number in E.164 format

Pattern: ^\+(?:[0-9]){6,14}[0-9]$
Exemplo:

"+14155550123"

type
enum<string>
obrigatório
Opções disponíveis:
individual
dateOfBirth
string

The date string in YYYY-MM-DD format

Exemplo:

"2026-01-01"

firstName
string

The customer's legal first name.

Required string length: 1 - 100
Exemplo:

"Jane"

lastName
string

The customer's legal last name.

Required string length: 1 - 100
Exemplo:

"Smith"

meta
object

Additional metadata associated with the customer

middleName
string

The customer's legal middle name.

Required string length: 1 - 100
Exemplo:

"Anne"

personalInformation
object

Personal information including tax identification details for individual customers. When any tax identification field is provided, all tax identification fields (number, type, country) and address are required. Please refer to the Individual Verification Criteria for the full list of reference.

Resposta

Response containing information about an individual customer.

createdAt
string
obrigatório

ISO 8601 formatted customer creation timestamp

Exemplo:

"2026-03-09T20:46:31.305Z"

id
string
obrigatório

Customer ID

Exemplo:

"customer_f31121c389624d3697cbf3ea8830b7a4"

tosStatus
enum<string>
obrigatório

Customer Terms of Service acceptance status (incomplete | pending | approved).

Opções disponíveis:
incomplete,
pending,
approved
Exemplo:

"incomplete"

type
enum<string>
obrigatório

Customer type

Opções disponíveis:
individual
Exemplo:

"individual"

updatedAt
string
obrigatório

ISO 8601 formatted customer update timestamp

Exemplo:

"2026-03-09T20:46:31.305Z"

verificationProfiles
object[]
obrigatório

Array of verification profiles. For individual customers, this will include kyc_profile_a. For business customers, this will include kyb_profile_a. See KYC Flow for individuals or KYB Flow for businesses. See Verification Profile for individual status definitions and criteria breakdown or Verification Profile for business status definitions and criteria breakdown.

Exemplo:
dateOfBirth
string

The customer's date of birth in YYYY-MM-DD format (individual customers only).

Exemplo:

"1990-01-15"

email
string

Customer email address

Exemplo:

"jane.smith@example.com"

firstName
string

Customer first name (individual customers only)

Exemplo:

"Jane"

lastName
string

Customer last name (individual customers only)

Exemplo:

"Smith"

meta
object
personalInformation
object

Personal information for an individual customer, echoed back from the most recent submission. The tax identification number is omitted from responses for privacy.

phone
string

Customer phone number

Exemplo:

"+14155550123"

Última modificação em 27 de agosto de 2026