Initialize Payment for Checkout (Stripe to use Embebed)
PATCH/api/checkout/:id/payment-intent
Initialize payment for a checkout using the Stripe embebed payment method.
Request
Path Parameters
id stringrequired
The ID of the checkout for which payment is being initialized
Responses
- 200
Successful initialization of payment
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"client_secret": "pi_3OpCG7BjfRnXLEB402ewEc8E"
}
{
"client_secret": "pi_3OpCG7BjfRnXLEB402ewEc8E"
}
Loading...