Browser Tokens for checkout and login forms
Browser Tokens are Evervault’s flow for agents. Evervault returns tokens that keep the format of the real value: a Luhn-valid card number with the same length and BIN, a CVV with the same number of digits. Checkout forms accept them like real values. When the browser sends a token to a host you allowed, Evervault replaces it with the real value on the way there.Browser Tokens are in preview at Evervault. Ask Evervault support for access.
1. Create tokens on your server
Call Evervault from your backend, never from the agent.permissions lists
the hosts that may receive the real values, for example the payment
processor’s host:
curl
data and the proxy login in
proxyConfiguration:
ttl seconds. See
Evervault’s API reference for all fields,
including EU sessions (eu-ie.browser.relay.evervault.app).
2. Map proxyConfiguration to customProxy
The port is 443, so
protocol defaults to https. Do not use
ignoreCertErrors; it turns off certificate checks for every site.
3. Start the browser or run
A standalone browser:curl
browserSettings.customProxy on
POST /api/v4/runs, and give the agent the token values in the task, never
the real ones. Keep the run inside the token ttl.
By default Evervault sends the traffic from its own IP addresses, not from a
Browser Use residential IP. Evervault’s proxySettings chooses other egress.
4. Switch only at the payment step (standalone browsers)
This step works only for standalone browsers you create withPOST /api/v4/browsers. Browsers that belong to an agent run cannot change
their proxy (409), so start a hosted run with its final
browserSettings.customProxy.
Save the id from the create-browser response as BROWSER_ID. Shop on the
residential proxy, create the tokens when the agent reaches the payment form,
then change the running browser to Evervault. Tabs and cookies stay:
curl
{"mode": "managed", "country": "us"}. See
Change the proxy of a running browser
for all rules and error codes.
Relay for requests with ev: values
Evervault’s Relay forward proxy
decrypts ev:... strings in requests to hosts set up as Relays in your
Evervault app. ev: strings do not look like card numbers, so checkout forms
usually reject them before any request is sent. Use Relay only when the page
sends the ev: values in a request itself, for example a script that calls
your payment API. For forms, use Browser Tokens.
Good to know
- API responses never include the proxy password or the CA settings.
exitIpisnullwhile the browser is on Evervault.- EU accounts can use Evervault too. Send the requests to
https://api.eu.browser-use.com/api/v4with your EU API key, and use Evervault’s EU proxy host. See EU deployment. - The proxy password can have up to 8192 characters.