Skip to content
einvoicing.dev

API/Account

Get the account

GET/v1/account· API key

The account the calling key belongs to, and its plan. A plan change started with a checkout session shows here once Stripe has confirmed payment, which may take a few seconds. Test keys can read it.

Request
curl https://api.einvoicing.dev/v1/account \  -H "Authorization: Bearer $EINVOICING_API_KEY"

Response

200

The account.

FieldTypeDescription
datarequiredAccountAn account. Identified by its email address; it has no password.
Example responseapplication/json
{  "data": {    "id": "01J9Z3M8W2C4K6P8R0T2V4X6Z8",    "email": "steve@example.com",    "plan": "developer",    "created_at": "2026-09-11T14:05:02.117Z"  }}

Errors

Every error is application/problem+json (RFC 9457). Branch on type, which is stable, never on title or detail.

StatusWhen
401

No key, or a key that is unknown or revoked. Problem type is unauthenticated.

/problems/unauthenticated

429

Too many requests in a short window. Slow down and retry after the number of seconds in Retry-After. Problem type is rate-limited.

/problems/rate-limited

Schemas

Account

An account. Identified by its email address; it has no password.

FieldTypeDescription
idrequiredUlidA ULID. Opaque and time-ordered.
emailrequiredstring · emailThe address sign-in codes and notices are sent to.
planrequiredstringThe current plan.

freedeveloperpro

created_atrequiredTimestamp · date-timeRFC 3339, UTC, millisecond precision.