customer_id Yuno returns, and reuse it across checkout sessions, payments, tokens, and subscriptions.
When you need a customer
Create a customer
1
Send the create request
Replace the header values and body fields with your own test data.
2
Read the response
On success you receive HTTP 200 with a Yuno-generated Field names in live responses follow the Customer object reference (this sample is illustrative).
customer_id. Store it next to your own user key.Customer identifiers
Persist
customer_id in your datastore. You need it for enrolled payment methods, one-click flows, and profile updates.Document types
Most Latin American payment methods require identification on the customer (CPF and CNPJ in Brazil, CC / CE / NIT in Colombia, CURP and RFC in Mexico, and so on). Send document numbers digits only. No dots, dashes, or spaces. Example: CPF123.456.789-01 → 12345678901.
For the full per-country table of supported document types and formats, see payment methods and the country reference.
Vaulted payment methods
Every vaulted token belongs to exactly one customer. A single customer can hold many methods of different types: cards, digital wallets (Apple Pay, Google Pay, Click to Pay), bank transfer enrollments, BNPL accounts, and payment links. All of them are retrieved from the same endpoint:vaultedToken you can pass as payment_method.token on a future payment, plus masked details safe to render to the buyer (last 4 digits for cards, masked keys for PIX, and so on). Unenrolled methods are excluded.
Typical uses:
- One-click checkout. Surface saved methods at the top of your checkout UI so repeat buyers skip re-entering data.
- Subscriptions and recurring charges. Reference a vaulted token when creating a subscription or a merchant-initiated transaction (MIT).
- Method management. Let customers review and remove their stored methods from an account page.
Customer in payment requests
When you call Create payment, attach a customer either by reference (customer_id pointing to an existing record), by sending the fields inline, or both. Many methods need specific fields. PIX and Boleto in Brazil need customer.document with a valid CPF or CNPJ; UPI in India needs a VPA; SEPA needs an IBAN. See payment methods for the per-method contract.
Precedence when both are sent
If you passcustomer_id and inline fields, the inline values win for that payment. The provider sees exactly what you sent on the request, not what’s stored on the customer record. This lets you correct or enrich profile data per transaction without touching the stored customer.
After the payment is processed, Yuno backfills empty fields on the stored customer from your inline values. Populated fields are never overwritten by a payment.
What next
Customer object
Every field the Customer object supports.
Checkout sessions
Create a session and attach the customer to it.
Payment methods
Country and method requirements per region.
Tokens
How vaulted methods attach to this customer.