- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Payment - Payment Module Data Models Reference
This documentation provides a reference to the Payment data model. It belongs to the Payment Module.
id
PrimaryKeyModifier<IdProperty>The ID of the payment.
amount
BigNumberPropertyThe amount of the payment
currency_code
TextPropertyThe currency code of the payment.
@example usd
provider_id
TextPropertyThe ID of the Payment Module Provider used to process the payment.
The associated payment collection.
The associated payment session.
The associated refunds.
The associated captures.
cart_id
TextPropertyOptionalThe ID of the cart this payment was created for
order_id
TextPropertyOptionalThe ID of the order this payment was created for.
customer_id
TextPropertyOptionalThe ID of the customer making the payment
data
JSONPropertyOptionalThe data of the payment that's useful for processing with third-party services. Learn more in this documentation
metadata
JSONPropertyOptionalHolds custom data in key-value pairs.
captured_at
DateTimePropertyOptionalThe date that the payment was captured.
canceled_at
DateTimePropertyOptionalThe date that the payment was canceled.
Was this page helpful?