Examples

Get paid on XE, from any chain.

Charge per API call, send a payment link, or bill every month. People and agents pay with XE, XUSD or USDC from Base or Solana. You're paid on XE in seconds.

Runs on XE Sim Interop, a test network. Its money has no value.

XE Pay's Developers page: “Charge for any API call”, Try a paid call and Already on x402; under it, “Already using x402? Change the URL, pay to your XE account.” beside the change to an x402 server: XE Pay's facilitator, and xeAccepts with your XE account.
XE Pay on a phone: “Charge for any API call”, Try a paid call and Already on x402.
What it does

One way to get paid, four ways to use it

  1. 01

    Your API names a price

    It answers 402 Payment Required with a price instead of asking for a key. The caller pays on XE, or with USDC from Base or Solana, and calls again. No accounts.

    A call to XE Pay's price feed answered 402 Payment Required: “Pay $0.01 to get the price feed. Nothing is sent until you pay.”, in XUSD or XE, or USDC on Base or Solana, beside the API's raw response listing every way to pay.
  2. 02

    Agents pay on their own, up to your limit

    Give an agent an allowance once. It pays for each call without asking you, and XE's network stops it at the limit you set.

    An agent with a $0.05 daily allowance: five calls paid at $0.01 each, and the sixth stopped by XE because the day's allowance is used up.
  3. 03

    Send a link, get paid on XE

    Make a link for any amount. They pay from an XE wallet, or with USDC from Base or Solana. Every payment comes with a receipt anyone can check.

    The link builder: $2.50 for two coffees on the left, and on the right the checkout it makes, payable in XUSD, with USDC on Base or with USDC on Solana.
  4. 04

    $5 a month, cancel any time

    Your customer's wallet allows one payment a month and nothing more. They cancel in their wallet, and the next month isn't charged.

    Feeds Pro at $5 a month, active: the next payment's date, an access key, the first month paid on XE, and Cancel subscription.
Why XE

Paid, and you can prove it

  • Paid in secondsA payment in XE or XUSD is final on XE in seconds. From Base it takes about half a minute, from Solana about a minute.
  • One signature from BasePaying with USDC on Base is one signature in the wallet. No gas, no approval.
  • Limits the network keepsAllowances and subscriptions are set in the payer's own wallet, and XE's nodes refuse anything past them.
  • A receipt anyone can checkEvery receipt names its block on XE, and the page checks it again when you open it.

Secured byHyperlane

XE’s own validators sign every message that leaves XE, and every message is checked when it arrives. The contracts that carry them are open source and audited.

QUESTIONS

Questions

What can people pay with?

XE or XUSD from an XE wallet, or USDC on Base or Solana. Arbitrum and Optimism work too. You're always paid on XE.

I already use x402. What changes?

Two lines: point your x402 middleware at XE Pay's facilitator, and name your XE account as where you're paid. Your clients stay as they are.

Do I need to run anything?

No. Your API answers with a price, and XE Pay checks each payment on XE for you. A few lines of code do it.

What does it cost?

Paying on XE costs nothing extra. Paying with USDC from Base adds a small fee, shown before you sign.

How do agents pay?

With an allowance you approve once in your wallet: so much a call and a day, only for what you name. XE's network refuses anything past it.

How do I cancel a subscription?

In your wallet, any time. The next month isn't charged.

Is the money real?

Not yet. XE Pay runs on XE Sim Interop with test XE and XUSD, and test USDC on Base and Solana.

XE apps run on XE Sim and the XE testnet. Test XE has no value.