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

# List the realm's Pix charges

> Lists the Pix charges of every organization in the realm, newest first.

Page with `limit` + `next`. Any other query parameter filters by the exact value of that field of the charge — for example `?organizationId=c4bd3f21-dfbd-44e8-8055-68ba15bed410` or `?status=PAID`; a value that doesn't fit the field (`?dueDate=tomorrow`) fails the request. Only the charges of the environment in `x-environment` are listed, so send `x-environment: LIVE` for production ones.

Only a realm admin can list them.


## OpenAPI

````yaml /api-reference/banking.openapi.json get /realms/{realmId}/pix-billing
openapi: 3.0.3
info:
  title: Banking
  version: 1.0.0
  description: >-
    Portão 3 banking API. Every endpoint requires a bearer token in the
    Authorization header (Authorization: Bearer <token>) unless its page states
    otherwise; see the Authentication guide. That requirement is not repeated
    per endpoint. Generated by tools/openapi from code (routes + security) and
    the hand-written spec (request/response bodies). Banking attaches a zod
    validationSchema at the route; request bodies are resolved from it (object +
    array roots). Responses have no presenter layer, so they stay tier=unknown.
    Confidence tiers: generated:typed=318 copied:manual=0 unknown=0.
servers:
  - url: https://api.banking.v2.portao3.com.br/
    description: production
  - url: https://api.banking.dev.3pers.com.br/
    description: development
security: []
tags:
  - name: Accounts
  - name: Account Limits
  - name: Wallets
  - name: Transaction Limits
  - name: Transfers
  - name: Cards
  - name: Card Limits
  - name: Cards 3DS
  - name: Pix Payments
  - name: Pix Keys
  - name: Pix Billing
  - name: PIX Automatic
  - name: PIX Infractions (MED)
  - name: Boleto Payments
  - name: Boleto Billing
  - name: TED Payments
  - name: Transactions
  - name: Transaction Reversals
  - name: Spend Review
  - name: Cashback
  - name: Currency Codes
paths:
  /realms/{realmId}/pix-billing:
    get:
      tags:
        - Pix Billing
      summary: List the realm's Pix charges
      description: Lists the Pix charges of every organization in the realm, newest first.
      operationId: getRealmsByRealmIdPixBilling
      parameters:
        - name: realmId
          in: path
          required: true
          description: |-
            ID of your realm.

            Format: `UUID`
          schema:
            type: string
            format: uuid
          example: f495ff0c-ab54-4f99-8e92-ca8682e4de9b
        - name: x-environment
          in: header
          required: false
          description: >-
            Environment whose charges you list: `LIVE` (production) or `TEST`
            (sandbox). When you omit it, you get the `TEST` ones; any other
            value is rejected.
          schema:
            type: string
            enum:
              - LIVE
              - TEST
          example: LIVE
        - name: next
          in: query
          required: false
          description: >-
            Cursor returned as `next` by the previous page. Omit it for the
            first page.
          schema:
            type: string
          example: NjcyYTFmNGViNGQzZTgwMDEyYzliM2U3
        - name: limit
          in: query
          required: false
          description: Page size. Defaults to 15.
          schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
          example: 15
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        _id:
                          type: string
                          description: ID of the charge.
                          example: 672a1f4eb4d3e80012c9b3e7
                        environment:
                          type: string
                          enum:
                            - LIVE
                            - TEST
                          description: '`LIVE` (production) or `TEST` (sandbox).'
                          example: LIVE
                        realmId:
                          type: string
                          description: ID of the realm.
                          example: f495ff0c-ab54-4f99-8e92-ca8682e4de9b
                        organizationId:
                          type: string
                          description: ID of the organization.
                          example: c4bd3f21-dfbd-44e8-8055-68ba15bed410
                        accountId:
                          type: string
                          description: ID of the account.
                          example: 66f2a1c7b4d3e80012c9a0b4
                        walletId:
                          type: string
                          description: ID of the wallet the charge belongs to.
                          example: 66f2a3d1b4d3e80012c9a0d2
                        status:
                          type: string
                          enum:
                            - CREATING
                            - ACTIVE
                            - PAID
                            - CANCELED
                          description: >-
                            `CREATING` while the QR code is being issued — one
                            that stays `CREATING` never got its QR code (`emv`)
                            back, so it can't be shown to a payer; `ACTIVE` once
                            it can be paid; `PAID` once paid; `CANCELED` once
                            canceled.
                          example: ACTIVE
                        emv:
                          type: string
                          description: >-
                            The Pix Copia e Cola code: render it as a QR code or
                            let the payer paste it in their bank's app. Absent
                            while `CREATING`.
                          example: >-
                            00020101021226900014br.gov.bcb.pix2568qrcodes.exemplo.com.br/v2/cobv/b8c1d3e54f2a4c6b9d7e1a2b3c4d5e6f5204000053039865802BR5915Loja
                            Exemplo6009Sao Paulo62070503***6304A1B2
                        key:
                          type: string
                          description: >-
                            The Pix key the charge pays into — one of the
                            receiving wallet's active keys. Absent while
                            `CREATING`.
                          example: financeiro@lojaexemplo.com.br
                        txnCurrency:
                          type: string
                          description: 'Currency of the charge: `986` (Brazilian real).'
                          example: '986'
                        txnAmount:
                          type: number
                          description: Amount of the charge, in cents.
                          example: 28500
                        txnCanAmountChange:
                          type: boolean
                          description: Whether the payer can change the amount when paying.
                          example: false
                        txnFineAmount:
                          description: >-
                            Fine charged once when the charge is paid after
                            `dueDate`. When it has none: `null`, or an `amount`
                            of `0` (a static QR code keeps the object it was
                            created with).
                          type: object
                          properties:
                            amount:
                              type: number
                              nullable: true
                              description: >-
                                The fine: a percentage of the amount with
                                `PERCENT`, an amount in cents with
                                `FIXED_VALUE`. `0` or `null` means no fine.
                              example: 2
                            amountType:
                              type: string
                              enum:
                                - FIXED_VALUE
                                - PERCENT
                              description: >-
                                `PERCENT` or `FIXED_VALUE`. Absent on the `{
                                amount: 0 }` a static QR code gets when it was
                                created without one.
                              example: PERCENT
                          required:
                            - amount
                          nullable: true
                        txnInterestAmount:
                          description: >-
                            Interest charged for each day the charge is paid
                            after `dueDate`. When it has none: `null`, or an
                            `amount` of `0` (a static QR code keeps the object
                            it was created with).
                          type: object
                          properties:
                            amount:
                              type: number
                              nullable: true
                              description: >-
                                The interest: a percentage with a
                                `PERCENT_POINT_*` type, an amount in cents
                                otherwise. `0` or `null` means no interest.
                              example: 1
                            amountType:
                              type: string
                              enum:
                                - AMOUNT_CALENDAR_DAYS
                                - AMOUNT_WORKING_DAYS
                                - PERCENT_POINT_PER_MONTH_CALENDAR_DAYS
                                - PERCENT_POINT_PER_DAY_CALENDAR_DAYS
                                - PERCENT_POINT_PER_YEAR_CALENDAR_DAYS
                                - PERCENT_POINT_PER_MONTH_WORKING_DAYS
                                - PERCENT_POINT_PER_DAY_WORKING_DAYS
                                - PERCENT_POINT_PER_YEAR_WORKING_DAYS
                                - UNT_PER_WORKING_DAYS
                              description: >-
                                How the interest accrues for each day late.
                                Absent on the `{ amount: 0 }` a static QR code
                                gets when it was created without one.
                              example: PERCENT_POINT_PER_MONTH_CALENDAR_DAYS
                          required:
                            - amount
                          nullable: true
                        txnDiscountAmount:
                          description: >-
                            Discount for paying before `dueDate`. When it has
                            none: `null`, or an `amount` of `0` (a static QR
                            code keeps the object it was created with).
                          type: object
                          properties:
                            amount:
                              type: number
                              nullable: true
                              description: >-
                                The discount: a percentage with a `PERCENT_*`
                                type, an amount in cents with an `AMOUNT_*` one.
                                `0` or `null` means no discount.
                              example: 0
                            amountType:
                              type: string
                              enum:
                                - AMOUNT_PER_ANTICIPATION_CALENDAR_DAYS
                                - AMOUNT_PER_ANTICIPATION_WORKING_DAYS
                                - PERCENT_PER_ANTICIPATION_CALENDAR_DAYS
                                - PERCENT_PER_ANTICIPATION_WORKING_DAYS
                              description: >-
                                How the discount accrues for each day paid
                                early. Absent on the `{ amount: 0 }` a static QR
                                code gets when it was created without one.
                              example: AMOUNT_PER_ANTICIPATION_CALENDAR_DAYS
                          required:
                            - amount
                          nullable: true
                        txnRebateAmount:
                          description: >-
                            Rebate deducted from the amount. When it has none:
                            `null`, or an `amount` of `0` (a static QR code
                            keeps the object it was created with).
                          type: object
                          properties:
                            amount:
                              type: number
                              nullable: true
                              description: >-
                                The rebate: a percentage of the amount with
                                `PERCENT`, an amount in cents with
                                `FIXED_VALUE`. `0` or `null` means no rebate.
                              example: 0
                            amountType:
                              type: string
                              enum:
                                - FIXED_VALUE
                                - PERCENT
                              description: >-
                                `PERCENT` or `FIXED_VALUE`. Absent on the `{
                                amount: 0 }` a static QR code gets when it was
                                created without one.
                              example: FIXED_VALUE
                          required:
                            - amount
                          nullable: true
                        dueDate:
                          type: string
                          nullable: true
                          description: >-
                            Due date of the charge — midnight UTC when it was
                            sent as `YYYY-MM-DD`. `null` for a static QR code.
                          example: '2026-11-20T00:00:00.000Z'
                          format: date-time
                        expiresAt:
                          type: string
                          nullable: true
                          description: >-
                            Last day the charge can be paid — midnight UTC when
                            it was sent as `YYYY-MM-DD`. `null` when you didn't
                            send one.
                          example: '2026-12-20T00:00:00.000Z'
                          format: date-time
                        description:
                          type: string
                          description: >-
                            Description of the charge. Empty when you didn't
                            send one.
                          example: Pedido 4821
                        customer:
                          type: object
                          properties:
                            name:
                              type: string
                              description: Name of the payer.
                              example: Juliana Ribeiro
                            document:
                              type: string
                              description: CPF or CNPJ of the payer, without formatting.
                              example: '12345678909'
                            email:
                              type: string
                              description: E-mail of the payer.
                              example: juliana.ribeiro@exemplo.com.br
                            address:
                              type: object
                              properties:
                                street:
                                  type: string
                                  description: Street.
                                  example: Avenida Paulista
                                number:
                                  type: string
                                  description: Number.
                                  example: '1578'
                                complement:
                                  type: string
                                  description: Complement, when you sent one.
                                  example: Sala 12
                                neighborhood:
                                  type: string
                                  description: Neighborhood.
                                  example: Bela Vista
                                postalCode:
                                  type: string
                                  description: Postal code (CEP), as `NNNNN-NNN`.
                                  example: 01310-200
                                city:
                                  type: string
                                  description: City.
                                  example: São Paulo
                                state:
                                  type: string
                                  description: State — its two-letter code.
                                  example: SP
                              required:
                                - street
                                - number
                                - neighborhood
                                - postalCode
                                - city
                                - state
                              description: Address of the payer.
                          required:
                            - name
                            - document
                            - email
                            - address
                          description: The payer.
                        confirmedAmount:
                          type: number
                          description: >-
                            Amount paid, in cents. `0` until the charge is
                            `PAID`.
                          example: 0
                        confirmedAmountAuthorized:
                          type: number
                          description: 'Not used: always `0`.'
                          example: 0
                        confirmedAt:
                          type: string
                          description: >-
                            When the payment was received. Only on a `PAID`
                            charge.
                          example: '2026-11-18T14:32:07.512Z'
                          format: date-time
                        canceledAt:
                          type: string
                          description: >-
                            When the charge was canceled. Only on a `CANCELED`
                            charge.
                          example: '2026-11-19T09:15:42.087Z'
                          format: date-time
                        external:
                          type: object
                          properties:
                            pixBillingId:
                              type: string
                              description: ID of the charge at the payment institution.
                              example: b8c1d3e5-4f2a-4c6b-9d7e-1a2b3c4d5e6f
                            locationId:
                              type: string
                              description: >-
                                ID of the location of the charge's QR code —
                                only on a charge with `dueDate`.
                              example: d4e5f6a7-b8c9-4d0e-8f1a-2b3c4d5e6f7a
                            transactionId:
                              type: string
                              description: Pix transaction ID (`txid`) the payment carries.
                              example: 672a1f4eb4d3e80012c9b3e70000
                          description: >-
                            References of the charge at the payment institution.
                            Absent while `CREATING`.
                        createdAt:
                          type: string
                          description: When the charge was created.
                          example: '2026-11-05T18:21:34.112Z'
                          format: date-time
                        updatedAt:
                          type: string
                          description: When the charge last changed.
                          example: '2026-11-05T18:21:35.004Z'
                          format: date-time
                        __v:
                          type: number
                          description: Version of the record.
                          example: 0
                      required:
                        - _id
                        - environment
                        - realmId
                        - organizationId
                        - accountId
                        - walletId
                        - status
                        - txnCurrency
                        - txnAmount
                        - txnCanAmountChange
                        - txnFineAmount
                        - txnInterestAmount
                        - txnDiscountAmount
                        - txnRebateAmount
                        - dueDate
                        - expiresAt
                        - description
                        - customer
                        - confirmedAmount
                        - confirmedAmountAuthorized
                        - createdAt
                        - updatedAt
                        - __v
                      description: >-
                        A Pix charge: a QR code the payer pays with Pix to
                        credit the wallet.
                    description: The charges of this page, newest first.
                  next:
                    type: string
                    nullable: true
                    description: >-
                      Cursor of the next page: send it as `next` to read it.
                      `null` on the last page.
                    example: NjcyYTFmNGViNGQzZTgwMDEyYzliM2U3
                required:
                  - items
                  - next
                description: A page of Pix charges.
        '403':
          description: >-
            `USER_NOT_HAVE_WALLET_PERMISSION` — You aren't an admin of the
            realm.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - USER_NOT_HAVE_WALLET_PERMISSION
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - BANKING
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: USER_NOT_HAVE_WALLET_PERMISSION
                origin: BANKING
                message: You do not have permission to perform this action
        '422':
          description: >-
            `BAD_REQUEST` — A path or query parameter is invalid; `fields` lists
            each one.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - BAD_REQUEST
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - BANKING
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                  fields:
                    type: array
                    description: >-
                      One entry per invalid request field (validation errors
                      only).
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: >-
                            Path of the invalid field, e.g. `label` or
                            `values[0].value`.
                          example: label
                        message:
                          type: string
                          description: Why the field was rejected.
                          example: label is required
                        code:
                          type: string
                          description: >-
                            `<FIELD>_<REASON>` — e.g. `LABEL_REQUIRED`,
                            `TYPE_ONE_OF`, `VALUES_VALUE_TYPE_ERROR`.
                          example: LABEL_REQUIRED
                        values:
                          type: array
                          items:
                            type: string
                          description: >-
                            The accepted values, when the field is an
                            enumeration.
                      required:
                        - field
                        - message
                        - code
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: BAD_REQUEST
                origin: BANKING
                message: >-
                  Bad Request: Your request is invalid or incomplete. Please
                  make sure you are requesting with the right fields.
                fields:
                  - field: limit
                    message: 'Invalid input: expected integer, received string'
                    code: LIMIT_TYPE_ERROR

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.