| Field | Type | Required | Description |
|---|---|---|---|
object |
BillingPaymentAttemptObject | ✔️ | String representing the object's type. Objects of the same type share the same value. |
id |
String | ✔️ | Unique identifier for the payment attempt. |
paymentId |
String | ✔️ | Unique identifier for the associated payment. |
instanceId |
String | ✔️ | The ID of the instance this payment attempt belongs to. |
chargeType |
String | ✔️ | Type of charge for this payment attempt. |
payeeId |
String | ✔️ | Unique identifier for the payee. |
payee |
Payee | ✔️ | The payee associated with this payment attempt. |
payerId |
String | ✔️ | Unique identifier for the payer. |
payer |
CommercePayerResponse | ✔️ | N/A |
subscriptionItemId |
Optional<String> | ➖ | Unique identifier for the associated subscription item. |
subscriptionItem |
Optional<SubscriptionItem> | ➖ | The subscription item associated with this payment attempt. |
amount |
CommerceMoneyResponse | ✔️ | N/A |
totals |
JsonNullable<BillingPaymentAttemptTotals> | ➖ | Totals breakdown for this payment attempt. |
paymentMethodId |
String | ✔️ | Unique identifier for the payment method. |
paymentMethod |
CommercePaymentMethodResponse | ✔️ | N/A |
statementId |
String | ✔️ | Unique identifier for the associated statement. |
gatewayExternalId |
Optional<String> | ✔️ | External identifier from the payment gateway. |
gatewayExternalUrl |
Optional<String> | ✔️ | External URL from the payment gateway. |
status |
BillingPaymentAttemptStatus | ✔️ | The current status of the payment attempt. |
paidAt |
Optional<Long> | ✔️ | Unix timestamp (in milliseconds) when the payment was completed. |
failedAt |
Optional<Long> | ✔️ | Unix timestamp (in milliseconds) when the payment failed to be processed. |
createdAt |
long | ✔️ | Unix timestamp (in milliseconds) when the payment attempt was created. |
updatedAt |
long | ✔️ | Unix timestamp (in milliseconds) when the payment attempt was last updated. |