Skip to content

Commit 868789d

Browse files
Merge pull request #199 from MewsSystems/MikeAdamsMews-patch-7
Update payment card type
2 parents 5f0c674 + ed3f689 commit 868789d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mews-operations/reservations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ The third `reservation` definition shows the partial cancellation - canceling th
316316

317317
| Property | Type | Contract | Description |
318318
| :-- | :-- | :-- | :-- |
319-
| `type` | `int` | required | [Payment Card Type](#payment-card-types) code. |
319+
| `type` | `int` | required | [Payment Card Type](#payment-card-types) code. **Important**: Only permitted values must be used, we recommend that if you do not know the correct value then use `1` as a fallback. |
320320
| `number` | `string` | required | Payment card number. _Only numbers allowed._ |
321321
| `expireDate` | `string` | required | Expiration date of card in `"MMyy"` format \(e.g `"0222"` for February 2022 expiration\). |
322322
| `cvv` | `string` | optional | Card CVV code. The value cannot be ```000```.|
@@ -381,7 +381,7 @@ The third `reservation` definition shows the partial cancellation - canceling th
381381
| `extras` | [`Extra`](#extra) collection | optional | Collection of extra ordered products for the reservation \(e.g. Breakfast\). _Their total amount is included in the _`totalAmount`_ of the reservation._ |
382382
| `guests` | [`Customer`](#customer) collection | optional | Collection of guests that will arrive to the property. |
383383
| `timeState` | `int` | required (used only in [CHM: Process group](../channel-manager-operations/reservations.md#process-group) operation) | [Reservation Time State](#reservation-time-states) code of reservation state. |
384-
| `paymentCardData` | [`Payment Card Data`](#payment-card-data) object | optional (used only in [CHM: Process group](../channel-manager-operations/reservations.md#process-group) operation) | Represents the payment card of the [`Customer`](#customer) to cover for the booking. It doesn't contain the acutal card number. |
384+
| `paymentCardData` | [`Payment Card Data`](#payment-card-data) object | optional (used only in [CHM: Process group](../channel-manager-operations/reservations.md#process-group) operation) | Represents the payment card of the [`Customer`](#customer) to cover for the booking. It doesn't contain the actual card number. |
385385
| ~~`adultCount`~~ | ~~`int`~~ | ~~required \(exc. Cancellation\)~~ | ~~Number of adults in the reservation.~~ **[Deprecated!](../deprecations/README.md)** |
386386
| ~~`childCount`~~ | ~~`int`~~ | ~~optional \(exc. Cancellation\)~~ | ~~Number of children in the reservation.~~ **[Deprecated!](../deprecations/README.md)** |
387387

0 commit comments

Comments
 (0)