diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 3c2eb0950..059e09dd7 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -228,6 +228,7 @@ paths: exchangeRate: 82.5 fees: fixed: 100 + total: 150 updatedAt: '2025-02-05T12:00:00Z' - sourceCurrency: code: USD @@ -247,6 +248,7 @@ paths: exchangeRate: 0.925 fees: fixed: 10 + total: 15 updatedAt: '2025-02-05T12:00:00Z' '400': description: Bad request - Invalid parameters @@ -8475,6 +8477,12 @@ components: description: Fixed fee in the smallest unit of the sending currency (e.g., cents for USD) minimum: 0 example: 100 + total: + type: integer + format: int64 + description: Total fees in the smallest unit of the sending currency (e.g., cents for USD). This value may change depending on the sending amount used; if no sending amount is specified, it falls back to the default. + minimum: 0 + example: 100 ExchangeRate: type: object description: Exchange rate information for a currency corridor diff --git a/openapi.yaml b/openapi.yaml index 3c2eb0950..059e09dd7 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -228,6 +228,7 @@ paths: exchangeRate: 82.5 fees: fixed: 100 + total: 150 updatedAt: '2025-02-05T12:00:00Z' - sourceCurrency: code: USD @@ -247,6 +248,7 @@ paths: exchangeRate: 0.925 fees: fixed: 10 + total: 15 updatedAt: '2025-02-05T12:00:00Z' '400': description: Bad request - Invalid parameters @@ -8475,6 +8477,12 @@ components: description: Fixed fee in the smallest unit of the sending currency (e.g., cents for USD) minimum: 0 example: 100 + total: + type: integer + format: int64 + description: Total fees in the smallest unit of the sending currency (e.g., cents for USD). This value may change depending on the sending amount used; if no sending amount is specified, it falls back to the default. + minimum: 0 + example: 100 ExchangeRate: type: object description: Exchange rate information for a currency corridor diff --git a/openapi/components/schemas/exchange_rates/ExchangeRateFees.yaml b/openapi/components/schemas/exchange_rates/ExchangeRateFees.yaml index 3c58d7c54..82e5146b4 100644 --- a/openapi/components/schemas/exchange_rates/ExchangeRateFees.yaml +++ b/openapi/components/schemas/exchange_rates/ExchangeRateFees.yaml @@ -7,3 +7,12 @@ properties: description: Fixed fee in the smallest unit of the sending currency (e.g., cents for USD) minimum: 0 example: 100 + total: + type: integer + format: int64 + description: >- + Total fees in the smallest unit of the sending currency (e.g., cents for + USD). This value may change depending on the sending amount used; if no + sending amount is specified, it falls back to the default. + minimum: 0 + example: 100 diff --git a/openapi/paths/exchange-rates/exchange_rates.yaml b/openapi/paths/exchange-rates/exchange_rates.yaml index 7e78f0667..4c30208c2 100644 --- a/openapi/paths/exchange-rates/exchange_rates.yaml +++ b/openapi/paths/exchange-rates/exchange_rates.yaml @@ -76,6 +76,7 @@ get: exchangeRate: 82.50 fees: fixed: 100 + total: 150 updatedAt: "2025-02-05T12:00:00Z" - sourceCurrency: code: USD @@ -95,6 +96,7 @@ get: exchangeRate: 0.925 fees: fixed: 10 + total: 15 updatedAt: "2025-02-05T12:00:00Z" "400": description: Bad request - Invalid parameters