v1
latestOpenAPI 3.0.02026-08-06202761.2 KBGet the Trustap fee for a transaction
This returns the Trustap fee, in the currency's smallest unit, for a transaction involving goods with the supplied amount. See the Stripe documentation for more details.
Query parameters
The currency that the amount is specified in.
The price of the goods being sold in this transaction, in the currency's smallest unit. For example, if a trading card is being sold for $12.34 (with currency as usd), then the request for the fees for this transaction would be /v2/fees?amount=1234¤cy=usd.
Represents an additional charge to be paid by the buyer added to the transaction total. Use this field to include costs like processing fees or local taxes. Must be an integer provided in the smallest unit of the currency (for example, 500 for $5.00 USD). Defaults to 0 if not provided.
Represents an additional charge to be paid by the buyer, seller or client. Use this field to include costs like shipping surcharges. Must be an integer provided in the smallest unit of the currency (for example, 500 for $5.00 USD).
The payment method that will be used to pay for the transaction. This is necessary because different payment methods may result in different fees. Supports card and bank_transfer.
The default value is card.
The fee config for which the fees are computed.
Response
OK
Example response
{
"buyer": 78,
"config": 1,
"seller": 0
}