Skip to main content

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

Body

required
    value floatrequired

    The value of the gift card

    currency stringrequired

    Default value: CHF

    Currency code (e.g., CHF, EUR, USD)

    email emailrequired

    The email address of the customer

    recipient_email email

    The recipient email address (optional)

Responses

The details of the new gift card and payment link.

Schema
    checkout_url urirequired

    Stripe checkout URL for payment

    checkout_id uuidrequired

    Unique checkout ID for tracking

    value floatrequired

    Gift card value

    currency stringrequired

    Currency code (e.g., CHF, EUR, USD)

    status stringrequired

    Checkout status (initially 'pending')

Loading...