Simulate relay payment
Dry-run simulation that returns relay payment requirements including fees without executing payment.
Fee Model:
- Flat 3%
- This ensures gas costs are covered while remaining competitive with Web2 payment processors
Documentation Index
Fetch the complete documentation index at: https://docs.httpayer.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
The target API URL to call via the relay
"https://demo.httpayer.com/base-weather"
HTTP method for the target API
GET, POST, PUT, DELETE, PATCH "GET"
JSON body — serialized with Content-Type: application/json. Mirrors Python requests(json=...).
Form-encoded body (object) or raw string body (string). Mirrors Python requests(data=...).
Pre-serialized body string passed through unchanged — Content-Type is NOT set automatically. If you pass an object it will be JSON-stringified, but you must set Content-Type: application/json via headers yourself. Use json instead for automatic Content-Type handling.
Deprecated alias for json. Use json instead.
Query parameters appended to the target URL
Custom headers forwarded to the target API
{
"X-API-KEY": "your-target-api-key",
"Authorization": "Bearer token123"
}Basic auth shorthand — converted to Authorization: Basic . Mirrors Python requests(auth=(...)).
Cookie shorthand — merged into the Cookie header. Mirrors Python requests(cookies={...}).
{ "session": "abc123" }Blockchain network to use for payment
base, base-sepolia, skale-base, skale-base-sepolia, solana, solana-mainnet-beta, solana-devnet "base"

