Cielo - Tokenizar Cartão

Tokeniza um cartão de crédito na Cielo

Cielo - Tokenizar Cartão

AI-generated

Summary

Tokenize a credit card via the Cielo API by providing card details to receive a token for secure transactions.

Inputs

  • Número do Cartão (required) — The credit card number to tokenize.
  • Validade (MM/AAAA) (required) — The expiration date of the card in MM/YYYY format.
  • Nome no Cartão — The cardholder's name printed on the card.
  • CVV (required) — The card security code.
  • Bandeira — The card brand, options include Visa, Master, Amex, Elo, and Diners (default is Visa).

Output shape

a JSON object containing the response data from Cielo API including the card token

The output exposes the full API response as JSON. If the API returns an error, a node operation error is thrown with details including possible tokenization feature enablement tips.

Examples

Example 1: Tokenize a Visa credit card to securely store its token for later payments.

Provide card number, expiration date, CVV, optionally cardholder name and brand (default Visa).

Discussion