Sign in

Create plan

documented

Create a new plan.

POST /sites/{site_id}/plansPlansno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://v3.recurly.com/sites/{{$site_id}}/plans" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"code": "{{$plan_code}}", "name": "{{$plan_name}}", "currencies": [{"currency": "{{$currency}}", "unit_amount": {{$unit_amount}}}]}'