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

# Handle payment callback



## OpenAPI

````yaml specs/billing_api_docs.json get /api/v1/payments/callback
openapi: 3.0.1
info:
  title: Billing API
  description: Billing service for managing subscriptions, payments, and entitlements
  contact: {}
  version: '1.0'
servers:
  - url: https://dev-billing-api.iqraa.ai/api/v1
security: []
tags:
  - name: Customers
    description: Customers related endpoints
  - name: Subscriptions
    description: Subscription related endpoints
  - name: Plans
    description: Plans related endpoints
  - name: Entitlements
    description: Entitlements related endpoints
  - name: Payments
    description: Payments related endpoints
  - name: Emails
    description: Email related endpoints
paths:
  /api/v1/payments/callback:
    get:
      tags:
        - Payments
      summary: Handle payment callback
      operationId: PaymentController_handlePaymentCallback
      parameters:
        - name: redirect_status
          required: true
          in: query
          schema:
            type: string
        - name: payment_intent_client_secret
          required: true
          in: query
          schema:
            type: string
        - name: payment_intent
          required: true
          in: query
          schema:
            type: string
      responses:
        '301':
          description: Redirect to payment callback return URL
        '400':
          description: Bad Request - Payment not completed successfully
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: opaque
      type: http

````