Skip to main content
The Customer object stores buyer information used across checkout sessions, payments, enrollments, and subscriptions. Customers can be created explicitly via the Create Customer endpoint or implicitly during payment creation.
Customer records are shared across all payment methods and providers. Creating a customer once allows you to reference them in every subsequent transaction using their id or merchant_customer_id.

Object fields

string
Yuno’s unique customer identifier (UUID v4). Server-generated.Example: c9d0e1f2-3a4b-5c6d-7e8f-9a0b1c2d3e4f
string
required
Your own internal customer identifier. Non-blank string, unique per Yuno account. Used for reconciliation and to retrieve a customer with Retrieve Customer by External ID.Example: cust-internal-001
string | null
The customer’s original registration date on your platform. Use ISO 8601 with microseconds and Z suffix. For example, 2024-01-15T12:34:56.123456Z.
string | null
Customer’s first name (legal first name as shown on the identification document).Example: Maria
string | null
Customer’s last name (legal surname as shown on the identification document).Example: Silva
string | null
Customer’s email address. Strongly recommended. Required by most APMs (PIX, Boleto, OXXO, PSE) and by 3DS challenge flows.Example: maria.silva@example.com
string | null
Customer’s gender.Values: M (male), F (female), NB (non-binary).
string | null
Date of birth in YYYY-MM-DD format (calendar date only. No time component).Example: 1990-02-28
string | null
Customer’s country of residence. ISO 3166-1 alpha-2 code.Example: BR
string | null
Customer’s nationality. ISO 3166-1 alpha-2 code.Example: BR
object | null
Customer’s identification document. Required by most Latin American APMs at payment time.
object | null
Customer’s phone number. Both nested fields are required when phone is present.
object | null
Customer’s billing address. All nested fields are optional, but completeness improves authorization rates and 3DS frictionless eligibility.
object | null
Customer’s shipping address. Same structure as billing_address.
array | null
Custom key/value entries you attached to the customer. Array of { key, value } objects.
string
Server-generated ISO 8601 timestamp of when the customer record was created.Example: 2026-03-01T10:00:00.000000Z
string
Server-generated ISO 8601 timestamp of the last update to the customer record.Example: 2026-03-01T10:00:00.000000Z

Example

Document requirements by country

The document object is optional at the schema level, but most Latin American APMs reject the eventual payment if it is missing or has the wrong type for the country.