The agent must be linked first. If it isn’t, session commands exit with
Agent not linked. Run: prava setup --name "<name>".prava sessions create
Each
--product is a JSON object:
prava sessions poll
Wait for the card to be entered and tokenized (exchanged for one-time credentials that stand in
for the real card):
While waiting it prints dots; once the owner completes card entry:
poll waits up to 10 minutes for the owner to enter the card; that’s the CLI’s card-entry
window. The underlying session expires 15 minutes after creation; once it does, create a new
session.
What you receive
Exit codes
Session commands use exit codes so an agent can branch reliably:Common outcomes
Next: use the token to complete a checkout, or drive the
merchant’s checkout directly with the returned credentials.