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

# Get Payment Request Status

> Check the status of a payment request.

Check the status of a payment request.


## OpenAPI

````yaml GET /wallet/payment-request/{requestId}
openapi: 3.1.0
info:
  title: Changu External Wallet Charging API
  description: >-
    API for developers to charge user wallets through encrypted wallet IDs.
    Requires developer authentication using Bearer token with secret key.
  version: 1.0.0
servers:
  - url: https://api.changu.app/api/v1
    description: Production
  - url: http://localhost:9287/api/v1
    description: Development
security:
  - bearerAuth: []
paths:
  /wallet/payment-request/{requestId}:
    get:
      tags:
        - Wallet
      summary: Get Payment Request Status
      description: Check the status of a payment request.
      operationId: getPaymentRequestStatus
      parameters:
        - name: requestId
          in: path
          required: true
          description: Payment request ID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Payment request status retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequestStatus'
        '400':
          description: Request doesn't belong to developer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - Invalid secret key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Payment request not found or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PaymentRequestStatus:
      type: object
      required:
        - id
        - status
        - amount
        - currency
        - description
        - createdAt
        - expiresAt
      properties:
        id:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
        status:
          type: string
          enum:
            - PENDING
            - APPROVED
            - REJECTED
            - EXPIRED
            - CANCELLED
          example: APPROVED
        amount:
          type: number
          format: double
          example: 1000
        currency:
          type: string
          example: MWK
        description:
          type: string
          example: Payment for service XYZ
        createdAt:
          type: string
          format: date-time
          example: '2026-01-22T17:25:00.000Z'
        expiresAt:
          type: string
          format: date-time
          example: '2026-01-22T17:30:00.000Z'
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          example: 400
        message:
          type: string
          example: Invalid encrypted wallet ID
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer token authentication using developer secret key. Format: Bearer
        sk_live_your_secret_key_here

````