Autional Autional
API Reference GitHub autional.com →
billing-service 94 endpoints

Billing Service

Port 11017 · 88 endpoints · micro-services/billing-service/

Billing Service

MethodPathSummary
DELETE/admin/billing/credit-note/{number}Delete credit invoicedetail →
GET/admin/billing/credit-note/{number}Get credit invoice detailsdetail →
PUT/admin/billing/credit-note/{number}Void credit invoicedetail →
GET/admin/billing/credit-notesCredit note listdetail →
DELETE/admin/billing/dunning-settings/{tenant_id}Delete dunning configurationdetail →
GET/admin/billing/dunning-settings/{tenant_id}Get dunning configurationdetail →
PUT/admin/billing/dunning-settings/{tenant_id}Configure dunning policydetail →
POST/admin/billing/invoice/{invoice_number}/credit-noteCreate credit invoicedetail →
GET/admin/billing/metered-usage/{tenant_id}Metered billing recordsdetail →
GET/admin/billing/payment-gatewaysPayment gateway listdetail →
POST/admin/billing/payment-gatewaysCreate payment gatewaydetail →
DELETE/admin/billing/payment-gateways/{plan_id}Delete payment gatewaydetail →
GET/admin/billing/payment-gateways/{plan_id}Get payment gateway detailsdetail →
PUT/admin/billing/payment-gateways/{plan_id}Update payment gatewaydetail →
GET/admin/billing/plansGet plan pricing listdetail →
POST/admin/billing/plansCreate plan pricingdetail →
DELETE/admin/billing/plans/{plan_id}Delete plan pricingdetail →
PUT/admin/billing/plans/{plan_id}Update plan pricingdetail →
PATCH/admin/billing/plans/{plan_id}/feature-gatesUpdate plan feature gatesdetail →
DELETE/admin/billing/records/{plan_id}Void billing recorddetail →
POST/admin/billing/refund-approvalSubmit refund approvaldetail →
DELETE/admin/billing/refund-approval/{plan_id}Delete refund approvaldetail →
GET/admin/billing/refund-approval/{plan_id}Get refund approval statusdetail →
POST/admin/billing/refund-approval/{plan_id}/approveApprove refunddetail →
POST/admin/billing/refund-approval/{plan_id}/executeExecute refund approvaldetail →
POST/admin/billing/refund-approval/{plan_id}/rejectReject refund approvaldetail →
GET/admin/billing/refund-approvalsQuery refund approval listdetail →
GET/admin/billing/revenue-amortizationRevenue deferral reportdetail →
DELETE/admin/billing/subscription/{tenant_id}Cancel subscriptiondetail →
PUT/admin/billing/subscription/{tenant_id}Update subscription configurationdetail →
GET/admin/billing/subscription/{tenant_id}/appsList application pricingdetail →
DELETE/admin/billing/subscription/{tenant_id}/apps/{app_id}/pricingDelete application pricingdetail →
GET/admin/billing/subscription/{tenant_id}/apps/{app_id}/pricingGet application pricingdetail →
POST/admin/billing/subscription/{tenant_id}/apps/{app_id}/pricingConfigure application pricingdetail →
POST/admin/billing/subscription/{tenant_id}/cancel-trialCancel trial perioddetail →
POST/admin/billing/subscription/{tenant_id}/change-planChange plandetail →
POST/admin/billing/subscription/{tenant_id}/extend-trialExtend trial perioddetail →
POST/admin/billing/subscription/{tenant_id}/rollback-planRollback Plandetail →
GET/admin/billing/subscriptionsSubscription Listdetail →
GET/admin/billing/tax-exportTax Exportdetail →
GET/admin/billing/tax-exportsTax Export Listdetail →
PUT/admin/billing/usage-stats/{tenant_id}/{plan_id}Update Usage Statisticsdetail →
GET/billing/alertsList Usage Alertsdetail →
POST/billing/alertsCreate Usage Alertdetail →
GET/billing/alerts/{id}Get Usage Alert Detailsdetail →
DELETE/billing/alerts/{plan_id}Delete Usage Alertdetail →
PUT/billing/alerts/{plan_id}Update Usage Alertdetail →
GET/billing/balanceQuery Wallet Balancedetail →
GET/billing/credit-balance/{tenant_id}Query Tenant Credit Balancedetail →
GET/billing/credit-transactions/{tenant_id}Query Credit Transactionsdetail →
GET/billing/invoice/{invoice_number}Get Invoice Detailsdetail →
GET/billing/invoice/{invoice_number}/exportExport Invoicedetail →
GET/billing/invoice/{invoice_number}/pdfDownload Invoice PDFdetail →
GET/billing/plansGet Public Plan Listdetail →
POST/billing/prorations/calculate/{tenant_id}Preview Plan Change Prorationdetail →
GET/billing/records/{tenant_id}Get Billing Recordsdetail →
GET/billing/records/{tenant_id}/apps/{app_id}Get Billing Records by Applicationdetail →
GET/billing/records/{tenant_id}/searchAdvanced Search Billing Recordsdetail →
GET/billing/statistics/{tenant_id}Get Tenant Statisticsdetail →
GET/billing/statistics/{tenant_id}/apps/{app_id}Get Tenant Statistics by Applicationdetail →
POST/billing/subscribeSubscribe Servicedetail →
GET/billing/subscription/{tenant_id}Get Subscription Infodetail →
GET/billing/usage/{tenant_id}Get Usage Statisticsdetail →
GET/billing/usage/{tenant_id}/apps/{app_id}Get Usage Statistics by Applicationdetail →
GET/billing/usage/{tenant_id}/apps/{app_id}/currentGet Current Usage by Applicationdetail →
GET/billing/usage/{tenant_id}/currentGet Current Usagedetail →
GET/billing/usage/{tenant_id}/endpointsGet Endpoint Usage TopNdetail →
GET/billing/usage/{tenant_id}/timelineGet Usage Time Seriesdetail →

Billing Service - Feature Flags

MethodPathSummary
GET/billing/feature-gatesGet Current Tenant Feature Flagsdetail →
POST/internal/billing/feature-gates/check[Internal] Check Feature Flagdetail →

Billing Service - Feature Gates

MethodPathSummary
GET/admin/billing/feature-gatesGet feature gate listdetail →
GET/admin/billing/feature-gates/overridesQuery tenant feature gate overridesdetail →
PUT/admin/billing/feature-gates/overridesCreate or update feature gate overridedetail →

Billing Service - Internal

MethodPathSummary
POST/internal/billing/apps/{tenant_id}/{app_id}/billing-event[Internal] Handle Application Billing Eventdetail →
POST/internal/billing/endpoint-stats/import[Internal] Batch Import Endpoint Usage Statisticsdetail →
POST/internal/billing/erase-user[Internal] GDPR Erase User Billing Datadetail →
POST/internal/billing/export-user-data[Internal] Export User Datadetail →
POST/internal/billing/metering/report[Internal] Report Usagedetail →
GET/internal/billing/plans[Internal] Get Plan Listdetail →
GET/internal/billing/plans/admin[Internal] List Plan Prices (Including Inactive)detail →
GET/internal/billing/plans/{plan}/quotas[Internal] Get Plan Quotasdetail →
POST/internal/billing/quota/check[Internal] Check Resource Quotadetail →
POST/internal/billing/records[Internal] Create Billing Recorddetail →

Billing Service - Internal API

MethodPathSummary
POST/internal/billing/renewals/process[Internal] Process auto-renewaldetail →
GET/internal/billing/subscription/{tenant_id}[Internal] Get subscription informationdetail →
GET/internal/billing/usage/{tenant_id}[Internal] Get usagedetail →
GET/internal/billing/usage/{tenant_id}/{app_id}[Internal] Get usage by applicationdetail →

billing

MethodPathSummary
GET/admin/billing/integrity/{subscription_id}Verify billing event ledger integritydetail →