cURL
curl -X PUT \ /public/checkout/cart/{id}/prepare-stripe \ --header "Authorization: Bearer <token>"
{ "clientSecret": "<string>", "paymentIntentId": "<string>", "setupIntentId": "<string>" }
Prepares a cart for stripe.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Cart identifier
Cart resource updated
The Stripe client secret for the payment intent or setup intent.
The Stripe payment intent id, if the cart amount due is not zero.
The Stripe setup intent id, if the cart amount due is zero.
War diese Seite hilfreich?