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

# Get a specific payin

> Retrieves a single payin by ID.



## OpenAPI

````yaml /openapi.yaml get /payins/{id}
openapi: 3.0.0
info:
  title: HelloPay API
  description: HelloPay Backend API Documentation
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /payins/{id}:
    get:
      tags:
        - Payins
      summary: Get a specific payin
      description: Retrieves a single payin by ID.
      operationId: PayinsController_getPayin
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier of the payin
          schema:
            type: string
      responses:
        '200':
          description: Payin found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayinResponse'
        '401':
          description: Unauthorized
        '404':
          description: Payin not found
components:
  schemas:
    PayinResponse:
      type: object
      properties:
        id:
          type: string
          description: Payin ID
          example: 123e4567-e89b-12d3-a456-426614174000
        amount:
          type: number
          description: Payin amount
          example: 100000
        amountInCents:
          type: number
          description: Payin amount in cents
          example: 10000000
        confirmedAmount:
          type: object
          description: Payin confirmed amount
          example: 100000
        confirmedAmountInCents:
          type: object
          description: Payin confirmed amount in cents
          example: 10000000
        currency:
          type: string
          description: Payin currency
          example: COP
        status:
          type: string
          description: Payin status
          example: PENDING
        settlementStatus:
          type: object
          description: Payin settlement status
          example: PENDING_SETTLEMENT
        rail:
          type: string
          description: Payin rail
          example: BRE_B
        reference:
          type: string
          description: Payin reference
          example: INV-2024-001
        paymentLinkId:
          type: object
          description: Payin payment link ID
          example: 123e4567-e89b-12d3-a456-426614174000
        inlineCustomer:
          type: object
          description: Payin inline customer
          example: John Doe
        errorCode:
          type: object
          description: Payin error code
          example: null
        createdAt:
          format: date-time
          type: string
          description: Payin created at
          example: '2024-01-01T00:00:00.000Z'
        updatedAt:
          format: date-time
          type: string
          description: Payin updated at
          example: '2024-01-01T00:00:00.000Z'
        resultAt:
          type: object
          description: Payin result at
          example: '2024-01-01T00:00:00.000Z'
        chargebackAt:
          type: object
          description: Payin chargeback at
          example: '2024-01-01T00:00:00.000Z'
        organizationId:
          type: string
          description: Payin organization ID
          example: 123e4567-e89b-12d3-a456-426614174000
        sourceData:
          description: Payin pse response
          allOf:
            - $ref: '#/components/schemas/BrebDto'
        callbackUrl:
          type: object
          description: Payin callback URL
          example: https://example.com/callback
      required:
        - id
        - amount
        - amountInCents
        - confirmedAmount
        - confirmedAmountInCents
        - currency
        - status
        - settlementStatus
        - rail
        - reference
        - createdAt
        - updatedAt
        - organizationId
    BrebDto:
      type: object
      properties:
        keyString:
          type: string
          description: BREB payment key string
          example: breb-key-string
      required:
        - keyString

````