Skip to main content
POST
Create a test account

Body

application/json
ref
enum<string>

Where the account came from: lovable, mcp, cursor or cli.

Available options:
lovable,
mcp,
cursor,
cli,
web
accountName
string

Business name, optional. Does not change the account identifier, which is random.

Maximum string length: 120
email
string<email>

Optional, unverified contact for the claim notice. Without it, no email is sent.

Maximum string length: 254

Response

Test account created.

The created test account and its credentials. Keep the whole response.

id
string<uuid>
required

Test account ID. Use it with GET /public/v1/claimables/{claimableID}.

status
enum<string>
required

UNCLAIMED until someone claims the account; then CLAIMED.

Available options:
UNCLAIMED,
CLAIMED
tenantSlug
string
required

The account's public identifier, used in checkout URLs. It is random.

accountName
string
required

The business name sent at creation.

productId
string
required

The starter product. Not sellable yet: publish a version with a price first.

Pattern: ^prod_[0-9A-Za-z]{22}$
Example:

"prod_1d4YogBuw00jAySh5mbUpk"

apiKeySecret
string
required

The sk_test_ key. Shown only this once.

publishableKey
string
required

The pk_test_ key. Reserved: no route accepts it today. The embedded checkout needs no key; the payment link token is enough.

claimUrl
string<uri>
required

Open it and sign in to Infi to keep the account, e.g. https://app-sandbox.beinfi.com/claim/{id}.

expiresAt
string<date-time>
required

Claim deadline, 30 days after creation. After it, the unclaimed account expires and the sk_test_ key is revoked.