Skip to main content
POST
/
api
/
v1
/
billing
/
checkout
Create Checkout Session
curl --request POST \
  --url https://api.example.com/api/v1/billing/checkout
{
  "url": "https://checkout.stripe.com/c/pay/cs_live_..."
}
Creates a Stripe Checkout Session for upgrading to the Pro plan. Returns a URL to redirect the user to.

Request

curl -X POST \
  -H "Authorization: Bearer <token>" \
  https://app.taxhomebase.com/api/v1/billing/checkout
No request body required.

Response

{
  "url": "https://checkout.stripe.com/c/pay/cs_live_..."
}
Redirect the user to the returned URL. After successful payment, they’ll be redirected back to the app with Pro access activated.

Errors

StatusCause
400User is already on the Pro plan
503Stripe is not configured