PaymentIntent
A PaymentIntent guides you through the process of collecting a payment from your customer. It tracks a payment when your customer first checks out, through to when payment is successfully paid by your customer. A PaymentIntent transitions through a number of states throughout the customer's payment journey.
Constructors
Types
Properties
Payment amount. This is the order amount you would like to charge your customer
Available payment method types
Reason for cancelling the payment intent. Only present when the payment intent was successfully cancelled, i.e. status is CANCELLED
Last time at which this payment intent was cancelled. Only present when the payment intent was successfully cancelled, i.e. status is CANCELLED
Amount that captured from this payment intent
Client secret for browser or app
The customer who is paying for this payment intent
PaymentConsents of the Customer if Customer ID is provided
Payment methods of the customer if customer ID is provided
Descriptor that will be displayed to the customer
Latest payment attempt that was created under the payment intent
The order ID created in merchant's order system that corresponds to this payment intent
Next action for the payment intent
The purchase order info
The status for the payment intent