Mews · Schema

Credit card transaction

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
PaymentId string Unique identifier of the `PaymentItem`.
SettlementId string Identifier of the settlement.
SettledUtc string Settlement date and time in UTC timezone in ISO 8601 format.
Fee object Transaction fee - this includes an estimate of bank charges.
AdjustedFee object Transaction fee (adjusted) - this is the final confirmed transaction fee, including confirmed bank charges.
ChargedAmount object Charged amount of the transaction.
SettledAmount object Settled amount of the transaction.
View JSON Schema on GitHub

JSON Schema

mews-creditcardtransaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreditCardTransaction",
  "title": "Credit card transaction",
  "required": [
    "ChargedAmount",
    "PaymentId"
  ],
  "type": "object",
  "properties": {
    "PaymentId": {
      "type": "string",
      "description": "Unique identifier of the `PaymentItem`.",
      "format": "uuid"
    },
    "SettlementId": {
      "type": "string",
      "description": "Identifier of the settlement.",
      "nullable": true
    },
    "SettledUtc": {
      "type": "string",
      "description": "Settlement date and time in UTC timezone in ISO 8601 format.",
      "format": "date-time",
      "nullable": true
    },
    "Fee": {
      "title": "Extended amount",
      "allOf": [
        {
          "$ref": "#/components/schemas/ExtendedAmount"
        }
      ],
      "description": "Transaction fee - this includes an estimate of bank charges.",
      "nullable": true
    },
    "AdjustedFee": {
      "title": "Extended amount",
      "allOf": [
        {
          "$ref": "#/components/schemas/ExtendedAmount"
        }
      ],
      "description": "Transaction fee (adjusted) - this is the final confirmed transaction fee, including confirmed bank charges.",
      "nullable": true
    },
    "ChargedAmount": {
      "title": "Extended amount",
      "allOf": [
        {
          "$ref": "#/components/schemas/ExtendedAmount"
        }
      ],
      "description": "Charged amount of the transaction."
    },
    "SettledAmount": {
      "title": "Extended amount",
      "allOf": [
        {
          "$ref": "#/components/schemas/ExtendedAmount"
        }
      ],
      "description": "Settled amount of the transaction.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "CreditCardTransaction"
}