Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.77 KB

Payment.md

File metadata and controls

42 lines (33 loc) · 1.77 KB

Payment

List of payments that have been made for the payment session.

Properties

Name Type Description Notes
amount Money
authorization_expires_at datetime The datetime when the payment's authorization expires. [optional]
capture_type PaymentCaptureType [optional]
created_at datetime The datetime when the payment was created.
decline_reason PaymentDeclineReason [optional]
id str The unique ID for the payment.
method PaymentMethod
payment_session_id str The ID of the payment session that the payment was created in.
settlement_status PaymentSettlementStatus
status PaymentStatus
summary PaymentSummary
updated_at datetime The datetime when the payment was last updated.
void_reason PaymentVoidReason [optional]

Example

from openapi_client.models.payment import Payment

# TODO update the JSON string below
json = "{}"
# create an instance of Payment from a JSON string
payment_instance = Payment.from_json(json)
# print the JSON string representation of the object
print(Payment.to_json())

# convert the object into a dict
payment_dict = payment_instance.to_dict()
# create an instance of Payment from a dict
payment_from_dict = Payment.from_dict(payment_dict)

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