Represents a payment against an invoice or order. A Payment usually represents a
transaction at a Payment Service Provider. A Payment can also represent a retry
attempt. In this case it is linked to an original or top-level Payment record.
A top-level payment record is then associated with an Invoice or Order.
Fields
Payment amount with currency symbol.
When the payment record was first created.
The database ID of the payment.
The invoice associated with this payment. The original payment and all its retry attempts are associated with one invoice.
The external payment reference from the payment service provider.
The type of transaction that this payment represents
The refunds for this payment.
Send your customer to this URL to allow them to retry the failed payment. Append ?return_url=https://your-url to send the customer back after a successful payment.
Deprecated: Use the `payment_status` field instead.
The subscription associated with this payment.
Token to identify the payment with
When the payment record was last updated.