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

# Transaction print slip

> Retrieve print slip details for completed transaction.



## OpenAPI

````yaml GET /v1/pay-connect/transactions/{transaction_id}/print-slip/
openapi: 3.1.0
info:
  title: Pay-Connect API
  description: >-
    Pay-Connect is a unified payment integration platform that enables reliable
    communication between software applications and payment terminals. With a
    single integration, developers can manage terminals, execute payment
    operations, and retrieve transaction data consistently across hardware and
    platforms.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api-payment.lab4pay.com
  - url: https://api-payment.lab4pay.dev
security:
  - bearerAuth: []
paths:
  /v1/pay-connect/transactions/{transaction_id}/print-slip/:
    get:
      description: Retrieve print slip details for completed transaction.
      parameters:
        - name: X-Pay-Connect-Integrator-Id
          in: header
          description: Pay-Connect Integrator ID
          required: true
          schema:
            type: string
        - name: transaction_id
          in: path
          description: ID of the transaction
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayConnectTransactionPrintSlipResponse'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
components:
  schemas:
    PayConnectTransactionPrintSlipResponse:
      required:
        - transaction_id
        - terminal_id
        - organization
        - point_of_sale
        - amount
        - tip_amount
        - total_amount
        - currency
        - status
        - payment_method
        - tags
        - timezone
        - created_at
        - digital_slip
      type: object
      properties:
        transaction_id:
          description: Transaction ID
          type: string
        terminal_id:
          description: Terminal ID
          type: string
        organization:
          description: Organization details
          type: object
          required:
            - full_name
            - country
            - address
            - postal_code
            - city
          properties:
            full_name:
              description: Organization full name
              type: string
            country:
              description: Organization country code (ISO 3166-1 alpha-2)
              type: string
            address:
              description: Organization address
              type: string
            postal_code:
              description: Organization postal code
              type: string
            city:
              description: Organization city
              type: string
            region:
              description: Organization region
              type:
                - string
                - 'null'
        point_of_sale:
          description: Point of sale details
          type: object
          required:
            - full_name
          properties:
            full_name:
              description: Point of sale full name
              type: string
        amount:
          description: The amount of the payment, in cents
          type: integer
        tip_amount:
          description: The tip amount of the payment, in cents
          type: integer
        total_amount:
          description: The total amount of the payment (amount + tip amount), in cents
          type: integer
        currency:
          description: Payment currency code (ISO 4217 alpha-3)
          type: string
        status:
          description: Transaction status
          type: string
          enum:
            - INITIATED
            - IN_PROGRESS
            - SUCCESS
            - CANCELED
            - DECLINED
            - REVERTED
            - EXPIRED
            - FAILED
        payment_method:
          description: Payment method
          type: string
          enum:
            - CARD
            - MBILLS
            - VALU
            - GOCRYPTO
            - BTC_GIFT_CARD
            - SMART_GIFTY
            - KDO4YOU
            - ALMA_PAY
            - PAYCONIQ
            - TWINT
        payment_option:
          description: Payment option, e.g., VISA, MASTERCARD, BTC, USDT
          type: string
        tags:
          description: The list of transaction tags
          type: array
          items:
            type: string
            enum:
              - charge
              - refund
              - overpaid
              - underpaid
        card_tid:
          description: Card TID, if payment method CARD initiated
          type:
            - string
            - 'null'
        timezone:
          description: The timezone of transaction depends on point of sale location
          type: string
        created_at:
          description: Transaction created at datetime in ISO 8601 format
          type: string
          format: date-time
        completed_at:
          description: Transaction completed at datetime in ISO 8601 format
          type:
            - string
            - 'null'
          format: date-time
        canceled_at:
          description: Transaction canceled at datetime in ISO 8601 format
          type:
            - string
            - 'null'
          format: date-time
        reverted_at:
          description: Transaction reverted at datetime in ISO 8601 format
          type:
            - string
            - 'null'
          format: date-time
        digital_slip:
          description: The PDF url of the print slip
          default: >-
            https://dash.lab4pay.com/digital-slip?id=56bd4f94106b4fa6bccceadd7c9d108505f21ccceaaa4555bf999e47124b2a7b
          type: string
          format: uri
        aid:
          description: The AID of card transaction
          type:
            - string
            - 'null'
        approve_code:
          description: The approve code of card transaction
          type:
            - string
            - 'null'
        card_type:
          description: The card type of card transaction
          type:
            - string
            - 'null'
        card_number:
          description: The masked card number of card transaction
          type:
            - string
            - 'null'
        refund_total_amount:
          description: The total amount of refunded transaction, in cents
          type:
            - integer
            - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````