TransX402 Docs

Welcome to TransX402

IDRX micropayment platform using the x402 protocol — accept Indonesian Rupiah stablecoin payments on your website with ease.

Accept IDRX micropayments on any website using the open x402 protocol — register, get an API key, integrate. TransX402 is the facilitator: we verify payments, submit transactions, and pay gas, so you never touch blockchain infrastructure.

Facilitator in the x402 Ecosystem

  • Your server returns an HTTP 402 Payment Required with payment requirements
  • TransX402 verifies the buyer's signed authorization and settles it on-chain
  • You receive IDRX directly in your merchant wallet — no smart contract code required

Where TransX402 Fits

x402 is an open protocol — several facilitators implement it, each for a different token and network.

FacilitatorPrimary tokenFocusTransX402 relationship
Coinbase CDPUSDC, EURCGlobal, multi-chainSame x402 protocol — CDP doesn't support IDRX
PayAIMulti-tokenSolana-first, multi-networkSame x402 protocol — no IDR-native stablecoin
TransX402IDRXIndonesia / IDR paymentsIDR-pegged facilitator on Base; x402-compatible drop-in

Already using @x402/fetch or Coinbase middleware?

Same protocol — point your client at TransX402's facilitator and use IDRX instead of USDC. See the Quickstart.

Why TransX402?

Instant settlement

Payments settle on Base immediately — no multi-day payout delays.

Fees under $0.003/tx

L2 settlement keeps fees micropayment-viable. See why fees are so low.

Price in Rupiah

Set prices in IDR — 1 IDRX is always worth Rp 1, no FX conversion.

Free sandbox

Test your full integration with free test IDRX before going live.

No blockchain code

The JS library, CDN script, or WordPress plugin handle the entire payment flow.

The integration itself feels like a payment gateway you already know — Stripe, Midtrans, or Xendit.

Get Started in Minutes

Register at dashboard.transx402.com and connect your wallet
Get an API key — a sandbox secret key is created automatically
Pick a stack — Next.js, WordPress, or CDN. See the Quickstart
Test in sandbox with free test IDRX
Go live — swap in a production key, same code

→ Follow the full Quickstart guide

Facilitator Endpoints

Hosted facilitator: https://api.transx402.com — one API for both sandbox and production.

EnvironmentSecret key (server)Publishable key (browser / CDN)Network
Sandboxipk_sandbox_...ipk_pub_sandbox_...CAMP Testnet (test IDRX)
Productionipk_live_...ipk_pub_live_...Base mainnet

Keep secret keys on your server (Next.js, WordPress PHP). Use publishable keys only for CDN / direct settlement, and register Allowed Origins in the dashboard first.

Same integration code — swap the key family to go live. The key prefix selects which chain config the facilitator uses.

Learn the Basics

On this page