Card storage setup
Transfer collects card number and expiry in its own card form. The browser seals the details with the vault’s public key before sending them to the server. After checking ownership, the server validates the card and stores an encrypted card number plus expiry and masked metadata. Transfer does not collect or store CVC, including encrypted CVC. Local sandbox mode accepts public test cards only, such as4242424242424242 with a future expiry. Real cards require an approved live deployment following security and PCI review. Configured encryption is not a claim of PCI compliance or proof of merchant compatibility. If storage is not activated, the dashboard accepts no card details.
Local development setup
From the application repository, run:Add a card and assign access
- Use a dedicated card with actual spending limits set at the issuing bank.
- In Wallet, enter its number and expiry, optionally add a Card name, and choose Save card. The name is independent of agent names.
- New cards use All merchants by default. There is no merchant or payment-hostname field.
- In Agents, add or edit an agent and select the card. Then choose Codex in its connection options, use Copy for Codex, and paste the prompt into Codex on your computer. For other clients, generate a private key from their connection options. See Connect your agent.
Use Codex’s browser
The default Copy for Codex flow installs a local worker withget_card_details. At an authorized checkout, Codex can
retrieve its assigned number and expiry and enter them with its existing browser
tools. This deliberately exposes those details to the agent’s context and browser
arguments. It never supplies CVC or clicks Pay. Companion Companion limits
do not apply to this mode; set real limits at the bank.
Remote token exchange
- Call
get_agent_cardto inspect the masked card andusable_for_checkout. - Call
get_payment_card, or the payment-details REST endpoint, to mint a single-use checkout token. No actual card number or expiry is returned by this step. - Within 60 seconds, a trusted checkout client sends the token to the redemption endpoint, authenticated with the same agent bearer key.
- The client receives the assigned card’s real number and expiry. It can use these at a compatible merchant checkout without putting them in model prompts, logs, analytics, or persistent browser storage.
- If required, the owner enters CVC directly at the merchant and completes 3D Secure or other bank authentication. CVC is
nullin Transfer responses andrequires_owner_cvcistrue.
allowed_hosts: ["*"]. The credential exchange does not restrict merchant destinations after disclosing the actual card number. Older cards with an exact-host policy cannot mint tokens through this flow; relink explicitly to use the new all-merchant model.