Get the calldata needed to pay a request. For same-chain payments, returns transaction calldata that can be directly executed. For crosschain payments (when chain and token parameters are provided and differ from the request’s native chain), returns a payment intent that needs to be signed and processed through the crosschain bridge. For off-ramp payments, use the query parameters clientUserId and paymentDetailsId. Note: Crosschain requests with an expectedAmount less than 1 are rejected.
API key for authentication (optional if using Client ID)
Client ID for frontend authentication (optional if using API key)
Origin header (required for Client ID auth, automatically set by browser)
The requestId of the request
"01e273ecc29d4b526df3a0f1f05ffc59372af8752c2b678096e49ac270416a7cdb"
The wallet address of the payer.
"0x6923831ACf5c327260D7ac7C9DfF5b1c3cB3C7D7"
The source chain of the crosschain payment
BASE, OPTIMISM, ARBITRUM, ETHEREUM The source token of the crosschain payment
USDC, USDT, DAI The amount to pay, in human readable format
Optional client user ID for off-ramp payments
"user-123"
Optional payment details ID for off-ramp payments
"fa898aec-519c-46be-9b4c-e76ef4ff99d9"
Fee percentage to apply at payment time (e.g., '2.5' for 2.5%)
"0.02"
Address to receive the fee
"0x6923831ACf5c327260D7ac7C9DfF5b1c3cB3C7D7"
Payment calldata retrieved successfully