Skip to main content
POST
Creates a one-time-use token from the customer’s card data as part of the DIRECT workflow. This endpoint is exclusively for PCI-compliant merchants who collect card data on their own servers.
This endpoint requires PCI DSS certification. If you are not PCI certified, use the SDK Checkout token flow instead, which handles card data securely on the client side.

Authentication

Requires both public-api-key and private-secret-key headers.

Request 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.
string
Customer’s country. ISO 3166-1 alpha-2 code.Example: US
object
Optional customer information for fraud screening and 3DS.
object
Stored credential details for recurring or merchant-initiated transactions.

Response Fields

string
The one-time-use token. Use this in the Create Payment request as payment_method.token.
object
Tokenized card metadata (no sensitive data).