| title | Platform Fees |
|---|---|
| description | Configure platform fees with feePercentage and feeAddress |
Platform fees let your product collect an additional fee during payment execution.
To configure a platform fee, pass:
feePercentagefeeAddress
Use this page for setup and integration patterns. For protocol-level fees charged by Request Network, see Protocol Fees.
Fee percentage to apply at payment time (for example `"2.5"` for 2.5%). Wallet address that receives the platform fee. `feePercentage` and `feeAddress` must be provided together. If one is missing, validation fails.feePercentagemust be a number between0and100feeAddressmust be a valid blockchain address- For v2 request payment calls, these are query parameters
Use platform fee parameters on these endpoints:
Set the percentage and receiver address used by your platform. Add `feePercentage` and `feeAddress` to the payment endpoint call. The API returns payment payloads that include fee handling. Your app executes the returned transactions as usual.curl -X GET 'https://api.request.network/v2/request/{requestId}/pay?feePercentage=2.5&feeAddress=0x742d35CC6634c0532925a3B844BC9e7595f8fA40' \
-H 'x-api-key: YOUR_API_KEY'curl -X POST 'https://api.request.network/v2/payouts' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"payee": "0x6923831ACf5c327260D7ac7C9DfF5b1c3cB3C7D7",
"amount": "100",
"invoiceCurrency": "USD",
"paymentCurrency": "USDC-base",
"feePercentage": "2.5",
"feeAddress": "0x742d35CC6634c0532925a3B844BC9e7595f8fA40"
}'curl -X POST 'https://api.request.network/v2/payouts/batch' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"payer": "0x2e2E5C79F571ef1658d4C2d3684a1FE97DD30570",
"feePercentage": "2.5",
"feeAddress": "0x742d35CC6634c0532925a3B844BC9e7595f8fA40",
"requests": [
{
"payee": "0x6923831ACf5c327260D7ac7C9DfF5b1c3cB3C7D7",
"amount": "10",
"invoiceCurrency": "USD",
"paymentCurrency": "USDC-base"
}
]
}'For full schemas and examples, see Request Network API Reference.