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

# List all PIX keys for a specific merchant

> Requires the merchant.pix.list permission.

Returns every PIX key of a merchant that belongs to the authenticated organization
that is not `DELETED`, those pending verification included. Each key carries the
claim in progress on it in `claim`, `null` when there is none.




## OpenAPI

````yaml /api-spec.yaml get /v1/merchants/{merchantId}/pix/keys
openapi: 3.1.0
info:
  title: Rinne API
  version: 1.0.0
  description: >
    **Rinne API** is a robust payment platform that offers integration with
    multiple payment providers.


    ## Authentication


    The API uses API Key authentication via the `x-api-key` header. Each company
    has a unique key to access resources.


    ## Response Format


    All responses follow a consistent format:

    - **Success**: Returns the requested data directly

    - **Error**: Returns an `error` object with detailed information


    ## Pagination


    Endpoints that return lists support pagination through parameters:

    - `page`: Page number (default: 1)

    - `limit`: Items per page (default: 20, maximum: 100)


    ## Supported Providers


    The API supports multiple payment providers:

    - **Rinne**: Internal provider

    - **Celcoin**: PIX integration and other financial services


    ## Raw Card Data (PCI Endpoints)


    Card credential fields (`card_data.number`, `card_data.cvv`,
    `card_data.network_token`,

    `card_data.cryptogram`, and the 3DS `card.number`) must always be sent
    encrypted —

    values start with the `ev:` prefix. Plaintext values are rejected with

    `400 VALIDATION_ERROR` on every host.


    There are two ways to send encrypted values:

    - **rinne-js**: card forms and wallet buttons (Apple Pay / Google Pay)
    encrypt
      credentials client-side before they leave the browser.
    - **PCI API host**: server-to-server integrations that handle raw card data
    must call
      `https://pci.api.rinne.com.br/core` (sandbox: `https://pci.api-sandbox.rinne.com.br/core`)
      instead of the regular host. This endpoint encrypts `number` and `cvv` in transit
      before the request reaches the API; all other fields pass through unchanged.

    The PCI host serves only transaction creation and 3DS session creation (both
    the

    self and merchant variants); use the regular host for everything else.
  contact:
    name: Rinne API Support
    email: suporte@rinne.com.br
servers:
  - url: https://api-sandbox.rinne.com.br/core
    description: Sandbox
  - url: https://api.rinne.com.br/core
    description: Production
security: []
tags:
  - name: System
    description: System and API health endpoints
  - name: Tap-on-Phone
    description: Access-token minting for the Tap-on-Phone SDK (called from your backend)
  - name: Management
    description: >-
      Merchant management endpoints - create, list, get specific, overview,
      update
  - name: Transactions
    description: Transaction operations for merchants - create, list, overview, refunds
  - name: Affiliations
    description: Affiliation management for merchants
  - name: Biometric Verifications
    description: Biometric verifications of your merchants' contacts
  - name: Onboarding Requirements
    description: What your merchants must prove to a provider, and how far along they are
  - name: Onboarding Documents
    description: Documents uploaded for your merchants
  - name: KYC
    description: KYC check history of your merchants
  - name: Banking
    description: Banking operations for merchants - balance, cashout, statements
  - name: Bank Accounts
    description: Bank account management for merchants
  - name: Pix Keys
    description: PIX key management for merchants
  - name: Company Transactions
    description: Direct transaction management and query endpoints for companies
  - name: Companies
    description: Company management
  - name: Company Affiliations
    description: Payment provider affiliation management
  - name: Company Biometric Verifications
    description: Biometric verifications of the company contact
  - name: Company Onboarding Requirements
    description: What the company must prove to a provider, and how far along it is
  - name: Company Onboarding Documents
    description: Documents the company uploads for its onboarding
  - name: Company Banking
    description: Company banking endpoints (balance, etc.)
  - name: Company Pix
    description: Company PIX key management
  - name: Company Ledger
    description: Company ledger entry query endpoints
  - name: Company Disputes
    description: Company dispute query endpoints
  - name: Company Receivables
    description: Contract effects on the company's own receivables
  - name: Ledger
    description: Ledger entry query endpoints (company and merchants)
  - name: Disputes
    description: Dispute query endpoints for an organization's merchants
  - name: Receivables
    description: Contract effects on an organization's merchants' receivables
  - name: Cards
    description: Stored card management (self and merchant)
  - name: Webhooks
    description: Endpoints for receiving webhooks from external providers
  - name: Pricing
    description: Fee and cost policy management for transaction pricing
  - name: Users
    description: User management endpoints
  - name: Roles
    description: Role management endpoints
  - name: Permissions
    description: Permission management endpoints
paths:
  /v1/merchants/{merchantId}/pix/keys:
    get:
      tags:
        - Pix Keys
      summary: List all PIX keys for a specific merchant
      description: >
        Requires the merchant.pix.list permission.


        Returns every PIX key of a merchant that belongs to the authenticated
        organization

        that is not `DELETED`, those pending verification included. Each key
        carries the

        claim in progress on it in `claim`, `null` when there is none.
      parameters:
        - in: path
          name: merchantId
          required: true
          schema:
            type: string
          description: The merchant ID
          example: 123e4567-e89b-12d3-a456-426614174000
      responses:
        '200':
          description: List of PIX keys
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PixKeyResponse'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationErrorResponse'
        '403':
          description: Insufficient permissions to access this resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationErrorResponse'
        '404':
          description: Merchant not found or does not belong to authenticated organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PixKeyResponse:
      description: A Pix key registered, or being registered, on the account
      allOf:
        - $ref: '#/components/schemas/PixKeyEntitySnapshot'
        - type: object
          required:
            - claim
    AuthenticationErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: AUTHENTICATION_ERROR
            message:
              type: string
              example: Authentication required to access this resource
            status:
              type: integer
              example: 401
            details:
              type: object
              properties:
                reason:
                  type: string
                  example: Invalid API key
            path:
              type: string
              example: /companies/me
            timestamp:
              type: string
              format: date-time
              example: '2023-12-01T10:00:00.000Z'
            requestId:
              type: string
              example: req_123456789
    AuthorizationErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: AUTHORIZATION_ERROR
            message:
              type: string
              example: You need 'admin' permissions to access this resource
            status:
              type: integer
              example: 403
            path:
              type: string
              example: /companies
            timestamp:
              type: string
              format: date-time
              example: '2023-12-01T10:00:00.000Z'
            requestId:
              type: string
              example: req_123456789
    NotFoundErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: RESOURCE_NOT_FOUND
            message:
              type: string
              example: Company with ID '123' not found
            status:
              type: integer
              example: 404
            path:
              type: string
              example: /companies/me
            timestamp:
              type: string
              format: date-time
              example: '2023-12-01T10:00:00.000Z'
            requestId:
              type: string
              example: req_123456789
    InternalServerErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: INTERNAL_SERVER_ERROR
            message:
              type: string
              example: An unexpected error occurred
            status:
              type: integer
              example: 500
            path:
              type: string
              example: /companies
            timestamp:
              type: string
              format: date-time
              example: '2023-12-01T10:00:00.000Z'
            requestId:
              type: string
              example: req_123456789
    PixKeyEntitySnapshot:
      type: object
      description: >
        Pix key object as sent in the `entity` snapshot of every `pix-key.*`
        webhook. Same

        shape as `PixKeyResponse`, except that `claim` may be absent: it was
        added after the

        events existed, and a snapshot is taken when the event is written, so an
        event

        written before then and delivered later carries none.
      required:
        - id
        - affiliation_id
        - company_id
        - key_type
        - key
        - primary
        - status
      properties:
        id:
          type: string
          format: uuid
          description: Pix key unique identifier
          example: a3dbd0c2-9f79-4f86-8caa-47779b3f2793
        affiliation_id:
          type: string
          format: uuid
          description: Affiliation ID associated with this PIX key
          example: a3dbd0c2-9f79-4f86-8caa-47779b3f2794
        company_id:
          type: string
          format: uuid
          description: Company ID that owns this PIX key
          example: a3dbd0c2-9f79-4f86-8caa-47779b3f2795
        key_type:
          type: string
          description: The Pix key type
          enum:
            - CPF
            - CNPJ
            - EMAIL
            - PHONE
            - EVP
          example: EMAIL
        key:
          type:
            - string
            - 'null'
          description: >
            The Pix key value. `null` for an `EVP` key until the provider
            assigns it; a CPF

            or CNPJ without punctuation.
          example: finance@company.com
        primary:
          type: boolean
          description: >
            Whether this is the primary PIX key, the one a charge settles to
            when it names

            no `pix_key_id`. On a webhook snapshot it is the value as of that
            event: setting

            the primary key fires no event, so the key list is the source for
            the current

            primary.
          example: false
        status:
          type: string
          description: >
            The current status of the PIX key:

            - PENDING_VERIFICATION: an `EMAIL` or `PHONE` key waiting for its
            holder's code;
              not registered yet. Deleted after 24 hours without a verify.
            - INACTIVE: created or verified, registration with the provider in
            progress.
              Rinne finishes it and reports `ACTIVE`, or `DELETED` when the provider refuses
              the key.
            - ACTIVE: registered and receiving payments

            - FAILED: a random key whose registration could not be completed;
            create a new
              one
            - PENDING_DELETION: deletion requested, removal from the provider in
            progress

            - DELETED: removed - by a delete, by a claim that moved the key to
            another
              institution, by the provider refusing its registration, or a pending key
              abandoned or whose code could not be sent
          enum:
            - PENDING_VERIFICATION
            - INACTIVE
            - ACTIVE
            - FAILED
            - PENDING_DELETION
            - DELETED
          example: PENDING_VERIFICATION
        claim:
          type:
            - object
            - 'null'
          description: >
            The claim in progress on the key (`PENDING_VERIFICATION`, `OPEN`,

            `WAITING_RESOLUTION` or `CONFIRMED`), `null` when there is none. A
            claim with

            `side: DONOR` is one another institution opened on this key: answer
            it by

            confirming or cancelling the claim. While it lasts the key keeps

            receiving payments but cannot be deleted or made primary.
          required:
            - id
            - side
            - claim_type
            - status
          properties:
            id:
              type: string
              format: uuid
              description: Claim ID
              example: c1f0a7e2-2b4d-4a53-9d1e-5b6f0c8e9a11
            side:
              type: string
              enum:
                - CLAIMER
                - DONOR
              description: >-
                This account's side of the claim; `DONOR` when another
                institution claims this key
              example: DONOR
            claim_type:
              type: string
              enum:
                - PORTABILITY
                - OWNERSHIP
              description: The claim type
              example: PORTABILITY
            status:
              type: string
              enum:
                - PENDING_VERIFICATION
                - OPEN
                - WAITING_RESOLUTION
                - CONFIRMED
              description: The claim status
              example: WAITING_RESOLUTION
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Company API key for authentication

````

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