Skip to main content
The fee calculator estimates the fees for a payment between two of an entity’s accounts without creating a payment. Use it to show a business the cost of a payment up front, or to compare the fees of different delivery preferences. Fees depend on four things: the originating (debit) account, the receiving (credit) account, the deliveryPreference, and the amount.
Authentication: API key (Authorization: Bearer <api-key>). Required header: Melio-Entity-Id - the entity that owns the accounts, either an entity id (ent_<uuid>) or me for the partner’s sole entity.
All monetary values in the Payouts API are in minor units (cents). An amount of 125000 means $1,250.00. See Timestamps for the related date conventions.

Request

deliveryPreference is one of: standard-ach, same-day-ach, rtp, standard-check, express-check, overnight-check, domestic-wire, instant-domestic-wire, virtual-card, instant-virtual-card. The normal-speed values (standard-ach, standard-check, domestic-wire, virtual-card) price the rail at normal speed.

Example request

Response

The response is an array of the fees that would apply. Each Fee describes both how the fee is defined (fixed or percent) and, where possible, the resolved amount for the requested payment.
In this example the fee is 0.5% of the 1,250.00payment=1,250.00 payment = 6.25 (625 cents), which is below the $30.00 cap (max: 3000), charged to the originator.

Errors

See Errors for the response shape.
  • Eligibility - which fast delivery options a payment qualifies for.
  • Delivery ETA - when a payment would be delivered.