Capture
A capture of funds for a payment intent. CapturePaymentIntent creates a capture, and so does AuthorizePaymentIntent for the INSTANT capture strategy.
Contents
- captureAmount
-
The amount captured.
Type: PaymentIntentAmount object
Required: Yes
- captureId
-
The ID of the capture.
Type: String
Length Constraints: Fixed length of 23.
Pattern:
capture-[0-9a-zA-Z-]{15}Required: Yes
- createdAt
-
The time when the capture was created.
Type: Timestamp
Required: Yes
- status
-
The status of the capture. Valid values:
-
CAPTURE_PENDING- The payment provider accepted the capture but hasn't confirmed it yet, for example a PayPal capture with the statusPENDINGor an Amazon Pay capture with the statusPending. A pending capture isn't counted in the payment intent'scapturedAmountuntil it settles. -
CAPTURED- The funds were captured. -
FAILED- The capture failed.
Type: String
Valid Values:
CAPTURE_PENDING | CAPTURED | FAILEDRequired: Yes
-
- updatedAt
-
The time when the capture was last updated.
Type: Timestamp
Required: Yes
- partnerCaptureReference
-
The payment provider's reference for the capture, such as the Stripe PaymentIntent or charge ID, or the PayPal or Amazon Pay capture ID.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: