The merchant fees endpoints return the fee structure applied to a merchant for a given transaction type. IteraPay charges fees that vary by invoice type (Documentation Index
Fetch the complete documentation index at: https://docs.iterapay.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
onetime, reusable, collect, withdrawal) and optionally by payment method. There are two related endpoints: one for fee rates, and one for the fee calculated against a specific transaction amount.
Get fee rates
Returns the fee structure (percentage or flat rate) for a given transaction type.GET /merchants/{merchantID}/fees
Authentication
Accepts a Bearer token (Authorization: Bearer <token>) or an API key (X-Api-Key: <key>).
Path parameters
The UUID of the merchant.
Query parameters
The transaction type to retrieve fees for. One of:
onetime, reusable, collect, withdrawal.The payment method ID to filter fees for. If omitted, the default fee structure for the type is returned.
Response fields
The transaction type the fee applies to.
The fee as a percentage of the transaction amount (e.g.,
"1.50" for 1.5%).A flat fee amount applied per transaction.
Example request
Example response
Get fees for a transaction amount
Calculates the actual fee amounts for a specific transaction value.GET /merchants/{merchantID}/fees/amount
Authentication
Accepts a Bearer token (Authorization: Bearer <token>) or an API key (X-Api-Key: <key>).
Path parameters
The UUID of the merchant.
Query parameters
The transaction type. One of:
onetime, reusable, collect, withdrawal.The transaction amount as a decimal string. The fee is calculated against this value.
The payment method ID. If omitted, the default fee structure for the type is used.
Response fields
The transaction type the fee applies to.
The total fee amount in the same unit as the
amount query parameter.The amount after fees are deducted.
Example request
Example response
Error responses
| Status | Description |
|---|---|
400 | Missing or invalid query parameters. |
401 | Missing or invalid credentials. |
403 | Valid credentials but insufficient permissions. |
404 | No merchant found with the given merchantID. |