Overview
The token catalog lists the mock tokens one API key may use, plus the non-sensitive details an agent needs to choose between them: card brand, last four digits, real expiry, and which sites a card or login applies to. Everything sensitive in it is a mock token, so it is safe to hand to an agent. Fetch it three ways:Example
TokenCatalog
How the agent is connected, and what its card fills will type.
auth:oauthfor a hosted MCP connection, whose settings are on Connected apps, orapi_keyfor a pasted key, whose settings are on API keys.testCard:truewhen every card fill types a test card. Nothing is charged, and a real store refuses the order, though a demo checkout or payment sandbox may accept it. The agent tells the user before it starts a checkout. This reflects the setting now; a browser session reads it when it starts, so a session opened before a change keeps filling the way it began (see Fill a test card instead). Start a new session after a change.approveEveryPurchase:truewhen the owner approves every purchase. AlwaysfalsewhiletestCardistrue, since a test-card fill is never held for approval.
Identity entries, shaped like
addresses, with the default identity first.Present only on a catalog narrowed by URL.
The agent wallet, when this connection can pay from it.
At most one entry. Absent otherwise; then
walletNote may say why.Present when
wallets is absent and the next step is the account holder’s:
set the wallet up, or tick Pay from the agent wallet for a connection or
key limited to chosen cards. A key that fills the test card gets a note to use
one with real cards. Repeat it to the user as it is, then read the catalog
again once they are done.TokenCatalogIdentity
default is the account profile, and it always comes first. Every other
entry is an identity the account holder added under Other identities,
such as work, and carries its label in its tokens, for example
av_id_work_email_u7x2k. Use default unless the account holder names
another label.The fields the account holder has not filled in, for example
["last_name", "phone"].
Their tokens are still listed, but a fill with one throws token_not_found
instead of typing an empty value. Check it before a form that needs those
fields, and ask the account holder to add them: to their profile for the
default identity, or to that labelled identity under Other identities.
One exception: for a stored number outside +1, the US phone segments
(phone_area, phone_prefix, phone_line) are not listed but still throw
token_not_found, since such a number has no segments to give. Use
phone_national for it instead.The whole number in E.164 form, for example
+15550100134, when the phone
was saved with the current Country code and number fields. Fill it into a
single international field. If the field’s maxlength would cut it short, the
fill is refused.A phone saved before those fields existed may have only its old free-text
value. Then phone fills that text exactly as it was typed, for example
5550100134 with no country code, and is not converted to E.164. The account
holder fixes this by saving the phone again on the Identity page. See
Identity and addresses.The country calling code, for example
+1 or +91. Resolves for any country.
For an older free-text phone, it resolves only when the text is a readable
international number starting with +, or a ten-digit North American number.
Otherwise it throws token_not_found, and so does phone_national.The national number without the country code, for example
5550100134.
Resolves for any country. Use it with phone_country whenever a form splits
the number into a country box and a number box.Day of birth, 2 digits (
07). With dob_month and dob_year, for a form that
splits the date into three boxes or selects.The date in one box, day first:
07/03/1990. Read the field’s placeholder to
tell which order it wants.The five phone fields after
phone are optional in the type, and so are the
date of birth, gender and title fields. A deployment that
predates them returns an identity without them, so check a key is present before
filling it.TokenCatalogAddress
Whatever the account holder named it, such as
ship, or card1 for an
address typed while adding a card. The catalog does not link an address to a
card, so ask the account holder which label is a card’s billing address.destination_unauthorized.
TokenCatalogCard
The account holder’s own name for the card, such as
Revolut gray, set on the
Cards page. Absent when the card has no name. Match the
user’s words against it, and when more than one card could fit, ask which one
to use, naming each with its brand and last four, since two cards can share a
name. With a single candidate, use it without asking.The mock security code token. Nothing is stored behind it: filling it starts
live CVV entry on a deployment that offers it, and
otherwise fails with
cvv_entry_required.The hosts this card is registered for: the merchants named by its active
allowlist agent cards. Absent for every other configuration, so its absence
says nothing on its own. Read
anySite.Present and
true when this card fills as a test card for the asking
connection, the same as connection.testCard. Before the final pay click the
agent names the card it is paying with (nickname, brand and last four), and
says when it is a test card.The card is not limited to a list of sites, so a catalog narrowed by URL
returns it for every host.
TokenCatalogWallet
The wallet’s handle,
av_wallet_<userId>. Pass it as
pay_request’s card.Set when no agent card is linked to the wallet, so no agent card limits apply.
The account pause, the account holder’s approval of each new seller and the
plan’s payment count still do.
TokenCatalogLogin
Additional sign-in hosts the account holder authorized, for example
authenticator.cursor.sh on a cursor.com login. These match exactly,
unlike website. Absent when there are none.The login has authenticator-app 2FA. It says only that 2FA exists, never the
secret. Absent otherwise.
Absent, not empty, until a username is set. Present on a login opened with
a
username, because approval stores it. Otherwise it appears after
setLoginUsername().The mailbox the login registered with. Fill this into a sign-in form’s
email field.Absent on a login that predates the field, on one the account holder saved with
a single identifier, or when the account holder cleared it, which the dashboard
allows only when a username exists.
Present only when the login has 2FA. At fill time the backend turns it into the
current code, usually 6 digits, and the proxy types it.
TokenCatalogRelatedLogin
A login registered on another host of the same site as the URL the catalog
was narrowed to. Hosts only, no tokens.
The host the login is registered for. Go there to sign in: a login is locked to
its site and will not fill on the page you are on.