Tenants

Get all invoices for a tenant

get/api/v1/invoices/{tenantId}

Request

  • Base URL: https://centralauth.com
  • URL: https://centralauth.com/api/v1/invoices/{tenantId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie accessToken

Path parameters

tenantIdstring uuid required

Response

All invoices for this tenant

idstring uuid required
tenantDataIdstring uuid required
paymentIdstring nullable

ID of the payment in Mollie

invoiceIdnumber nullable

External ID of the invoice

tier'free' | 'basic' | 'pro' | 'enterprise' required

The tier of the tenant for this invoice

currency'EUR' | 'USD' | 'GBP' | 'JPY' | 'CNY' required

The currency of the invoice

subscriptionAmountnumber required

Amount of the subscription in the invoice

monthlyActiveUsersnumber required

Number of MAUs for the period of this invoice

monthlyActiveUserAmountnumber required

Amount of the MAU in the invoice

monthlyActiveUserTier'free' | 'basic' | 'pro' | 'enterprise' required

The tier used for calculating the amount of the MAU

discountPercentagenumber required

Discount percentage for the invoice

status'open' | 'pending' | 'authorized' | 'paid' | 'canceled' | 'failed' | 'expired' | 'chargeback' required

Status of the payment

startDatestring date-time required
endDatestring date-time required
downloadUrlstring uri nullable

URL to download the invoice PDF

createdstring date-time required
updatedstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.