PayPal · Schema

Exchange Rate

The exchange rate that determines the amount to convert from one currency to another currency.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
source_currency object The source currency from which to convert an amount.
target_currency object The target currency to which to convert an amount.
value string The target currency amount. Equivalent to one unit of the source currency. Formatted as integer or decimal value with one to 15 digits to the right of the decimal point.
View JSON Schema on GitHub

JSON Schema

paypal-exchange-rate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/exchange_rate",
  "title": "Exchange Rate",
  "description": "The exchange rate that determines the amount to convert from one currency to another currency.",
  "type": "object",
  "properties": {
    "source_currency": {
      "description": "The source currency from which to convert an amount.",
      "$ref": "#/components/schemas/currency_code"
    },
    "target_currency": {
      "description": "The target currency to which to convert an amount.",
      "$ref": "#/components/schemas/currency_code"
    },
    "value": {
      "description": "The target currency amount. Equivalent to one unit of the source currency. Formatted as integer or decimal value with one to 15 digits to the right of the decimal point.",
      "type": "string"
    }
  },
  "readOnly": true
}