Conekta::TokenResponse

August 1, 2023 ยท View on GitHub

Properties

NameTypeDescriptionNotes
checkoutTokenResponseCheckout[optional]
idStringUnique identifier for the token generated by Conekta.
livemodeBooleanIndicates whether the token is in live mode or test mode.
objectStringIndicates the type of object, in this case token
usedBooleanIndicates if the token has been used

Example

require 'conekta'

instance = Conekta::TokenResponse.new(
  checkout: null,
  id: cus_2tHJfJ79KyUwpxTik,
  livemode: true,
  object: token,
  used: false
)