Checkout Sessions
Create One Time Use Token (SDK Checkout)
Generate a one-time-use token within a checkout session for SDK-based payment flows.
POST
Creates a one-time-use token within an existing checkout session. This is used in the
SDK_CHECKOUT workflow where card data is collected securely on the client side via the Yuno SDK, then tokenized before being sent to your server for payment creation.
Unlike the Direct token endpoint, this endpoint does not require PCI certification because the Yuno SDK handles card data collection in a secure iframe.
Path Parameters
string
required
The checkout session identifier (UUID) returned from Create Checkout Session.Example:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Request Body
string
required
The unique identifier of the account. Found in Yuno’s Dashboard.Constraints: MAX 64; MIN 36
object
required
Card details to tokenize.
Response Fields
string
The one-time-use token. Use this in the Create Payment request as
payment_method.token.string
Stored payment method token, returned when the card was previously enrolled.
boolean
Whether the card will be vaulted upon successful payment. Default:
true.string
Payment method type.Example:
CARDobject
Tokenized card metadata (no sensitive data).
string
ISO 3166-1 alpha-2 country code.
Error Responses
Related Pages
- Create One Time Use Token (Direct). Token generation for PCI-compliant merchants
- Create Checkout Session. Create the session first
- Create Payment. Use the token to create a payment
- SDK Full Checkout. End-to-end SDK checkout guide