Overview

Sign a monthly MRR certificate with Stripe's dashboard figures (#4045)

Changed on

Records Stripe's dashboard MRR and active subscribers, their differences from the certificate (MRR against the ending MRR; active subscribers, which Stripe counts per customer, against the active customer count), and the signed-in accountant as signer, once. The accountant must be assigned to the customer with access to the entity (an entity grant); API keys and service principals cannot sign. A figure that differs requires a note.

post/accountant/companies/{customerId}/metrics/mrr-certificates/{month}/sign

Request

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

Path parameters

customerId, string uuid required
month, string required

Query parameters

entityId, string uuid

Request body

object required
stripeMrrMinorUnits, string required
stripeActiveSubscribers, integer required

Stripe's Billing active subscribers; Stripe counts customers, so it is compared with activeCustomerCount.

note, string nullable

Response

The signed certificate.

object required
success, boolean required
data, MrrMonthCertificate required

#4045: one monthly MRR certificate (migration 595). Money is minor units as decimal strings.

Changes