token response
Name | Type | Description | Notes |
---|---|---|---|
checkout | TokenResponseCheckout | [optional] | |
id | str | Unique identifier for the token generated by Conekta. | |
livemode | bool | Indicates whether the token is in live mode or test mode. | |
object | str | Indicates the type of object, in this case token | |
used | bool | Indicates if the token has been used |
from conekta.models.token_response import TokenResponse
# TODO update the JSON string below
json = "{}"
# create an instance of TokenResponse from a JSON string
token_response_instance = TokenResponse.from_json(json)
# print the JSON string representation of the object
print(TokenResponse.to_json())
# convert the object into a dict
token_response_dict = token_response_instance.to_dict()
# create an instance of TokenResponse from a dict
token_response_from_dict = TokenResponse.from_dict(token_response_dict)