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

# Get payment intent service status

> Retrieve the linked service request summary and task-group level status for a payment intent.

Returns the linked service request summary and the current task-group level progress for the underlying incorporation workflow.


## OpenAPI

````yaml GET /public/payment-intents/{paymentIntentId}/service/status
openapi: 3.0.1
info:
  title: Commenda Public APIs
  description: >-
    APIs for Commenda entity management, partner incorporation, indirect tax,
    compliance, and corporate operations.
  license:
    name: NONE
    url: NONE
  version: 1.0.0
servers:
  - url: https://api.prod.commenda.io/api/v1
    description: Commenda platform APIs, including Partner Incorporation and Commenda OS.
  - url: https://transaction-tax.api.in.commenda.io/api/v1
    description: Global Indirect Tax API.
security:
  - bearerAuth: []
paths:
  /public/payment-intents/{paymentIntentId}/service/status:
    get:
      summary: Get service status for a payment intent
      description: >-
        Retrieve the linked service request summary and task-group level status
        for a payment intent.
      operationId: getAffiliatePaymentIntentServiceStatus
      parameters:
        - name: paymentIntentId
          in: path
          required: true
          schema:
            type: string
          description: Payment intent identifier returned by `POST /public/services`.
      responses:
        '200':
          description: Service status retrieved successfully
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/AffiliatePaymentIntentServiceStatusResponse
        '401':
          description: Missing or invalid affiliate API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatePublicError'
        '403':
          description: Service request is not accessible to the affiliate
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatePublicError'
        '404':
          description: Payment intent or linked service request not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatePublicError'
      security:
        - xApiKeyAuth: []
      servers:
        - url: https://api.prod.commenda.io/api/v1
components:
  schemas:
    AffiliatePaymentIntentServiceStatusResponse:
      type: object
      required:
        - paymentIntentId
        - service
      properties:
        paymentIntentId:
          type: string
          example: pi_123
        service:
          $ref: '#/components/schemas/AffiliateServiceRequest'
    AffiliatePublicError:
      type: object
      required:
        - statusCode
        - message
        - error
      properties:
        statusCode:
          type: integer
          example: 403
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          example: Company does not belong to this affiliate firm
        error:
          type: string
          example: Forbidden
    AffiliateServiceRequest:
      type: object
      required:
        - id
        - corporationId
        - companyLegalName
        - steps
      properties:
        id:
          type: string
          example: sr_123
        corporationId:
          type: integer
          nullable: true
          example: 44
        companyLegalName:
          type: string
          nullable: true
          example: Acme LLC
        steps:
          type: array
          items:
            $ref: '#/components/schemas/AffiliateServiceRequestStep'
    AffiliateServiceRequestStep:
      type: object
      required:
        - name
        - status
        - createdAt
        - lastUpdatedAt
      properties:
        name:
          type: string
          example: Formation documents
        status:
          type: string
          enum:
            - NOT_STARTED
            - IN_PROGRESS
            - COMPLETED
            - ISSUE_REPORTED
        createdAt:
          type: string
          format: date-time
          example: '2026-03-01T00:00:00.000Z'
        lastUpdatedAt:
          type: string
          format: date-time
          example: '2026-03-02T00:00:00.000Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    xApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````