POST /v1/subscriptions/:id/checkout-link
Returns a Nomba-hosted checkout link for the subscription. Used in two flows:- Pay-to-unlock — an
incompletesubscription (strictcharge_to_activate): the checkout charges period 1 and tokenizes the card. On settlement the webhook activates the subscription. - Recover a past-due subscription (the “Update payment” flow) — for a
past_due/grace/delinquentsubscription, the checkout settles the outstanding invoice. On settlement the webhook marks the invoice paid and returns the subscription toactive. Paying by card also captures a token (so future renewals auto-charge); paying by transfer recovers the period but leaves no token, so the next renewal will need another payment.
cURL
Where Nomba returns the customer after payment. Defaults to the tenant’s configured callback URL.
Response
checkoutLink. Reconciliation is handled by Plinth on the payment webhook —
listen for subscription.activated / subscription.recovered / invoice.paid to know when it lands.