Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.adrelay.dev/llms.txt

Use this file to discover all available pages before exploring further.

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.