Skip to main content
curl -X POST "https://api.adrelay.dev/v1/billing/create-checkout-session" \
  -H "X-API-Key: $ADRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plan": "pro"}'
{
  "checkout_url": "https://checkout.stripe.com/c/pay/cs_live_...",
  "session_id": "cs_live_abc123"
}
Redirect the user to the returned checkout_url to complete payment. After successful payment, the plan upgrade takes effect immediately.