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

# Update PIX routing preferences

> Creates or updates the settlement bank routing preferences for a PIX fiat account.

At least one of `inboundBankLabel` or `outboundBankLabel` must be provided in the request.

Note: This endpoint will reject updates if the account has active Express routes configured. Accounts with Express routes must update preferences through the Circle Mint UI.




## OpenAPI

````yaml openapi/account.yaml put /v1/businessAccount/banks/pix/{fiatAccountId}/routingPreferences
openapi: 3.0.2
info:
  version: ${version}
  title: Core Functionality
  description: >
    All of Circle's APIs share a common set of core functionality that lets you
    manage your Circle Account in a programmatic way.


    With a Circle Account your business can deposit traditional money from 80+
    countries and seamlessly convert them into "digital currency dollars": USDC.
    You can then use USDC for everyday payments and treasury flows.
servers:
  - url: https://api-sandbox.circle.com
  - url: https://api.circle.com
security: []
tags:
  - name: Balances
    description: Get information on settled and unsettled balances.
  - name: Payouts
    description: Create and get information on 1st party payouts.
  - name: Wires
    description: >-
      Create, get instructions, and get information on 1st party bank accounts
      for wire transfers.
  - name: CUBIX
    description: Create and get information on CUBIX accounts.
  - name: PIX
    description: Create and get information on PIX accounts.
  - name: Transfers
    description: Create and get information on 1st party transfers.
  - name: Addresses
    description: Generate and get information on blockchain addresses.
  - name: Deposits
    description: Get information on 1st party deposits.
  - name: Payments
    description: Create, cancel, refund, and get updates on card payments.
  - name: Settlement Bank Routing
    description: View and manage settlement bank routing preferences for fiat accounts.
  - name: Reporting
    description: >-
      Retrieve transaction and balance reports, including ISO 20022 (CAMT.053)
      statements and managed-payment reports.
paths:
  /v1/businessAccount/banks/pix/{fiatAccountId}/routingPreferences:
    put:
      tags:
        - Settlement Bank Routing
      summary: Update PIX routing preferences
      description: >
        Creates or updates the settlement bank routing preferences for a PIX
        fiat account.


        At least one of `inboundBankLabel` or `outboundBankLabel` must be
        provided in the request.


        Note: This endpoint will reject updates if the account has active
        Express routes configured. Accounts with Express routes must update
        preferences through the Circle Mint UI.
      operationId: updatePixRoutingPreferences
      parameters:
        - $ref: '#/components/parameters/FiatAccountIdPath'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingPreferencesRequest'
      responses:
        '200':
          description: Successfully updated routing preferences for the PIX account.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                title: UpdatePixRoutingPreferencesResponse
                properties:
                  data:
                    $ref: '#/components/schemas/RoutingPreferencesResponse'
              examples:
                response:
                  value:
                    data:
                      currency: USD
                      inbound:
                        bankLabel: customers_bank
                        bankName: Customers Bank
                        createDate: '2020-04-10T02:13:30.000Z'
                        updateDate: '2020-04-10T02:13:30.000Z'
                      outbound:
                        bankLabel: customers_bank
                        bankName: Customers Bank
                        createDate: '2020-04-10T02:13:30.000Z'
                        updateDate: '2020-04-10T02:13:30.000Z'
        '400':
          $ref: '#/components/responses/BadRequestSettlementRoutingPreferences'
        '401':
          $ref: '#/components/responses/NotAuthorized'
        '404':
          $ref: '#/components/responses/NotFoundFiatAccount'
      security:
        - bearerAuth: []
components:
  parameters:
    FiatAccountIdPath:
      name: fiatAccountId
      description: Universally unique identifier (UUID v4) of a fiat account.
      in: path
      required: true
      schema:
        type: string
        format: uuid
        example: b3d9d2d5-4c12-4946-a09d-953e82fae2b0
  schemas:
    RoutingPreferencesRequest:
      type: object
      description: >-
        Request body for updating routing preferences. At least one of
        inboundBankLabel or outboundBankLabel must be provided.
      required:
        - currency
      properties:
        currency:
          type: string
          description: >-
            The currency code (e.g., USD, BRL). Must match a supported currency
            for the account type.
          example: USD
        inboundBankLabel:
          type: string
          description: Bank identifier for inbound (deposit) transactions.
          example: customers_bank
        outboundBankLabel:
          type: string
          description: Bank identifier for outbound (withdrawal) transactions.
          example: scb
    RoutingPreferencesResponse:
      type: object
      description: The current routing preferences for a fiat account.
      required:
        - currency
      properties:
        currency:
          type: string
          description: The currency code.
          example: USD
        inbound:
          description: The inbound routing preference (null if not set).
          nullable: true
          allOf:
            - $ref: '#/components/schemas/RoutingPreference'
        outbound:
          description: The outbound routing preference (null if not set).
          nullable: true
          allOf:
            - $ref: '#/components/schemas/RoutingPreference'
    RoutingPreference:
      type: object
      description: A routing preference for a specific direction (inbound or outbound).
      required:
        - bankLabel
        - bankName
        - createDate
        - updateDate
      properties:
        bankLabel:
          type: string
          description: Unique identifier for the bank.
          example: customers_bank
        bankName:
          type: string
          description: Human-readable bank name.
          example: Customers Bank
        createDate:
          $ref: '#/components/schemas/UtcTimestamp'
        updateDate:
          $ref: '#/components/schemas/UtcTimestamp'
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          example: 400
        message:
          type: string
          example: Something went wrong.
    UtcTimestamp:
      type: string
      description: ISO-8601 UTC date/time format.
      example: '2020-04-10T02:13:30.000Z'
  headers:
    XRequestId:
      description: >-
        Universally unique identifier (UUID v4) for the request. Helpful for
        identifying a request when communicating with Circle support.
      schema:
        type: string
        format: uuid
        example: 2adba88e-9d63-44bc-b975-9b6ae3440dde
  responses:
    BadRequestSettlementRoutingPreferences:
      description: The request cannot be processed due to a client error.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            '1173':
              value:
                code: 1173
                message: Institution is not eligible for routing
            '1174':
              value:
                code: 1174
                message: >-
                  At least one of inbound or outbound institution must be
                  provided
            '1175':
              value:
                code: 1175
                message: >-
                  Cannot update routing preferences for accounts with Express
                  routes via the API. Please use the Circle Mint UI
    NotAuthorized:
      description: >-
        The request has not been applied because it lacks valid authentication
        credentials.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            type: object
            title: NotAuthorized
            required:
              - code
              - message
            properties:
              code:
                type: integer
                example: 400
              message:
                type: string
                example: Something went wrong.
            example:
              code: 401
              message: Malformed authorization.
          examples:
            response:
              value:
                code: 401
                message: Malformed authorization.
    NotFoundFiatAccount:
      description: Fiat account not found or does not belong to the authenticated entity.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            '1112':
              value:
                code: 1112
                message: Fiat account not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````