{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateOrderRequest",
  "title": "CreateOrderRequest",
  "properties": {
    "amount": {
      "description": "The total amount of the order.",
      "$ref": "#/components/schemas/Amount"
    },
    "expiresAt": {
      "description": "The date that order expires; e.g. 2019-03-23T12:25:28Z. If not provided, the default expiry duration is 1 day.",
      "type": "string"
    },
    "merchantAccount": {
      "description": "The merchant account identifier, with which you want to process the order.",
      "type": "string"
    },
    "reference": {
      "description": "A custom reference identifying the order.",
      "type": "string"
    }
  },
  "required": [
    "merchantAccount",
    "reference",
    "amount"
  ],
  "type": "object"
}