APIReference

Billing API

Generated OpenAPI reference for the Billing API surface.

Overview

Billing endpoints are part of the public Everyn API. Organization-scoped human billing reads and owner/admin billing mutations.

Endpoints

The generated OpenAPI component below contains request parameters, request bodies, response bodies, status codes, and schemas for this tag.

Endpoint summary for quick scanning before using the generated reference:

Failures use the PublicErrorEnvelope shape with an X-Request-Id header. Most endpoints below return 400, 401, 403, 404, 409, 422, 429; the few that differ list their own statuses in the table, which otherwise shows only success responses. See API errors for the envelope and recovery patterns.

MethodPathSummaryRequest bodySuccess response
POST/v1/billing/stripe/webhooksIngest Stripe Billing WebhookNone.202 None
Errors: 400, 401, 403, 404, 409, 429.
GET/v1/organizations/{organization_id}/billingGet Billing OverviewNone.200 application/json: BillingOverviewResponse
GET/v1/organizations/{organization_id}/billing/cancellationDiscover Agreement CancellationNone.200 application/json: CancellationDiscoveryNoneResponse or CancellationDiscoveryFoundResponse
POST/v1/organizations/{organization_id}/billing/cancellationRequest Agreement Cancellationapplication/json: CancellationRequestBody201 application/json: CancellationResponse
POST/v1/organizations/{organization_id}/billing/cancellation/{cancellation_id}/withdrawalWithdraw Agreement Cancellationapplication/json: CancellationWithdrawalRequestBody200 application/json: CancellationResponse
GET/v1/organizations/{organization_id}/billing/historyList Billing HistoryNone.200 application/json: BillingHistoryListResponse
GET/v1/organizations/{organization_id}/billing/history/{history_item_id}Get Billing History DetailNone.200 application/json: BillingHistoryDetailResponse
POST/v1/organizations/{organization_id}/billing/paid-checkoutsStart Paid Checkoutapplication/json: PaidCheckoutStartRequestBody200 application/json: PaidCheckoutReconciledResponse
201 application/json: PaidCheckoutStartResponse
202 application/json: PaidCheckoutPreparingResponse
POST/v1/organizations/{organization_id}/billing/paid-checkouts/complete-returnComplete Paid Checkout Returnapplication/json: PaidCheckoutCompleteReturnRequestBody200 application/json: PaidCheckoutStatusResponse
GET/v1/organizations/{organization_id}/billing/paid-checkouts/{paid_checkout_intent_id}Get Paid Checkout StatusNone.200 application/json: PaidCheckoutStatusResponse
POST/v1/organizations/{organization_id}/billing/payment-method-setupsStart Payment Method Setupapplication/json: PaymentMethodSetupStartRequestBody or null201 application/json: PaymentMethodSetupStartResponse
POST/v1/organizations/{organization_id}/billing/payment-method-setups/complete-returnComplete Payment Method Setup Returnapplication/json: PaymentMethodSetupCompleteReturnRequestBody200 application/json: PaymentSetupStatusResponse
GET/v1/organizations/{organization_id}/billing/payment-method-setups/{hosted_setup_intent_id}Get Payment Method Setup StatusNone.200 application/json: PaymentSetupStatusResponse
GET/v1/organizations/{organization_id}/billing/plan-transitionDiscover Plan TransitionNone.200 application/json: PlanTransitionDiscoveryNoneResponse or PlanTransitionDiscoveryFoundResponse
GET/v1/organizations/{organization_id}/billing/plan-transition-quoteGet Plan Transition QuoteNone.200 application/json: PlanTransitionQuoteResponse
POST/v1/organizations/{organization_id}/billing/plan-transitionsRequest Plan Transitionapplication/json: PlanTransitionRequestBody201 application/json: PlanTransitionStartResponse
POST/v1/organizations/{organization_id}/billing/plan-transitions/complete-returnComplete Plan Transition Returnapplication/json: PlanTransitionCompleteReturnRequestBody200 application/json: PlanTransitionResponse
GET/v1/organizations/{organization_id}/billing/plan-transitions/{plan_transition_id}Get Plan Transition StatusNone.200 application/json: PlanTransitionResponse
POST/v1/organizations/{organization_id}/billing/portal-sessionsStart Billing Portal SessionNone.201 application/json: BillingPortalSessionResponse
GET/v1/organizations/{organization_id}/billing/recoveryGet Renewal RecoveryNone.200 application/json: RenewalRecoveryResponse
POST/v1/organizations/{organization_id}/billing/recovery/stop-to-freeStop Renewal Recovery To Freeapplication/json: RenewalRecoveryStopRequestBody200 application/json: RenewalRecoveryResponse
PUT/v1/organizations/{organization_id}/billing/row-budgetChange Row Budgetapplication/json: RowBudgetChangeRequestBody200 application/json: RowBudgetChangeResponse
GET/v1/organizations/{organization_id}/billing/statementsList Billing StatementsNone.200 application/json: BillingStatementListResponse
GET/v1/organizations/{organization_id}/billing/statements/{statement_id}Get Billing StatementNone.200 application/json: BillingStatementDetailResponse
GET/v1/organizations/{organization_id}/billing/top-up-receiptsList Top Up ReceiptsNone.200 application/json: TopUpReceiptListResponse
POST/v1/organizations/{organization_id}/billing/top-upsStart Top Upapplication/json: TopUpStartRequestBody201 application/json: TopUpIntentResponse
GET/v1/organizations/{organization_id}/billing/top-ups/{top_up_intent_id}Get Top Up StatusNone.200 application/json: TopUpIntentResponse

Loading API reference...