Payment
Payment snapshot for payment.succeeded and payment.failed events. Use status and the captured and paid fields to reconcile the payment outcome.
- statusType: stringenumrequired
Payment status at the time of the event.
values- failed
The payment failed; inspect failureCode and failureMessage.
- pending
The payment is still pending; wait for its outcome.
- succeeded
The payment succeeded; inspect captured and amountCaptured for the capture result.
- failed
- idType: stringrequired
Payment ID.
- createdType: stringFormat: date-time
Time the Payment was created.
- updatedType: stringFormat: date-time
Time the Payment was last updated.
- amountType: integerFormat: int64required
Payment amount. Expressed in the smallest currency unit.
- currencyType: stringrequired
Three-letter currency code.
- currencyType: integer
Scale Number of decimal places used for amounts in this currency.
- paidType: boolean
trueif the charge succeeded, or was successfully authorized for later capture. - capturedType: boolean
If the payment was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
- amountType: integerFormat: int64
Captured Amount already captured. Expressed in the smallest currency unit.
- refundedType: boolean
Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
- amountType: integerFormat: int64
Refunded Amount already refunded. Expressed in the smallest currency unit.
- accountType: string
Id requiredAccount associated with the Payment.
- paymentType: string | null
Intent Id Related Payment Intent ID.
- paymentType: string | null
Method Id Related Payment Method ID.
- customerType: string | null
Id Related Customer ID.
- failureType: string
Code Failure code when the Payment failed.
- failureType: string
Message Description of the payment failure.
- clientType: string | null
Reference Id Your reference for this Payment.
- descriptionType: string | null
Description attached to the Payment.
- liveType: boolean
Mode Whether the resource belongs to live mode or test mode.
- metadata
Metadata attached to the resource.
Metadata attached to the resource.
- propertyadditionalPropertyType: string
Name

