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

# Set Partner Processing Fee

> Sets the partner processing fee from the next quote on. Set on the partner's own account it reaches every sub-account that inherits the partner's pricing; set on a sub-account it replaces the partner's for that sub-account alone. Quotes already issued keep their price. Requires the manage-holders capability.



## OpenAPI

````yaml PUT /api/v1/accounts/{account-id}/pricing
openapi: 3.1.0
info:
  title: Crown API & Webhooks
  version: 1.0.0
  description: >-
    Open API 3 docs for Crown API


    Webhook events that Crown will POST to your configured endpoint URL. All
    webhooks expect a 200 OK response. Payloads use kebab-case for all keys to
    match the Crown API conventions.
servers:
  - url: https://app.crown-brlv.com
    description: Production server
security: []
paths:
  /api/v1/accounts/{account-id}/pricing:
    put:
      summary: Set the partner processing fee
      description: >-
        Sets the partner processing fee from the next quote on. Set on the
        partner's own account it reaches every sub-account that inherits the
        partner's pricing; set on a sub-account it replaces the partner's for
        that sub-account alone. Quotes already issued keep their price. Requires
        the manage-holders capability.
      parameters:
        - in: path
          name: account-id
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                partner-processing-fee-bps:
                  oneOf:
                    - type: integer
                      format: int32
                    - type: 'null'
                  description: >-
                    The partner processing fee, a whole number of bps from 0 to
                    1000. Null on a sub-account clears its own fee, so it pays
                    the partner's again.
                  example: 25
              additionalProperties: false
              required:
                - partner-processing-fee-bps
      responses:
        '200':
          description: Pricing updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  pricing:
                    type: object
                    properties:
                      partner-processing-fee-bps:
                        type: integer
                        format: int32
                        description: >-
                          The bps added to the spread of a sub-account's FX
                          quotes and paid to its partner. On a sub-account, its
                          own fee, else the partner's when it inherits the
                          partner's pricing. On the partner, what its
                          sub-accounts pay unless set on them; the partner's own
                          quotes pay none.
                        example: 25
                    additionalProperties: false
                    required:
                      - partner-processing-fee-bps
                additionalProperties: false
                required:
                  - pricing
        '400':
          description: Bad request - Invalid input parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Bad request error details
                additionalProperties: false
                required:
                  - error
        '403':
          description: Forbidden - Access denied
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Forbidden access error details
                additionalProperties: false
                required:
                  - error
        '404':
          description: Not found - Resource does not exist
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Resource not found error details
                additionalProperties: false
                required:
                  - error
        '422':
          description: Unprocessable entity - Validation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Validation error details
                additionalProperties: false
                required:
                  - error

````

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