- Checkout
- Features
Recurring and on-demand payments
Create customer tokens with Kustom Checkout for subscriptions or on-demand charges. Learn how to store and charge a token and which methods are eligible.
Use a customer token to charge for subscriptions or on-demand purchases after the
customer leaves Checkout. Create the first order with recurring: true. When the customer
completes it, store the token and use it for later server-side charges. Your system controls
when each charge happens; the token has no billing schedule.
The customer authenticates during the initial checkout. Later charges are initiated by your server without a checkout or redirect. See Charge a customer token for retry rules and handling tokens that can no longer be charged.
What a token is charged for
Section titled “What a token is charged for”Use a token for:
- A schedule you run — a fixed commitment billed on your own cadence.
- On-demand — a charge whenever your own logic calls for one: a top-up, a usage overage or a re-order.
Your system sends each charge request with its amount.
Which API does what
Section titled “Which API does what”| Step | Call | What it does | Guide |
|---|---|---|---|
| 1. Create the token | POST /checkout/v3/orders | The customer’s first purchase, flagged recurring: true. Once it’s completed, read the order for its recurring_token. | Create a customer token |
| 2. Charge it | POST /customer-token/v1/tokens/{customerToken}/order | Every charge after the first. Creates a real order, with no checkout and no customer present. | Charge a customer token |
| 3. Capture, if needed | POST /ordermanagement/v1/orders/{order_id}/captures | Only for charges made without auto_capture: true. | Capture an order |
Every token call is in the Customer Token API reference, including reading a token and disabling it.
What this costs you at the checkout
Section titled “What this costs you at the checkout”Ask Kustom merchant support to enable recurring on your account before creating customer
tokens. Without it, creating an order with recurring: true returns 400 with
error_code: BAD_VALUE. A token belongs to the merchant ID that created it. You can’t
charge it under another merchant ID.
The initial checkout can offer cards, direct debit, Apple Pay and Google Pay. Eligibility, including for Klarna monthly invoice, depends on the market and merchant configuration. Financing methods are not offered on a new recurring checkout.
Treat the token as a credential
Section titled “Treat the token as a credential”A customer token authorizes charges. Encrypt it at rest, keep it out of logs and URLs and associate it with exactly one customer in your database.
Related
Section titled “Related”- Create a customer token — the first purchase
- Charging a token & retries — every purchase after it
- Saved payment methods — customer-initiated repeat purchases
- Order lines and tax — what Kustom validates on every line
- Migrate from Vipps Recurring — moving Vipps MobilePay agreements to customer tokens
This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.