The charges to be made
Name | Type | Description | Notes |
---|---|---|---|
amount | int | Amount to be charged in cents | [optional] |
payment_method | ChargeRequestPaymentMethod | ||
reference_id | str | Custom reference to add to the charge | [optional] |
from conekta.models.charge_request import ChargeRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ChargeRequest from a JSON string
charge_request_instance = ChargeRequest.from_json(json)
# print the JSON string representation of the object
print(ChargeRequest.to_json())
# convert the object into a dict
charge_request_dict = charge_request_instance.to_dict()
# create an instance of ChargeRequest from a dict
charge_request_from_dict = ChargeRequest.from_dict(charge_request_dict)