The platform can bill your subscriptions for you. You describe what to bill in an offer, your customer subscribes once, and the platform charges the stored card on each due date, retries failed payments and sends you a webhook at every status change.
Three objects
Offer
What is billed and when. Offers are created and edited in the Console.
- Price. Amount and currency. The currency of an offer cannot be changed.
- Schedule. Frequency (for example every 1 month) and an optional billing day.
- Start. Optional first payment and first-rebill delay.
- Discount. Optional discount on the first rebills.
- End. Optional end date or maximum number of billing cycles.
- Pause. Whether pausing is allowed.
- Retries. The retry policy used when a rebill fails.
Subscriber
The end customer.
subscriber_idYour own reference.norbr_subscriber_idThe identifier the platform gives the subscriber.
Subscription
One subscriber on one offer.
- Card. The stored card used for every rebill.
- Status. Where the subscription is in its lifecycle.
- Next rebill.
next_payment_dateandnext_payment_amount.
How a subscription starts
| Flow | Call | What happens | Reference |
|---|---|---|---|
| Hosted payment page | POST /payment/checkout with offer_id | Your customer pays the first payment on the hosted payment page. | Create a checkout |
| Your own payment page | POST /payment/order with offer_id | You send the first payment from your server. | Create an order |
| Import of existing subscribers | POST /payment/token with offer_id and merchant_subscription_id | You send the token of the card held by your current provider. No first payment is taken. | Swap a token |
In the first two flows, the first payment is made with your customer present. The card is then stored and used for every rebill.
Good to know
| Topic | Detail |
|---|---|
| Amounts | Percent discounts and prorated amounts are always rounded down to the precision of the currency (9.99 less 50% is 4.99). |
| Timing | Each rebill and each retry is sent within 5 minutes of its due time. |
| Webhooks | Every status change sends a subscription webhook. See Subscription events. |