RailPayDocs

Get started

Robinhood Chain and USDG

Where payments settle and who holds the keys.

NetworkRobinhood Chain, chain id 4663 (Arbitrum-based L2, gas paid in ETH)
AssetUSDG, 6 decimals, contract 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168
Explorerhttps://robinhoodchain.blockscout.com
Network id in x402eip155:4663
USDG EIP-712 domainname Global Dollar, version 1

Amounts

Request bodies take USDG as decimal strings ("25.5"). Balances and amounts in responses are integers in base units unless the field is a string (1 USDG = 1,000,000). x402 amount is in base units.

Your wallet

Sending and paying invoices happen in your own wallet: the app asks your wallet to sign a USDG transfer, then RailPay reads the confirmed transaction and records it. RailPay never holds the money you send or receive. Your wallet pays the network fee in ETH.

Agent wallets

Custodial

Each agent gets its own address, but the private key is generated and kept by RailPay (encrypted with AES-GCM). The agent wallet signs a USDG authorization only when the payment passes the agent's policy, or to send funds back to the owner's own wallet. Keep only what the agent needs in it.

Who pays the gas

Agent payments and USDG withdrawals from agent wallets are EIP-3009 transferWithAuthorization calls on the USDG contract. The transfer always goes from the payer to the payee for exactly the signed amount. Whoever submits it pays only the gas and cannot change the amount or the recipient.

FlowGas paid by
x402 payments to RailPay resources and paywallsAn outside x402 facilitator: Toll (https://x402.t0ll.xyz) first, then Primer (https://x402.primer.systems). Both are keyless. If neither settles and the payer is a RailPay agent holding ETH, the agent submits it itself.
x402 payments to other sellersThe seller or its facilitator
Agent-to-agent paymentsThe paying agent wallet (a little ETH)
USDG and ETH withdrawals from an agentThe agent wallet (a little ETH)
Sends and invoice paymentsYour own wallet

RailPay does not take a facilitator's word for it: before serving a paid resource it reads the USDG transfer back from the chain. If no facilitator settles a payment, the request gets unexpected_settle_error and nothing is charged. Toll settles 0.001 to 100 USDG per payment, so x402 prices on RailPay start at 0.001 USDG. The facilitators are separate services RailPay does not run; GET /v1/config lists the ones in use.

Coming soon

RailPay's own gas relayer, so agent-to-agent payments and withdrawals need no ETH either. It is switched off until it is funded; GET /v1/config reports relayer_status.

Fees

RailPay charges no fee today. Sends and invoice payments cost Robinhood Chain gas, paid in ETH by your wallet. x402 payments cost the payer nothing beyond the price: the facilitator pays that gas. Agent-to-agent payments and withdrawals cost the agent wallet a little ETH in gas. Pricing is TBD.

Planned

Other chains and stablecoins, bank corridors and FX, virtual cards, on/off-ramps, payment rules and splits, recurring/streaming payments and yield on idle float. No dates.

RailPay settles in USDG on Robinhood Chain (chain id 4663). Sends and invoice payments are signed in your own wallet and go straight to the recipient. Agent wallets are hot wallets run by RailPay. Fees, yield, cards, ramps and other chains are planned.

© 2026 RailPay. The RailPay token launches on Pons (Robinhood Chain). No contract address is live yet; trust only the one posted on the Token page.