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

# Get current Solana settlement donation fee

> Resolve the current fee for a config and original on-chain attribution address. Supports native Solana and EVM sources activated for Solana settlement. The observed tip is preserved and the fee amount is capped at gross minus tip. This estimate is not a rate lock. Native Solana donations use their donation event slot; bridged EVM donations use the finalized Solana USDC delivery slot, not the source block or later admission slot.



## OpenAPI

````yaml https://api.donate.gg/api/openapi get /v1/configs/{configId}/fee
openapi: 3.1.1
info:
  title: Donate Developer API
  version: 1.0.0
  description: >-
    Public JSON API for charities, configs, campaigns, tokens, and related
    catalog reads. Operations are grouped by version (`/v1`, and later `/v2`).
    GET/HEAD catalog routes may omit `donate-api-key` and are IP rate-limited
    for anonymous callers (~20 req/min). Authenticated keys share one
    organization rate-tier bucket. Create/list configs and project analytics
    require an API key. Configs are permanent; the retained authenticated DELETE
    endpoint rejects deletion. Unpublished internal routes are omitted. Spec
    routes (`/api/openapi`, `/api/postman`) are unauthenticated and unmetered.
servers:
  - url: /api
    description: API origin. Version prefixes live on each operation path.
security:
  - {}
  - ApiKeyAuth: []
paths:
  /v1/configs/{configId}/fee:
    get:
      summary: Get current Solana settlement donation fee
      description: >-
        Resolve the current fee for a config and original on-chain attribution
        address. Supports native Solana and EVM sources activated for Solana
        settlement. The observed tip is preserved and the fee amount is capped
        at gross minus tip. This estimate is not a rate lock. Native Solana
        donations use their donation event slot; bridged EVM donations use the
        finalized Solana USDC delivery slot, not the source block or later
        admission slot.
      operationId: v1.configs.fee
      parameters:
        - name: configId
          in: path
          required: true
          schema:
            type: string
            description: Config ID (base58 or hex)
        - name: chainId
          in: query
          required: true
          schema:
            type: number
            description: Chain ID
          allowEmptyValue: true
          allowReserved: true
        - name: sourceAddress
          in: query
          required: true
          schema:
            type: string
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  feeBps:
                    type: string
                  basis:
                    enum:
                      - legacy_config
                      - developer_config
                      - partner_address
                      - donate
                    type: string
                  policyVersion:
                    type: string
                  evaluatedSlot:
                    type: string
                  activationSlot:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - feeBps
                  - basis
                  - policyVersion
                  - evaluatedSlot
                  - activationSlot
                additionalProperties: false
        '400':
          description: '400'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: VALIDATION_ERROR
                      status:
                        const: 400
                      message:
                        type: string
                        default: Validation failed
                      data:
                        type: object
                        properties:
                          error:
                            type: string
                          code:
                            const: VALIDATION_ERROR
                          issues:
                            type: array
                            items:
                              anyOf:
                                - {}
                                - type: 'null'
                        required:
                          - error
                          - code
                        additionalProperties: false
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        '404':
          description: '404'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: NOT_FOUND
                      status:
                        const: 404
                      message:
                        type: string
                        default: Not found
                      data:
                        type: object
                        properties:
                          error:
                            type: string
                          code:
                            const: NOT_FOUND
                        required:
                          - error
                          - code
                        additionalProperties: false
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        '503':
          description: '503'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: PROVIDER_UNAVAILABLE
                      status:
                        const: 503
                      message:
                        type: string
                        default: Provider temporarily unavailable
                      data:
                        type: object
                        properties:
                          error:
                            type: string
                          code:
                            const: PROVIDER_UNAVAILABLE
                        required:
                          - error
                          - code
                        additionalProperties: false
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: donate-api-key
      description: >-
        Developer API key. Required for config create/list and project
        analytics. The disabled config DELETE endpoint also requires
        authentication. Optional on public GET reads (anonymous callers are IP
        rate-limited). Obtain from the Developer dashboard.

````

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