Skip to content
Last updated

Charge configuration defines how Trustap fees are applied to payments (buyer flat and percentage fees) and payouts (seller flat and percentage fees).

Using the Trustap API, you can define multiple charge configurations to control the following.

  • Who pays the transaction processing fees (buyer, seller, or both)
  • The payment method (card or bank transfer)
  • The fee structure (flat fee, percentage, or a combination)
  • When different configurations apply

The Trustap API supports multiple charge configurations that, once set up, can be dynamically applied to your transactions.

Setup your charge configurations

Trustap configures and manages your charge configurations for you. You can set multiple configurations.

Contact your Trustap integration specialist with the following details.

Field nameTypeDescriptionExample
Config IDintThe ID of the charge configuration. This is the ID you’ll use as charge_config when referring to this config1
CurrencystringThe currency of your transactions. The Trustap API can use this to automatically select a charge_configeur
Buyer flat feeintA fixed fee (in your currency’s smallest unit) charged to the buyer50
Buyer percentage feeintThe percentage fee charged to the buyer, expressed as a decimal2
Seller flat feeintA fixed fee (in your currency’s smallest unit) charged to the seller30
Seller percentage feeintThe percentage fee charged to the seller, expressed as a decimal3
Charge config thresholdintThe threshold amount used to determine when this charge configuration applies. For example, if you want the configuration to only be applied to transactions with a value above £100. Default value is 0. The Trustap API can use this to automatically select a charge_config10000
Payment MethodstringThe method of payment for your transactions. Can be card or bank_transfer. The Trustap API can use this to automatically select a charge_configbank_transfer

For multiple charge configurations, send a full set of details for each configuration.

Charge configuration scenarios

Scenario 1: Different payment methods for high-value items

If you want to use different fee structures depending on the payment method and transaction value, you can define separate charge configurations with different thresholds.

Config IDCurrencyBuyer flat feeBuyer percentage feeSeller flat feeSeller percentage feeCharge config thresholdPayment method
1eur02010card
1eur0100.510000bank_transfer

Explanation:

  • The Trustap API checks the value of the transaction against the charge config threshold and automatically selects the correct charge config.
  • Card payments apply standard fees for all transactions below €100.
  • Bank transfers apply reduced fees for transactions above €100

Scenario 2: Lower charges for gold, silver, bronze memberships

Config IDCurrencyBuyer flat feeBuyer percentage feeSeller flat feeSeller percentage feeCharge config thresholdPayment method
1eur03020card
2eur0201.50card
3eur01010card

Explanation:

  • Each membership tier has its own configuration.
  • Use the correct Config ID when creating a transaction based on the user’s membership level.

Scenario 3: Seller pays fees for small value transactions

Config IDCurrencyBuyer flat feeBuyer percentage feeSeller flat feeSeller percentage feeCharge config thresholdPayment method
1eur00030card
1eur01.501.55000card

Explanation:

  • The Trustap API checks the value of the transaction against the charge config threshold and automatically selects the correct charge config.
  • For low-value transactions (below €50), sellers cover all fees.
  • For higher-value transactions, both buyer and seller share the cost.

Scenario 4: Different fees for different currencies

Config IDCurrencyBuyer flat feeBuyer percentage feeSeller flat feeSeller percentage feeCharge config thresholdPayment method
1eur03030card
1gbp01.501.50card

Explanation:

  • The Trustap API checks the currency of the transaction and automatically selects the correct charge config.
  • Euro transactions have a higher charge than British pound.

Scenario 5: Different fees for different payment methods

Config IDCurrencyBuyer flat feeBuyer percentage feeSeller flat feeSeller percentage feeCharge config thresholdPayment method
1eur02000bank_transfer
1gbp06000card

Explanation:

  • The Trustap API checks the payment method of the transaction and automatically selects the correct charge config.
  • Transactions with a bank transfer have a lower charge than card payments.

Using charge configuration

See our pricing guide for more information on how pricing works with the Trustap API.

View charges

You can view charges in two places.

  1. Trustap payment screen showing the buyer fee as Buyer Protection Fee.
Trustap payment screen showing buyer payment fee
  1. Trustap seller transaction page as Buyer Fees and Seller Fees.
Trustap payment screen showing buyer and seller fees