Buy gift card (Stripe)
POST/gift-card/stripe/buy/
Create a new gift card and return a Stripe payment link. The gift card will be activated when the payment is completed.
Request
Responses
- 200
The details of the new gift card and payment link.
- application/json
- Schema
- Example (from schema)
Schema
payment_link string
The URL to the Stripe payment page
checkout_id string
The ID of the checkout session
value number
The value of the gift card
currency string
The currency of the gift card
status string
Possible values: [pending]
The status of the payment
{
"payment_link": "string",
"checkout_id": "string",
"value": 0,
"currency": "string",
"status": "pending"
}
Loading...