Compute Fees (fee split)
POST/feeSplits/computeFees
Computes payer fee estimates for a single payment rail (feeType) using the merchant's default fee setting plan for that rail.
Returns one rail's breakdown with payerTotalFees and merchantTotalFees — payer-side / absorb split, not merchant processing fees from GET /fees.
Request body accepts feeType, subtotal, and currency only — it does not accept payerId, invoiceId, or feeSettingPlanId. Use Split Fees when you need payer, receivable, or plan context.
Valid feeType values include: cardPayment.posted, debitCardPayment.posted, networkBankPayment.posted, achBankPayment.posted, wirePayment.posted, achPushPayment.posted, and related posted types.
Auth: Merchant API credentials (Authorization: Bearer + X-CUSTOMER-ID).
Request
Responses
- 200
- 400
- 401
Computed fee split for one rail
Validation error
Unauthorized