Amount:
  description: A representation of an amount used through various payment related operations
  type: object
  required:
    - value
    - currency
  properties:
    value:
      description: The amount value in the currency's smallest unit, i.e. cents, pence etc.
      type: integer
      format: int64
      minimum: 0
      example: 1000
    currency:
      description: The numeric currency code as defined by ISO-4217
      $ref: '../currency/currency_v1.yaml#/CURRENCY'