Skip to main content
GET

Intro

Returns the transaction fee for an amount, who pays it under your business’s settings, and what the customer’s total would be. It needs only an amount and currency, so you can show a fee estimate early in checkout — before the customer has entered their details.

Context

This is the early-checkout estimate. Once the cart and customer details are complete, use Preview Payment for the exact final payment. See Prices, Fees and Totals for how they fit together. The fee policy comes from the business that owns the API key. For a marketplace operator, that’s the operator’s setting, which its sub-merchants inherit.

Hows

Query parameters

integer
required
Order amount in the smallest currency unit (e.g. 1500 for $15.00).
string
required
3-letter ISO code of amount, e.g. USD.
string
2-letter ISO code of the customer’s country. Affects whether the local or international rate applies.

Response

Unlike most endpoints, amounts in this response are in major units (e.g. 11.54), not the smallest currency unit.

Why nots

  • It’s an estimate for an amount, not a cart. It doesn’t know about discounts, shipping, tax or conversion. Use Preview Payment for the final figure.
  • It doesn’t reserve a rate. The charge is whatever the payment intent returns.