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

# List collections

> Your collections — pay-ins that credited your balance — newest first. Pass `next_before_id` back as `before_id` for the next page; null means done.



## OpenAPI

````yaml /openapi.json get /collections
openapi: 3.1.0
info:
  title: Jenzy Hermes Client API
  version: 1.0.0
  description: >-
    Draw down your prefunded MWK balance as payouts to Malawian banks and mobile
    money. Authenticate with your `jz_live_…` API key as a bearer token.
servers:
  - url: https://api.jenzy.com/v1
    description: Production
security: []
paths:
  /collections:
    get:
      summary: List collections
      description: >-
        Your collections — pay-ins that credited your balance — newest first.
        Pass `next_before_id` back as `before_id` for the next page; null means
        done.
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 200
            description: Page size, 1-200 (default 50).
          required: false
          description: Page size, 1-200 (default 50).
          name: limit
          in: query
        - schema:
            type: string
            format: uuid
            description: 'Keyset cursor: the `next_before_id` from the previous page.'
          required: false
          description: 'Keyset cursor: the `next_before_id` from the previous page.'
          name: before_id
          in: query
      responses:
        '200':
          description: One page of collections.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionList'
        '400':
          description: Malformed `limit` or `before_id`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Missing, malformed, or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CollectionList:
      type: object
      properties:
        collections:
          type: array
          items:
            $ref: '#/components/schemas/Collection'
        has_more:
          type: boolean
        next_before_id:
          type:
            - string
            - 'null'
          format: uuid
          description: Pass back as `before_id` for the next page; null means done.
      required:
        - collections
        - has_more
        - next_before_id
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - validation_error
                - unauthorized
                - forbidden
                - not_found
                - conflict
                - rate_limited
                - internal_error
                - unknown_institution
                - invalid_mobile_number
                - invalid_account_number
                - mobile_number_institution_mismatch
                - service_unavailable
                - sandbox_only
                - insufficient_funds
                - rail_disabled
                - amount_limit_exceeded
                - org_limit_exceeded
                - service_incident
                - service_maintenance
              description: >-
                Stable identifier a client may branch on — never renamed or
                removed.
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
    Collection:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Collection id — your handle for polling and support.
        status:
          type: string
          enum:
            - settled
            - reversed
          description: >-
            `settled` means the money credited your balance. `reversed` means
            the provider then clawed the pay-in back — treat the
            `collection.reversed` event as authoritative; your balance catches
            up.
          example: settled
        amount_mwk:
          type: string
          description: >-
            The gross amount the sender sent — exact decimal string at 2 decimal
            places. Parse with a decimal library, never a float.
          example: '1000.00'
        fee:
          type: string
          description: >-
            The transaction fee, as one combined figure — an exact decimal
            string. Always equal to `amount_mwk` minus `amount_credited`. Use
            `POST /fees/quote` to know it in advance.
          example: '15.00'
        amount_credited:
          type: string
          description: >-
            What your balance moved by: `amount_mwk` minus `fee`, as an exact
            decimal string.
          example: '985.00'
        rail:
          type:
            - string
            - 'null'
          enum:
            - bank
            - momo
            - null
          description: >-
            How the money arrived: `momo` from a mobile wallet, `bank` from a
            bank account. Null when the rail could not be determined.
        source_customer_name:
          type:
            - string
            - 'null'
          description: Who sent the money, as reported by the provider.
          example: PETER BANDA
        source_account_number:
          type:
            - string
            - 'null'
          description: >-
            The account or wallet the money came from, verbatim — your handle
            for matching the pay-in to your own customer.
          example: '265991234567'
        source_institution:
          type:
            - string
            - 'null'
          description: The institution the money came from, as reported by the provider.
          example: Airtel Money
        rtp_reference_number:
          type:
            - string
            - 'null'
          description: >-
            The reference you supplied when requesting this payment, echoed back
            for matching. Null when the payer sent the money directly.
        created_at:
          type: string
          format: date-time
      required:
        - id
        - status
        - amount_mwk
        - fee
        - amount_credited
        - rail
        - source_customer_name
        - source_account_number
        - source_institution
        - rtp_reference_number
        - created_at
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Your Jenzy API key: `Authorization: Bearer jz_live_…`'

````