Calculate the fees for a money amount
The amount of money to calculate the fee for. A monetary amount in the lowest denomination for the given currency. The numeric value is represented as a string so that it can be exact with no loss of precision.
"456.78"
The type of fee to calculate. The available types of fee calculations.
instantPayout, appointment The appointment context for fee calculations.
This is required when type is appointment.
The unique, opaque system identifier for a resource.
This case-sensitive ID is also used as path parameters in URLs or in other
properties or parameters that reference a resource by ID rather than URL.
Ok. The operation succeeded.
The calculated fees for the given monetary amount.
The original amount of money for fee calculations.
"456.78"
The calcualted fee for the given money amount.
"456.78"
The net amount of money after applied fees.
"456.78"
The calculation's fee type.
instantPayout, appointment