API reference

API reference · Credits

The details invoices are made out to

GET/api/account/billing-detailsSigned in session

Parameters

Path and query parameters
FieldTypeWhat it is
orgId (query)integerA team's details instead of the account's: reading needs billing.view, changing needs billing.fund.

Answer 200

Null when none are set.

Fields of the 200 answer
FieldTypeWhat it is
detailsobject or null
details.namerequiredstringAt most 200 characters.
details.addressrequiredstring or nullAt most 600 characters, lines kept.
details.taxIdrequiredstring or nullAt most 64 characters.

Errors

  • 401OpenAI shaped error.
  • 404OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter