curl --request GET \
--url https://hpay-api.host-sl.com/api/v1/fees/configuration \
--header 'api-key: YOUR_API_KEY' \
--header 'secret-key: YOUR_SECRET_KEY'
from hostpay import HostPay
client = HostPay(api_key="YOUR_API_KEY", secret_key="YOUR_SECRET_KEY")
config = client.fees.configuration()
print(config["transaction_fee_percentage"])
import { HostPay } from "@hostpay/sdk";
const client = new HostPay({ apiKey: "YOUR_API_KEY", secretKey: "YOUR_SECRET_KEY" });
const config = await client.fees.configuration();
console.log(config.transaction_fee_percentage);
{
"application_id": "2e35e07e-...",
"transaction_fee_percentage": "1.0",
"escrow_fee_percentage": "0.0",
"fee_on_deposit": false,
"fee_on_transfer": true,
"fee_on_withdrawal": false,
"stripe_fee_estimate_percentage": "2.9",
"stripe_intl_fee_estimate_percentage": "3.9",
"always_use_intl_estimate": false,
"monime_fee_estimate_percentage": "1.5"
}
{
"detail": "Invalid credentials"
}
Fees
Fee Configuration
The raw fee configuration for your application: percentages and per-transaction-type toggles.
GET
/
api
/
v1
/
fees
/
configuration
curl --request GET \
--url https://hpay-api.host-sl.com/api/v1/fees/configuration \
--header 'api-key: YOUR_API_KEY' \
--header 'secret-key: YOUR_SECRET_KEY'
from hostpay import HostPay
client = HostPay(api_key="YOUR_API_KEY", secret_key="YOUR_SECRET_KEY")
config = client.fees.configuration()
print(config["transaction_fee_percentage"])
import { HostPay } from "@hostpay/sdk";
const client = new HostPay({ apiKey: "YOUR_API_KEY", secretKey: "YOUR_SECRET_KEY" });
const config = await client.fees.configuration();
console.log(config.transaction_fee_percentage);
{
"application_id": "2e35e07e-...",
"transaction_fee_percentage": "1.0",
"escrow_fee_percentage": "0.0",
"fee_on_deposit": false,
"fee_on_transfer": true,
"fee_on_withdrawal": false,
"stripe_fee_estimate_percentage": "2.9",
"stripe_intl_fee_estimate_percentage": "3.9",
"always_use_intl_estimate": false,
"monime_fee_estimate_percentage": "1.5"
}
{
"detail": "Invalid credentials"
}
Returns the underlying fee configuration values — the machine-readable counterpart of the fee summary.
Response
string
Your application’s ID.
string
Your application fee percentage applied to fee-enabled transaction types.
string
Fee percentage applied when escrow funds are released.
boolean
Whether the application fee is charged on deposits.
boolean
Whether the application fee is charged on transfers.
boolean
Whether the application fee is charged on withdrawals.
string
Estimated Stripe processing fee for domestic cards.
string
Estimated Stripe processing fee for international cards.
boolean
If true, card estimates always use the international rate.
string
Estimated Monime (mobile money) processing fee.
{
"application_id": "2e35e07e-...",
"transaction_fee_percentage": "1.0",
"escrow_fee_percentage": "0.0",
"fee_on_deposit": false,
"fee_on_transfer": true,
"fee_on_withdrawal": false,
"stripe_fee_estimate_percentage": "2.9",
"stripe_intl_fee_estimate_percentage": "3.9",
"always_use_intl_estimate": false,
"monime_fee_estimate_percentage": "1.5"
}
{
"detail": "Invalid credentials"
}
curl --request GET \
--url https://hpay-api.host-sl.com/api/v1/fees/configuration \
--header 'api-key: YOUR_API_KEY' \
--header 'secret-key: YOUR_SECRET_KEY'
from hostpay import HostPay
client = HostPay(api_key="YOUR_API_KEY", secret_key="YOUR_SECRET_KEY")
config = client.fees.configuration()
print(config["transaction_fee_percentage"])
import { HostPay } from "@hostpay/sdk";
const client = new HostPay({ apiKey: "YOUR_API_KEY", secretKey: "YOUR_SECRET_KEY" });
const config = await client.fees.configuration();
console.log(config.transaction_fee_percentage);