Simulate fee calculation
Use this endpoint to simulate fee calculation for a given gross amount using a specific fee schedule. Returns the net amount, total fee, and per-item breakdown.
Authorizations
Bearer token authentication (format: "Bearer {token}")
Headers
A unique identifier for tracing the request across services.
Optional idempotency key for safe retries. Matcher reads the key only from this header, and only when you send one. A request that carries a key only in X-Idempotency-Key or Idempotency-Key is refused with 400 (MTCH-0015), and nothing is processed. If the same key is sent again and the original request was already processed, the stored response is returned with X-Idempotency-Replayed: true. A malformed key returns 400, a key whose first request is still in progress returns 409, and an idempotency storage failure returns 500. These refusals are problem documents.
Path Parameters
The unique identifier of the fee schedule. Schedule ID
Body
Fee simulation payload
Response
Fee simulation result.
ISO 4217 currency code of the simulated amounts.
"USD"
Gross amount that fees were simulated against, as a decimal string.
"100.00"
Per-item breakdown of the simulated fees.
100Amount remaining after all fees, as a decimal string.
"97.70"
Sum of all item fees, as a decimal string.
"2.30"

