Sandbox Onboarding
Provision a test session without spending funds
Sandbox Onboarding
1) Confirm available testnet entry points
curl https://api.plaidly.io/v1/sandbox/faucetsResponse is a chain/network map (for chains that expose testnet faucets).
2) Create a demo payment session
Use demo session creation when you do not need a merchant-scoped key:
curl -X POST https://api.plaidly.io/v1/payment_sessions/demo \
-H "Content-Type: application/json" \
-d '{
"chain": "solana",
"network": "testnet",
"token": "USDC",
"amount": 0.0015
}'This returns a session in pending status and an session_id.
3) Read the session details
curl https://api.plaidly.io/v1/payment_sessions/<SESSION_ID>You get deterministic fields for test assertions:
session_idaddressexpected_amountcurrencypaymentMethodstatus
Optional: retrieve a funded dev wallet for the session
For some chains, tests may want the private key:
curl -X POST https://api.plaidly.io/v1/payment_sessions/<SESSION_ID>/provide_walletResponse:
{
"wallet": {
"publicKey": "...",
"privateKey": "...",
"explorerURL": "..."
}
}Fields:
publicKeyprivateKeyexplorerURL
Next
- Continue with Create stablecoin session for API-key scoped sessions.