Adyen · Schema

Amount

PaymentsFinancial ServicesFintech

Properties

Name Type Description
currency string The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
value integer The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
View JSON Schema on GitHub

JSON Schema

adyen-amount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Amount",
  "title": "Amount",
  "properties": {
    "currency": {
      "description": "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).",
      "maxLength": 3,
      "minLength": 3,
      "type": "string"
    },
    "value": {
      "description": "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "value",
    "currency"
  ]
}