Model representing a GenericPayment
This struct is auto-generated from the Polar.sh OpenAPI specification.
It uses JSON::Serializable for automatic JSON parsing and serialization.
Instance methods
amount
The payment amount in cents.
Sourcecheckout_id
The ID of the checkout session associated with this payment.
Sourcecreated_at
Creation timestamp of the object.
Sourcecurrency
The payment currency. Currently, only usd is supported.
Sourcedecline_message
Human-reasable error message, if the payment was declined.
Sourcedecline_reason
Error code, if the payment was declined.
Sourcemodified_at
Last modification timestamp of the object.
Sourceorder_id
The ID of the order associated with this payment.
Sourceorganization_id
The ID of the organization that owns the payment.
Source