How external wallet payments work
Contract addresses
The router is not deployed on Base Sepolia. USDC on Base Sepolia uses
0x036CbD53842c5426634e7929541eC2318f3dCF7e (chain 84532).
Verify on BaseScan
Open the Payment Router on BaseScan.- Events shows
CheckoutPaymentrecords with the session, buyer, seller, and amount. - Read Contract lets you call
sessionPaid(bytes32)to check a specific session. - Contract has the verified source and ABI for direct integrations.
Contract interface
pay(bytes32 sessionId, address recipient, uint256 amount)is the standard payment.payWithPermituses an EIP-2612 permit to combine approval and payment.sessionPaid(bytes32)andusdc()support verification.
Session ID encoding
Remove the UUID’s dashes, left-align its hex value, and zero-pad it to 32 bytes:USDC amounts
USDC uses six decimals. A payment of 25.00 USDC is25000000 base units.
Next steps
Payment webhooks
Get notified when a session is paid.
Buyer and agent guide
See every way a buyer can pay.