Milypay demo · sandbox
Fund wallet → pay x402
MoneyGram does not settle the API call. It tops up USDC so you can answer PAYMENT-REQUIRED and retry with PAYMENT-SIGNATURE.
- Call a paid endpoint → HTTP 402
- If underfunded, start a MoneyGram sandbox session below
- Complete the widget → USDC lands in your Solana wallet
- Sign x402 and retry the original request
1) Sample 402 (live)
GET https://api.milypay.xyz/au-energy/nem
{
"loading": true
}2) MoneyGram session
3) Agent API
# status
curl https://api.milypay.xyz/ramp/moneygram
# session
curl -X POST https://api.milypay.xyz/ramp/moneygram/session \
-H 'content-type: application/json' \
-d '{"mode":"on-ramp"}'
# then pay x402 as usual on any paid routeDocs: agents.md · Prod keys later — this page is sandbox/demo.