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

# Stripe webhook receiver

> Receives Stripe webhook events for payment confirmation, refunds, and chargebacks.



## OpenAPI

````yaml /openapi.json post /billing/stripe/webhook
openapi: 3.0.3
info:
  title: AtlasFlux API
  description: >-
    Unified AI model routing API with intelligent model selection, web search,
    reasoning, and prepaid MYR billing.
  version: 1.0.0
  contact:
    name: Rainspeed Labs
    url: https://atlasflux.my
  license:
    name: Proprietary
servers:
  - url: https://api.atlasflux.my
    description: Production
security:
  - apiKeyAuth: []
paths:
  /billing/stripe/webhook:
    post:
      tags:
        - Webhooks
      summary: Stripe webhook receiver
      description: >-
        Receives Stripe webhook events for payment confirmation, refunds, and
        chargebacks.
      operationId: stripeWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: Stripe event payload.
      responses:
        '200':
          description: Webhook processed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  received:
                    type: boolean
                  processed:
                    type: boolean
      security: []
components:
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: af_live_... or af_test_...
      description: AtlasFlux API key. Get yours from the Developer Dashboard.

````

## Related topics

- [API Reference](/api-reference/overview.md)
- [Security](/resources/security.md)
- [Production Checklist](/guides/production-checklist.md)
- [Create a Stripe checkout session](/api-reference/dashboard-—-billing/create-a-stripe-checkout-session.md)
- [Changelog](/api-reference/changelog.md)
