Accountants

Create or replace a sales-led custom pricing offer for an email

Changed on

Requires a human firm admin. Records an active offer for an email, voiding any prior active offer for the same email. Price is taken in whole dollars and stored as cents. When firstMonthFree is true, checkout grants a 30-day trial.

post/accountant/admin/custom-pricing

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Request body

CustomPricingOfferInput required
email, string email required
monthlyPriceDollars, integer required
trialDays, integer

Free-trial days before the first charge (0 = none).

firstMonthFree, boolean

Deprecated back-compat alias; maps to a 30-day trial when trialDays is omitted.

expiresAt, string date-time nullable
note, string
billingInterval, 'month' | 'year'

Default billing interval (month when omitted). An annual offer charges monthlyPriceDollars x 10 once a year and must not carry a trial (422).

allowMonthly, boolean

Annual offers only: the customer may switch to monthly billing at the same band (default true).

taxReturnAddonDollars, integer

Annual offers only (422 otherwise): a yearly Tax Return line billed with the plan as a second recurring yearly item and renewing with it. Omit for none.

Response

The created offer

object required
success, true required
data, CustomPricingOffer required

A sales-led custom pricing offer keyed by email.

Changes

    • breaking

      the request's body type changed from object to no type

    • warning

      removed the request property allowMonthly

    • warning

      removed the request property billingInterval

    10 more changes in this revision