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.
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.