Billing settings

Retrieve billing settings

GET/api/v1/billing/settings

Returns your billing settings for the mode of your key. If you never saved any, the defaults are returned.

Authorization

bearerAuth
AuthorizationBearer <token>

An access token from POST /api/v1/oauth/token, sent as Authorization: Bearer <token>.

In: header

Header Parameters

FlexMalipo-Version?"2026-11-06"

The API version to use for this request, a date such as 2026-11-06. Without it the request uses your default version for the mode of your key. An unknown version answers 400 api_version_invalid.

Value in

  • "2026-11-06"

Response Body

application/json

application/json

application/json

curl -X GET "https://api-malipo.flex.co.tz/api/v1/billing/settings" \  -H "Authorization: Bearer <token>" \  -H "FlexMalipo-Version: 2026-11-06"
{  "renewalNoticeDays": 7,  "daysToPay": 3,  "accessWhileUnpaid": true,  "afterIssueReminders": [    -1,    0,    3  ],  "usageGraceMinutes": 60,  "upgradeTiming": "now",  "upgradeProration": "create_prorations",  "downgradeTiming": "period_end",  "downgradeProration": "create_prorations",  "oneSubscriptionPerCustomer": false,  "paymentInstructions": "Pay by bank transfer to Example Bank, account 0123456789, and quote the invoice number.",  "supportEmail": "billing@example.com",  "invoiceStartAccess": "immediately",  "trialUsage": {    "mode": "free_up_to",    "amount": 5000,    "currency": "TZS"  },  "includePayLink": true,  "zeroUsageInvoice": "issue"}