GET
Calculate the fee for a payment
This tells you the fee for a payment of a given amount, so you can show it before the payment is sent. The feeAmount you get back is the customer’s share only.
Most programs support this. If yours doesn’t, the endpoint returns 501 not_available — treat that as “this feature is off for my program.”

Authorizations

Authorization
string
header
required

The user's id_token from authentication — the ID token, not the access_token. The program and environment come from the token.

Path Parameters

customerId
string
required

Customer identifier.

accountId
string
required

Account identifier. The account determines which optional features and limits apply.

Query Parameters

amount
string
required
Minimum string length: 1
waiveFee
string

Admin-only. "true" or "1" waives the fee.

Response

Calculated fee

success
boolean
Example:

true

data
object