Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.07 KB

ChargeRequest.md

File metadata and controls

32 lines (23 loc) · 1.07 KB

ChargeRequest

The charges to be made

Properties

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]

Example

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)

[Back to Model list] [Back to API list] [Back to README]