RevnuDocs
Browse the Docs▾

API Reference / Get a checkout link

Get a checkout link

POST/api/v1/setup/checkout

A Stripe Checkout link that starts the customer's subscription, with a free trial when their account has one. The customer enters their card on Stripe's page.

Last updated

curl -X POST -H "Authorization: Bearer $REVNU_API_TOKEN" https://revnu.com/api/v1/setup/checkout

Response

{ "url": "https://checkout.stripe.com/c/pay/cs_live_…" }

Give the link to the customer. Stripe's webhook, not this call, starts the subscription; poll setup status until the stage is start. Before the review is confirmed this returns 409.

Agents: this page is also markdown at /docs/setup-checkout.md, answers Accept: text/markdown, and is listed in /docs/llms.txt.

Frequently Asked Questions

No. Card details are entered on Stripe's page by the customer. Nothing in the API takes them.