Guides & tutorials
Longer walkthroughs that cross several endpoints. Each one stands alone, so start with the one that matches what you are building.
Build a robust integration
The habits that keep a BillKit integration working as the API grows, a webhook arrives twice, or two events arrive in the wrong order.
Recover failed payments
What BillKit does when a renewal fails, how it retries, and the parts you have to build.
Metered billing, end to end
Charge for consumption. Create a per-unit price, post usage records, and let BillKit close the period and collect.
Free trials
Configure a trial on the price, override it per checkout, and handle the events around conversion.
Embed Checkout in your own page
Mount the Checkout Element, keep the customer on your domain, and let the iframe handle 3D Secure.
Discounts with coupons
Create a percentage or fixed-amount code, decide how long it lasts, and apply it either yourself or by letting the buyer type it.
Migrate from Stripe
Rehearse the move with the Stripe importer in test mode, then import your live account, because everything but payment methods can follow your customers.
Charge once, without a subscription
Take a single payment for a top-up, a setup fee or a one-time order. No mandate, no renewal, and an invoice all the same.
Hand customers a self-service portal
Mint a session, send the link, and let customers change plan, fix a card, download invoices and cancel without you building any of it.
Charge and record EU VAT
Every EU rate is seeded for you. Decide net or gross, validate VAT numbers, and get reverse charge right.
Develop locally with the CLI
Install billkit, log in, stream events to localhost, and trigger test events without waiting for a real payment.
BillKit