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

# GetTransactionStatusCodes

> Gets paginated Paysight transaction status codes based on card payment statuses.



## OpenAPI

````yaml /api-reference/admin-api/paysight_admin_api.yaml get /api/admin/statuses
openapi: 3.0.0
info:
  title: Paysight Admin API
  version: 1.0.0
servers:
  - description: Test Server
    url: https://test.paysight.io
security:
  - ApiKeyAuth: []
paths:
  /api/admin/statuses:
    get:
      tags:
        - TransactionStatuses
      summary: GetTransactionStatusCodes
      description: >-
        Gets paginated Paysight transaction status codes based on card payment
        statuses.
      parameters:
        - $ref: '#/components/parameters/ClientId'
        - $ref: '#/components/parameters/UserEmail'
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
            minimum: 1
          description: Page number (1-based, default 1)
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            default: 50
            minimum: 1
            maximum: 200
          description: Number of items per page (default 50, max 200)
        - name: search
          in: query
          required: false
          schema:
            type: string
          description: Optional search term to filter by status description or ID
        - name: successful
          in: query
          required: false
          schema:
            type: boolean
          description: Filter by successful status
        - name: isIssuerDecline
          in: query
          required: false
          schema:
            type: boolean
          description: Filter by issuer decline status
        - name: isInsufficientFunds
          in: query
          required: false
          schema:
            type: boolean
          description: Filter by insufficient funds status
        - name: isInvalidCardDetails
          in: query
          required: false
          schema:
            type: boolean
          description: Filter by invalid card details status
        - name: isOther
          in: query
          required: false
          schema:
            type: boolean
          description: Filter by other error types
      responses:
        '200':
          description: Paginated list of transaction status codes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionStatusResponse'
components:
  parameters:
    ClientId:
      name: ClientId
      in: header
      required: true
      description: >-
        Your Paysight Tenant/Client Id. This is the id of the parent company
        listed in https://app.paysight.io/management/companies. Alternatively,
        this will be provided by Paysight
      schema:
        type: string
    UserEmail:
      name: UserEmail
      in: header
      required: true
      description: The email address of the party or group making the request
      schema:
        type: string
  schemas:
    TransactionStatusResponse:
      type: object
      description: Response containing paginated transaction status codes
      properties:
        success:
          type: boolean
          description: Indicates if the request was successful
        count:
          type: integer
          description: Number of items in current page
        totalCount:
          type: integer
          description: Total number of items matching the filter criteria
        pageNumber:
          type: integer
          description: Current page number
        pageSize:
          type: integer
          description: Number of items per page
        totalPages:
          type: integer
          description: Total number of pages
        moreResults:
          type: boolean
          description: Indicates if there are more pages available
        data:
          type: array
          items:
            $ref: '#/components/schemas/TransactionStatus'
          description: Array of transaction status codes
    TransactionStatus:
      type: object
      description: >-
        Transaction status code with fraud indicators based on card payment
        statuses
      properties:
        id:
          type: string
          description: Unique identifier for the status code
        status:
          type: string
          description: Status description
        successful:
          type: boolean
          description: Indicates whether this status represents a successful transaction
        isGatewayLevelStatus:
          type: boolean
          description: Indicates if this is a gateway-level status
        isIssuerDecline:
          type: boolean
          description: Indicates if this status represents an issuer decline
        isInsufficientFunds:
          type: boolean
          description: Indicates if this status represents insufficient funds
        isInvalidCardDetails:
          type: boolean
          description: Indicates if this status represents invalid card details
        isOther:
          type: boolean
          description: Indicates if this status represents other error types
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Your Paysight API key. You can find it in your Paysight account at
        https://app.paysight.io/settings/account

````