Get account

One account with contact details, tax fields and links to its subscriptions and invoices.

GET https://cotlet.dev/api/v1/recurly/accounts/{account_code}

read

Returns one account by account_code: name, company, email, address, VAT number, whether it is tax exempt and its state. Use it to see who the customer is before you change a subscription or refund an invoice.

Parameters

Parameters: get_account
NameTypeDescription
account_code string required string Account code from list_accounts.

Request

cURL
curl https://cotlet.dev/api/v1/recurly/accounts/account%20code \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("recurly", "get_account", {"account_code":"account code"})
Node.js
const result = await cotlet.call('recurly', 'get_account', {"account_code":"account code"});
CLI
cotlet call recurly get_account --data '{"account_code":"account code"}'

Example response

JSON

{
  "account_code": "acme-co",
  "state": "active",
  "company_name": "Acme Co",
  "email": "billing@acme.example",
  "first_name": "Dana",
  "last_name": "Reed",
  "country": "US",
  "tax_exempt": false,
  "created_at": "2026-03-02T10:14:00Z"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.