Create account
documentedCreate a new customer account.
POST /sites/{site_id}/accountsAccountsno implementation yet0 runsNo 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://api.recurly.com/v2021-02-25/sites/{{$site_id}}/accounts" \
-X POST \
-H "Authorization: Basic {{RECURLY_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"code": "{{$code}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "email": "{{$email}}", "preferred_time_zone": "{{$time_zone}}", "address": {"street1": "{{$street1}}", "city": "{{$city}}", "region": "{{$region}}", "postal_code": "{{$postal_code}}", "country": "{{$country}}"}, "billing_info": {"token_id": "{{$token_id}}"}}'