Conekta::PaymentMethodTokenRequest

August 21, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typeStringType of payment method
token_idStringToken id that will be used to create a "card" type payment method. See the (subscriptions)[https://developers.conekta.com/v2.2.0/reference/createsubscription] tutorial for more information on how to tokenize cards.

Example

require 'conekta'

instance = Conekta::PaymentMethodTokenRequest.new(
  type: card | cash | spei | bnpl | pay_by_bank,
  token_id: tok_32hj4g234as
)