GET
Calculate the fee for a payment

Authorizations

Authorization
string
header
required

The user's access_token from authentication. 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

true or 1 returns the fee as waived. Not restricted to a subset of callers: anyone who can call the endpoint may send it.

Response

Calculated fee

success
boolean
Example:

true

data
object