List of payments that have been made for the payment session.
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] |
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)