AnomalyArmor Billing Events API
The billing-events API from AnomalyArmor — 7 operation(s) for billing-events.
The billing-events API from AnomalyArmor — 7 operation(s) for billing-events.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/anomalyarmor-ai:anomalyarmor-ai-billing-events-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Anomalyarmor Ai Billing Events API
version: 1.0.0
contact:
name: AnomalyArmor Support
url: https://anomalyarmor.ai/support
license:
name: Proprietary
description: 'Operations tagged billing-events across 3 of this provider''s published API definitions: anomalyarmor.ai-openapi.json, app.anomalyarmor.ai-openapi.json, docs.anomalyarmor.ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
tags:
- name: billing-events
paths:
/api/v1/billing/events:
get:
tags:
- billing-events
summary: List Billing Events
description: 'List billing webhook events with filtering and pagination.
Returns paginated list of webhook events for the current user''s company
with optional filtering by event type, status, and date range.'
operationId: list_billing_events_api_v1_billing_events_get
parameters:
- name: event_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by event type (e.g., payment_intent, invoice)
title: Event Type
description: Filter by event type (e.g., payment_intent, invoice)
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by processing status
title: Status
description: Filter by processing status
- name: start_date
in: query
required: false
schema:
anyOf:
- type: string
format: date-time
- type: 'null'
description: Filter events after this date
title: Start Date
description: Filter events after this date
- name: end_date
in: query
required: false
schema:
anyOf:
- type: string
format: date-time
- type: 'null'
description: Filter events before this date
title: End Date
description: Filter events before this date
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 50
title: Limit
description: Items per page
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
description: Items to skip
default: 0
title: Offset
description: Items to skip
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
/api/v1/billing/events/{event_id}:
get:
tags:
- billing-events
summary: Get Billing Event
description: 'Get detailed information about a specific billing event.
Returns complete event data including processing logs and metadata.'
operationId: get_billing_event_api_v1_billing_events__event_id__get
parameters:
- name: event_id
in: path
required: true
schema:
type: integer
title: Event Id
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
/api/v1/billing/events/{event_id}/replays:
post:
tags:
- billing-events
summary: Create Billing Event Replay
description: 'Replay a failed billing event.
Attempts to reprocess a failed webhook event. Only events with ''failed'' status
and retry_count < 3 can be replayed.'
operationId: create_billing_event_replay_api_v1_billing_events__event_id__replays_post
parameters:
- name: event_id
in: path
required: true
schema:
type: integer
title: Event Id
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
/api/v1/billing/events/stats/summary:
get:
tags:
- billing-events
summary: Get Events Summary
description: 'Get summary statistics for billing events.
Returns counts and statistics for webhook events over the specified period.'
operationId: get_events_summary_api_v1_billing_events_stats_summary_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 365
minimum: 1
description: Number of days to include in summary
default: 30
title: Days
description: Number of days to include in summary
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
/api/v1/billing/events/reconciliations:
post:
tags:
- billing-events
summary: Create Billing Reconciliation
description: 'Perform billing reconciliation for a specific date.
Compares database records with Stripe data to identify discrepancies.'
operationId: create_billing_reconciliation_api_v1_billing_events_reconciliations_post
parameters:
- name: reconciliation_date
in: query
required: true
schema:
type: string
format: date
description: Date to reconcile (YYYY-MM-DD)
title: Reconciliation Date
description: Date to reconcile (YYYY-MM-DD)
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
/api/v1/billing/events/reconciliation/history:
get:
tags:
- billing-events
summary: Get Reconciliation History
description: 'Get reconciliation history for the company.
Returns paginated list of historical reconciliation results.'
operationId: get_reconciliation_history_api_v1_billing_events_reconciliation_history_get
parameters:
- name: start_date
in: query
required: false
schema:
anyOf:
- type: string
format: date
- type: 'null'
description: Start of date range
title: Start Date
description: Start of date range
- name: end_date
in: query
required: false
schema:
anyOf:
- type: string
format: date
- type: 'null'
description: End of date range
title: End Date
description: End of date range
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 50
title: Limit
description: Items per page
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
description: Items to skip
default: 0
title: Offset
description: Items to skip
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
/api/v1/billing/events/reconciliation/discrepancies:
get:
tags:
- billing-events
summary: Get Discrepancy Report
description: 'Get discrepancy report showing billing inconsistencies.
Returns analysis of discrepancies between Stripe and database records.'
operationId: get_discrepancy_report_api_v1_billing_events_reconciliation_discrepancies_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 365
minimum: 1
description: Number of days to analyze
default: 30
title: Days
description: Number of days to analyze
- name: Authorization
in: header
required: false
schema:
type: string
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StandardResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: http://localhost:8000
description: Development server
- url: https://api.anomalyarmor.ai
description: Production server
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
StandardResponse:
properties:
success:
type: boolean
title: Success
data:
anyOf:
- {}
- type: 'null'
title: Data
message:
anyOf:
- type: string
- type: 'null'
title: Message
error:
anyOf:
- type: string
- type: 'null'
title: Error
meta:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Meta
type: object
required:
- success
title: StandardResponse
description: Standard API response wrapper.
x-refined-from:
- anomalyarmor.ai-openapi.json
- app.anomalyarmor.ai-openapi.json
- docs.anomalyarmor.ai-openapi.json