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

# Retrieve Immediate Charge Details

> Use this endpoint to retrieve detailed information about a specific immediate collection.



## OpenAPI

````yaml en/openapi/v3-current/indirect-pix.yaml GET /v1/collections/immediate/{collection_id}
openapi: 3.0.3
info:
  title: Plugin BR Pix Indirect - Complete API
  description: |
    Complete API for Brazilian Pix instant payment system including
    Pix key dictionary operations, QR code generation/decoding, transactions and
    transaction limits.
  version: 1.0.0
servers:
  - url: https://plugin-pix-indirect.api.lerian.net
security:
  - bearerAuth: []
paths:
  /v1/collections/immediate/{collection_id}:
    get:
      tags:
        - Collections API
      summary: Retrieve Immediate Charge Details
      description: >-
        Use this endpoint to retrieve detailed information about a specific
        immediate collection.
      parameters:
        - name: collection_id
          in: path
          description: Identifier of the immediate collection
          required: true
          schema:
            type: string
        - name: X-Account-Id
          in: header
          description: Account ID (UUID format)
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImmediateCollectionOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
      deprecated: false
      security:
        - bearerAuth: []
components:
  schemas:
    ImmediateCollectionOutput:
      properties:
        additionalInfo:
          additionalProperties:
            type: string
          description: AdditionalInfo contains additional key-value information
          example:
            customerId: '67890'
            orderId: '12345'
          type: object
        amount:
          description: Amount is the collection amount in decimal format
          example: '100.00'
          type: string
        createdAt:
          description: CreatedAt is the timestamp when the collection was created
          example: '2024-01-15T10:30:00Z'
          type: string
        debtorDocument:
          description: DebtorDocument is the CPF or CNPJ of the payer
          example: '12345678901'
          type: string
        debtorName:
          description: DebtorName is the name of the payer
          example: João da Silva
          type: string
        description:
          description: Description is the custom description of the collection
          example: 'Payment for order #12345'
          type: string
        emv:
          description: EMV is the QR code payload in EMV format
          example: 00020126580014br.gov.bcb.pix...
          type: string
        expirationSeconds:
          description: ExpirationSeconds is the time in seconds until expiration
          example: 3600
          type: integer
        id:
          description: ID is the unique identifier of the collection
          example: 550e8400-e29b-41d4-a716-446655440000
          type: string
        locationUrl:
          description: LocationURL is the URL to access the collection location/QR code
          example: https://api.example.com/qr/550e8400
          type: string
        metadata:
          additionalProperties: {}
          description: Metadata is the custom metadata associated with this collection
          type: object
        receiverKey:
          description: Pix key that will receive the payment
          example: '+5511999999999'
          type: string
        status:
          description: Status is the current status of the collection
          example: ACTIVE
          type: string
        tags:
          description: Tags is an array of custom tags
          example:
            - ecommerce
            - subscription
          items:
            type: string
          type: array
        txId:
          description: TxID is the transaction identifier
          example: TXN123456789
          type: string
        updatedAt:
          description: UpdatedAt is the timestamp of the last update
          example: '2024-01-15T10:30:00Z'
          type: string
      type: object
    ErrorFormat:
      type: object
      description: The response message error.
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: A unique, stable identifier for the error.
        title:
          type: string
          description: A brief summary of the issue.
        message:
          type: string
          description: Detailed guidance for resolving the error.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````