> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attexra.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Receive HMAC-verified billing provider lifecycle webhooks idempotently.



## OpenAPI

````yaml /openapi/v1.yaml post /billing/webhooks/{provider}
openapi: 3.1.0
info:
  title: Attexra API
  version: 0.1.0
  description: >-
    Identity, scoped authorization, and auditable action evidence for autonomous
    agents. The MVP is non-custodial and does not execute payments.
servers:
  - url: /v1
    description: Current API server
  - url: https://api.attexra.tech/v1
    description: Production example
security:
  - apiKeyAuth: []
  - bearerAuth: []
paths:
  /billing/webhooks/{provider}:
    post:
      summary: Receive HMAC-verified billing provider lifecycle webhooks idempotently.
      operationId: handleBillingWebhook
      parameters:
        - $ref: '#/components/parameters/ProviderName'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Webhook processed or deduplicated.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                properties:
                  status:
                    type: string
        '401':
          description: Invalid billing webhook signature.
      security: []
components:
  parameters:
    ProviderName:
      in: path
      name: provider
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Console session token (also supported via attexra_session HttpOnly
        cookie).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.