Skip to main content
GET
Get your account

Authorizations

Authorization
string
header
required

Your account's secret key: Authorization: Bearer sk_test_… or sk_live_…. Server-side only.

Response

Success.

Your Infi account.

id
string
required
Pattern: ^acct_[0-9A-Za-z]{22}$
Example:

"acct_4Lx2cV5bN8mQ1wE4rT7yUi"

slug
string
required

Your account's public identifier, used in checkout URLs (/pay/{slug}).

name
string
required
status
enum<string>
required
Available options:
active,
suspended,
closed
termsUrl
string<uri> | null
required

URL of your terms of use. null when unset.

Example:

"https://acme.ai/termos"

supportEmail
string<email> | null
required

Contact email. null when unset.

Example:

"contato@acme.ai"

logoUrl
string<uri> | null
required

Logo shown at checkout. null when unset.

appearance
object
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required