# PaymentCard

## Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [GuaranteeAccepted](/connectivity/docs/api-reference/guaranteeaccepted)/`PaymentCard` | Details of a card used to pay for the reservation. | object | 1..1 | - |
| `PaymentCard`/`@CardCode` | The [two-letter credit card code](/connectivity/docs/b_xml-creditcards). | enum | 1..1 | `XX` appears in two situations. The card type has no OTA mapping. This is not an error and retrying will not help. Some card types, such as V PAY, have no equivalent code in the OTA standard, so XX is emitted instead. Or the system could not retrieve the card data, which is a temporary failure. In this case every other card field holds a placeholder value (CardNumber="0000000000000000", SeriesCode="000", CardHolderName="-"). Retry the request. |
| `PaymentCard`/`@CardNumber` | The credit card number as entered by the booker. | integer | 1..1 | If all `0`, something went wrong when retrieving the number (please try again later). |
| `PaymentCard`/`@SeriesCode` | The credit card CVC code as entered by the booker. | integer | 1..1 | If all `0`, something went wrong when retrieving the CVC-code (please try again later). |
| `PaymentCard`/`@ExpireDate` | The credit card expiration date as entered by the booker. | string | 1..1 | Format: `MMDD`. If all `0`, something went wrong when retrieving the expiration date (please try again later). |
| `PaymentCard`/`@EffectiveDate` | The credit card activation date. The date that the card can be charged from. This attribute will not be existing in case the card is not virtual credit card. | date | 0..1 | Format: `YYY-MM-DD`. This attribute can be not existing. That does not mean that something wrong happened, It only means that the credit card is not virtual. Note : In order to get this attribute you have to turn on the feature "Reservation virtual credit card activation". |
| `PaymentCard`/`CardHolderName` | The credit card holder's name as entered by the booker. | string | 1..1 | If `-`, something went wrong when retrieving the holder's name (please try again later). |


## XML

```xml
<PaymentCard
  CardCode="MC"
  CardNumber="5346330641608164"
  SeriesCode=""
  ExpireDate="0122"
  EffectiveDate="2019-01-13">
   <CardHolderName>CARD HOLDER NAME</CardHolderName>
</PaymentCard>
```

## Related endpoints

* [/ota/OTA_HotelResNotif](/assets/ota-resnotif.c04c5c3d4d18175dcc64cacd33fddb968c6f3f158d5821ce2dc646e1e390edea.53c68abe.md)
* [/ota/OTA_HotelResModifyNotif](/assets/ota-resmodifynotif.a2d1ce81a5e5d13226c91415f13cbb8c13e5e789eaceecde3c33e783da66e1cf.53c68abe.md)