Name | Type | Description | Notes |
---|---|---|---|
checkout | TokenResponseCheckout | [optional] | |
id | String | Unique identifier for the token generated by Conekta. | |
livemode | Boolean | Indicates whether the token is in live mode or test mode. | |
object | String | Indicates the type of object, in this case token | |
used | Boolean | Indicates if the token has been used |
require 'conekta'
instance = Conekta::TokenResponse.new(
checkout: null,
id: cus_2tHJfJ79KyUwpxTik,
livemode: true,
object: token,
used: false
)