 paymentInstrument query
paymentInstrument query
Retrieves guest credit card, Expedia Virtual Card (EVC), and affiliate virtual credit card (VCC) information using a payment token provided by the reservations query. 
Syntax
1query {2 paymentInstrument(5}
Examples
The following examples show how to retrieve card details. Success and error responses are provided for each.
EVC
- Request
- Response - Success
- Response - Error
1query {2 paymentInstrument(token: "afq323-2fseger34g3433-wfw4g2343g:2324fsd-gfert2g24r23fseger!2323r23") {3 ... on BankIssuedCard {4 customer {5 fullName6 address {7 addressLines8 locality9 administrativeArea10 postalCode11 countryCode12 }13 }14 number15 expirationDate16 type17 verificationNumber18 issuerName19 activationDate20 }21 }22}
Guest credit card
Note that activationDate returns null for guest credit cards (Hotel Collect reservations). Values are only available for this field for Expedia Collect (Expedia Virtual Card) reservations only. 
- Request
- Response - Success
- Response - Error
1query {2 paymentInstrument(token: "afq323-2fseger34g3433-wfw4g2343g:2324fsd-gfert2g24r23fseger!2323r23") {3 ... on BankIssuedCard {4 customer {5 fullName6 address {7 addressLines8 locality9 administrativeArea10 postalCode11 countryCode12 }13 }14 number15 expirationDate16 type17 verificationNumber18 issuerName19 activationDate20 }21 }22}
Affiliate VCC
- Request
- Response - Success
- Response - Error
1query {2 paymentInstrument(token: "afq323-2fseger34g3433-wfw4g2343g:2324fsd-gfert2g24r23fseger!2323r23") {3 ... on BankIssuedCard {4 customer {5 fullName6 address {7 addressLines8 locality9 administrativeArea10 postalCode11 countryCode12 }13 }14 number15 expirationDate16 type17 verificationNumber18 issuerName19 affiliateVccPaymentHandling {20 authorizedExpense21 specifiedIncidentalExpenses22 totalChargesAllowed {23 amount24 currencyCode25 }26 verificationNumberRequired27 authorizingCompany28 cardContactFullPhoneNumber29 cardContactEmail30 maxPaymentAttemptCount31 activationDateStart32 activationDateEnd33 }34 }35 }36}
Arguments
| Name | Description | 
|---|---|
| 
 | Required. External token returned in the  | 
Types
| Name | Type | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Address | Object | |||||||||||||||||||||||
| Property address information. 
 | ||||||||||||||||||||||||
| AffiliateVccPaymentHandling | Object | |||||||||||||||||||||||
| Payment handling details for a corporate traveler. 
 | ||||||||||||||||||||||||
| AuthorizedExpense | Enum | |||||||||||||||||||||||
| Type of expenses that are authorized to be charged to the VCC. 
 | ||||||||||||||||||||||||
| BankIssuedCard | Object | |||||||||||||||||||||||
| Bank-issued card. 
 | ||||||||||||||||||||||||
| Boolean | Boolean | |||||||||||||||||||||||
| The  | ||||||||||||||||||||||||
| CountryCode | CountryCode | |||||||||||||||||||||||
| Three-character ISO-3166-1 country code. | ||||||||||||||||||||||||
| CurrencyCode | CurrencyCode | |||||||||||||||||||||||
| Scalar that represents the three-letter currency code defined by the ISO 4217 standard. | ||||||||||||||||||||||||
| DateTime | DateTime | |||||||||||||||||||||||
| Scalar that represents a date-time string at UTC, such as 2007-12-03T10:15:30Z,
compliant with the  | ||||||||||||||||||||||||
| Decimal | Decimal | |||||||||||||||||||||||
| Scalar that represents a signed fractional value with extra precision. | ||||||||||||||||||||||||
| EmailAddress | EmailAddress | |||||||||||||||||||||||
| Scalar whose value conforms to the standard internet email address format as specified in HTML Spec. | ||||||||||||||||||||||||
| Int | Int | |||||||||||||||||||||||
| The  | ||||||||||||||||||||||||
| LocalDate | LocalDate | |||||||||||||||||||||||
| A type representing a date in ISO 8601 format: YYYY-MM-DD (such as 2007-12-03). | ||||||||||||||||||||||||
| Money | Object | |||||||||||||||||||||||
| Monetary amount value and its currency code. 
 | ||||||||||||||||||||||||
| PaymentInstrument | Union | |||||||||||||||||||||||
| PaymentInstrumentCustomer | Object | |||||||||||||||||||||||
| PaymentType | Enum | |||||||||||||||||||||||
| Payment method. 
 | ||||||||||||||||||||||||
| String | String | |||||||||||||||||||||||
| The  | ||||||||||||||||||||||||