Overview
Secure Payment Pages let you generate a hosted payment URL from the API and redirect the payer to a dedicated payment experience. This feature is useful when you want to reduce frontend tampering risk and separate payment execution from your checkout UI.Built-in contract safety check
Before signing, the secure page validates that the transaction targets official Request Network contracts. The payer-facing status copy is:- “This is a safe smart contract”
- “The smart contract you are interacting with is an official Request Network smart contract, it is audited and valid.”
How the flow works
Create a secure payment link
Call
POST /v2/secure-payments with one or more requests.The API creates Request records and returns:requestIdstokensecurePaymentUrl
Payer reviews payment details
The hosted page loads the payment details and prepares the required transaction flow.
Authentication
Both secure payment endpoints accept:x-api-key, orx-client-idwith browserOrigin
API Reference
POST /v2/secure-payments
Create a secure payment entry and return a hosted secure payment URL. View the complete endpoint documentation with request/response schemas and examples.
Crosschain Support
Secure payment pages support crosschain payments. When a payer connects their wallet, the page fetches balance information across supported chains via thepaymentOptions field. The payer can select which chain and token to pay from, and the page fetches executable calldata for the selected route.
Supported crosschain currencies: USDC, USDT
Supported crosschain chains: Ethereum, Arbitrum, Base, OP Mainnet
See Crosschain Payments for details on crosschain routing via LiFi.
Smart Account Payments
The secure payment page supports gas-sponsored payments via Alchemy Account Kit smart accounts (ERC-4337). When available, payers can use a smart account to execute payments without paying gas fees. How it works:- The payer approves a spending cap from their EOA wallet to the smart account
- The smart account batches the
transferFrom(EOA to smart account) and the payment transaction into a single UserOperation - Gas is sponsored via an Alchemy gas policy — the payer pays zero gas
Smart account payments are a client-side feature of the hosted secure payment page. There is no separate API for smart accounts — the same
GET /v2/secure-payments/:token/pay endpoint provides the transaction calldata.Status outcomes
200: token is valid and payable403: token expired or status is not payable404: token not found409: payment already completed
Next pages
Secure Payments API Reference
Endpoint details, request and response schemas, and error codes.
Supported Networks and Currencies
Check supported chain and currency coverage before creating links.