gifts

Purchase a gift package

Initiate Stripe checkout for a gift package purchase. Public endpoint (no auth required).

post/api/gifts/purchase

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/gifts/purchase
  • Auth: HTTP bearer

Request body

package_idstring required

Gift package ID to purchase (e.g., 'gift-4-sessions')

sender_namestring required

Name of the person buying the gift

sender_emailstring required

Email of the person buying the gift

recipient_emailstring required

Email to send the gift notification to

messagestring nullable

Optional personal message from sender

Response

Successful Response

gift_idstring required

Gift purchase UUID

checkout_urlstring required

Stripe checkout session URL

package_idstring required

Gift package ID purchased

priceinteger required

Package price in EUR

Changes

No recorded changes to this operation across all 55 revisions of this API.