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.”
KYT wallet screening
Secure Payment Pages can enforce KYT wallet screening when the payment destination has a compliance gate enabled. See Compliance-gated payments for configuration details and Hypernative Standard Screening Policy for the default policy categories and thresholds.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, Polygon, BNB Chain
See Crosschain Payments for details on crosschain routing via LiFi.
Smart Account Payments
For supported EVM payments, the secure payment page can execute through an ERC-4337 Safe smart account derived automatically from the payer’s connected wallet, bundled through Pimlico. The whole payment — approval, funding, and settlement — runs as a single UserOperation. How it works:- The payer authorizes the token spend. For tokens that support EIP-2612
permit(such as USDC), this is an off-chain signature with no separate approval transaction; for other tokens (such as USDT) it is a one-time on-chain approval. - The smart account batches the
permit/approval, the funding transfer from the payer’s wallet, and the payment transaction into a single UserOperation. - The bundler submits the UserOperation and the page surfaces the resulting on-chain transaction hash on the success screen.
Smart account payments are an automatic client-side behavior of the hosted secure payment page. There is no API field to enable them — the same
GET /v2/secure-payments/:token/pay endpoint provides the transaction calldata, and the page decides whether to route through a smart account. To pay from an existing Gnosis Safe multisig programmatically, see Safe multisig payments.Gasless token approvals (EIP-2612)
ERC-20 payments normally need a separateapprove() transaction before the transfer, which costs the payer extra gas. On the smart-account path, the secure payment page checks each token at runtime for EIP-2612 permit support:
- Permit-enabled tokens (e.g. USDC, EURC) — the payer signs an off-chain
permitinstead of sending an approval transaction. No approval gas is required, and the approval gas line item is hidden in the payer’s cost breakdown. - Non-permit tokens (e.g. USDT, DAI) — the page falls back to a standard one-time on-chain
approve(), which costs native gas as usual.
Whether a token is gasless is determined per token at payment time by probing the token contract, not from a fixed list — any EIP-2612-compliant token gets the gasless signature path. USDC/EURC and USDT/DAI are cited here only as common examples.
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.