{
"paymentRequest": {
// Top-level details applying to the overall service request
"id": "unique-request-id-123",
"expiresAt": "2025-05-20T23:59:59Z",
"description": "Premium API access (100 credits)",
"serviceCallback": "https://service.example.com/webhook/payment-complete",
// Array of acceptable payment methods offered
"paymentOptions": [
{
// Option 1: USDC on Base network
"id": "usdc-base",
"currency": "USDC",
"network": "eip155:8453",
"amount": 10000000,
"decimals": 6,
"recipient": "eip155:8453:0xRecipientAddressOnBase",
"paymentService": "https://payments.example.com/base",
"receiptService": "https://receipts.example.com/base"
},
{
// Option 2: Stripe payment
"id": "stripe-usd",
"currency": "USD",
"network": "stripe",
"amount": 1000,
"decimals": 2,
"recipient": "acct_StripeAccountID",
"paymentService": "https://payments.example.com/stripe",
"receiptService": "https://receipts.example.com/stripe"
},
{
// Option 3: USDC on Solana devnet
"id": "usdc-solana-devnet",
"currency": "USDC",
"network": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
"amount": 10000000,
"decimals": 6,
"recipient": "ExAmPLeSoLaNaAddReSS111111111111111111111111",
"receiptService": "https://receipts.example.com/solana"
}
// ... more options ...
]
},
// Signed token covering the paymentRequest structure above
"paymentRequestToken": "signed-representation-of-the-entire-object"
}