Initialize Payment for Checkout (Stripe)
PATCH/api/checkout/:id/payment
Initialize payment for a checkout using the Stripe payment method.
Request
Path Parameters
id stringrequired
The ID of the checkout for which payment is being initialized
- application/json
Body
required
success_url string
cancel_url string
email string
Responses
- 200
Successful initialization of payment
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"checkout_url": "https://buy.stripe.com/3csfZKgUC8foeyc001?prefilled_email=test@reachu.io",
"order_id": 1347
}
{
"checkout_url": "https://buy.stripe.com/3csfZKgUC8foeyc001?prefilled_email=test@reachu.io",
"order_id": 1347
}
Loading...