Developers
Build Kuvert into what you already have.
Fetch the place and the nights from a shop, issue and redeem gift cards from your own system, and get signed webhooks when something is sold, refunded or booked. And put the shop on any website with one line.
curl
curl https://api.kuvert.dk/v1/merchants/demo-natklubben/profile 200 OK { "profile": { "address": { "street": "Istedgade 51", "postalCode": "1650", "city": "København V" }, "hours": { "weekly": [ … ] } } }
01
Four ways in
What you can build on
- The shop's public API
- What a customer may see, without a key: the place with its address and opening hours, the nights with prices and free seats, and the basket up to payment. They are the same calls Kuvert's own websites use, and the 5 in the public contract keep their names.
- Gift cards with an API key
- Your till or your own system issues, looks up and redeems gift cards. There are keys for test and for live, and a redemption sent twice is only drawn once.
- Signed webhooks
- 22 kinds of event, from a paid order to a cancelled booking, each signed so your system can tell it came from Kuvert.
- The button on your site
- One line on the page gives a buy button that opens the shop in an overlay. It can point to a particular event, a product or the table booking, speak 5 languages and wear your own colour.
02
Webhooks
The events you can subscribe to
Set up under Settings in the dashboard, with one signing key per receiver.
- giftcard.issued
- giftcard.redeemed
- order.paid
- order.refunded
- ticket.issued
- ticket.transferred
- ticket.refunded
- ticket.extra_added
- order.disputed
- order.dispute_closed
- booking.created
- booking.changed
- booking.canceled
- event.published
- event.updated
- event.canceled
- event.unpublished
- giftcard.voided
- giftcard.extended
- ticket.checked_in
- payment_link.paid
- preorder.placed
03
Get started
Try it before you build
- Read the documentation
- Every call, every field and every error code, written from the code.
- Open the laboratory
- The button in every shape and state, on a page with a panel of the events it sends.
- Use a demo shop
- Eight shops in test mode with the test card, so you can follow an order all the way through.
Missing a call? Write to us, and we will build it.
Create the shop, connect Stripe and add your products. No monthly fee on sales and no lock-in.
Would you rather have help, or do you need a website? See how we help