Create a customer
Customers
Create a customer
Create a new customer record. Customers can be associated with payments for tracking and recurring billing.
POST
Create a customer
Authorizations
YuvexPay API key. Include as Authorization: Bearer ypk_<env>_<kid>_<secret> where <env> is test (sandbox) or live (production). Create and manage keys in the dashboard under Settings > API Keys.
Headers
A unique string to ensure the request is processed only once. Must be unique per request. Valid for 24 hours.
Maximum string length:
100Body
application/json
Your own customer ID.
Maximum string length:
100Required string length:
1 - 200Maximum string length:
255CPF or CNPJ number.
Maximum string length:
20Available options:
CPF, CNPJ Maximum string length:
20Response
Customer created.

