# Get allowed payment sources

Get the payment sources that are associated with the `userId` of the event coordinator.

Endpoint: GET /v2/events/payment-sources
Version: v2
Security: Bearer

## Security:

  - `Bearer` (unknown)
    http bearer

## Query parameters:

  - `userId` (string, required)
    ID of the event coordinator

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `paymentSources` (array, required)
    List of payment sources

  - `paymentSources.id` (string, required)
    Unique identifier identifying this payment source
    Example: f49d00fe-1eda-4304-ba79-a980f565281d

  - `paymentSources.type` (string)
    Type of Payment Source
    Enum: "CARD", "VIRTUAL_CARD", "REWARDS_PROGRAM", "DELAYED_INVOICING", "CUSTOM_PAYMENT_METHOD", "VENDOR_PROGRAM_PAYMENT", "UNUSED_CREDIT", "CASH"

  - `paymentSources.paymentSource` (object, required)
    Descriptor corresponding to the payment source.

  - `paymentSources.paymentSource.cardDescriptor` (object)
    Descriptor for card payment source.

  - `paymentSources.paymentSource.cardDescriptor.card` (object, required)
    User card info

  - `paymentSources.paymentSource.cardDescriptor.card.id` (string)
    Unique identifier for this card
    Example: 34d536b6-f8ff-11eb-9a61-0242ac180002

  - `paymentSources.paymentSource.cardDescriptor.card.type` (string)
    Type of card
    Enum: "UNKNOWN", "CREDIT", "DEBIT"

  - `paymentSources.paymentSource.cardDescriptor.card.company` (string)
    The issuing company of card
    Enum: "NONE", "VISA", "MASTERCARD", "AMEX", "DISCOVER", "AIR_TRAVEL_UATP", "CARTE_BLANCHE", "DINERS_CLUB", "JCB", "BREX", "UNION_PAY", "EURO_CARD", "ACCESS_CARD", "ELO_CARD"

  - `paymentSources.paymentSource.cardDescriptor.card.name` (string)
    Name on card
    Example: Harrison Schwartz

  - `paymentSources.paymentSource.cardDescriptor.card.address` (object)
    Postal Address Details

  - `paymentSources.paymentSource.cardDescriptor.card.address.addressLines` (array, required)
    Address lines

  - `paymentSources.paymentSource.cardDescriptor.card.address.administrativeArea` (string)
    Code of administrative area. For example: DL for Delhi, India.
Highest administrative subdivision which is used for postal
addresses of a country or region.
For example, this can be a state, a province, an oblast, or a prefecture.
Specifically, for Spain this is the province and not the autonomous
community (e.g. "Barcelona" and not "Catalonia").
Many countries don't use an administrative area in postal addresses. E.g.
in Switzerland this should be left unpopulated.
    Example: CA

  - `paymentSources.paymentSource.cardDescriptor.card.address.administrativeAreaName` (string)
    Name of administrative area. This is full name corresponding to administrativeArea. 
Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo.
    Example: California

  - `paymentSources.paymentSource.cardDescriptor.card.address.description` (string)
    Address description
    Example: San Francisco Home

  - `paymentSources.paymentSource.cardDescriptor.card.address.isDefault` (boolean)
    Whether this address is default address in case multiple addresses are specified.
    Example: true

  - `paymentSources.paymentSource.cardDescriptor.card.address.languageCode` (string)
    BCP-47 language code of the contents of this address (if known). This is often the UI 
language of the input form or is expected to match one of the languages used in the 
address' country/region, or their transliterated equivalents.
This can affect formatting in certain countries, but is not critical to the correctness 
of the data and will never affect any validation or other non-formatting related operations.
Examples: "zh-Hant", "ja", "ja-Latn", "en".
    Example: en

  - `paymentSources.paymentSource.cardDescriptor.card.address.locality` (string)
    Generally refers to the city/town portion of the address.
    Example: San Francisco

  - `paymentSources.paymentSource.cardDescriptor.card.address.locationCode` (string)
    IATA 3-letter location code. See https://www.iata.org/en/services/codes.
    Example: LAX

  - `paymentSources.paymentSource.cardDescriptor.card.address.organization` (string)
    The name of the organization at the address.
    Example: Spotnana

  - `paymentSources.paymentSource.cardDescriptor.card.address.postalCode` (string)
    Postal code of the address. This is a required field when setting for a user/legal entity/company etc.
    Example: 94130

  - `paymentSources.paymentSource.cardDescriptor.card.address.continentCode` (string)
    2 letter continent code of the continent this address falls in.
    Example: AF

  - `paymentSources.paymentSource.cardDescriptor.card.address.recipients` (array)
    The recipient at the address.

  - `paymentSources.paymentSource.cardDescriptor.card.address.regionCode` (string, required)
    Region code of the country/region of the address.
    Example: US

  - `paymentSources.paymentSource.cardDescriptor.card.address.regionName` (string)
    Region name of the country/region of the address.
    Example: America

  - `paymentSources.paymentSource.cardDescriptor.card.address.revision` (integer)
    Example: 1

  - `paymentSources.paymentSource.cardDescriptor.card.address.sortingCode` (string)
    Additional, country-specific, sorting code. This is not used
in most regions. Where it is used, the value is either a string like
"CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
alone, representing the "sector code" (Jamaica), "delivery area indicator"
(Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
    Example: Jamaica

  - `paymentSources.paymentSource.cardDescriptor.card.address.sublocality` (string)
    Sublocality of the address. This can be neighborhoods, boroughs, districts.

  - `paymentSources.paymentSource.cardDescriptor.card.address.timezone` (string)
    Time zone of the address.
    Example: America/Los_Angeles

  - `paymentSources.paymentSource.cardDescriptor.card.address.coordinates` (object)
    Latitude and Longitude for a Location

  - `paymentSources.paymentSource.cardDescriptor.card.address.coordinates.latitude` (number, required)
    Latitude of the Location
    Example: 77.1025

  - `paymentSources.paymentSource.cardDescriptor.card.address.coordinates.longitude` (number, required)
    Longitude of the Location
    Example: 28.7041

  - `paymentSources.paymentSource.cardDescriptor.card.number` (string, required)
    Card number
    Example: 4111111111111111

  - `paymentSources.paymentSource.cardDescriptor.card.expiryMonth` (integer)
    Expiry month
    Example: 1

  - `paymentSources.paymentSource.cardDescriptor.card.expiryYear` (integer)
    Expiry year
    Example: 2010

  - `paymentSources.paymentSource.cardDescriptor.card.cvv` (string)
    Card cvv number
    Example: 012

  - `paymentSources.paymentSource.cardDescriptor.card.label` (string)
    Card Label
    Example: Label amex

  - `paymentSources.paymentSource.cardDescriptor.card.currency` (string)
    Native currency of the card.
    Example: USD

  - `paymentSources.paymentSource.cardDescriptor.card.externalId` (string)
    Spotnana partner card id.
    Example: bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40

  - `paymentSources.paymentSource.cardDescriptor.card.vaultId` (string)
    ID of the vault used for creating the card.
    Example: 34d536b6-f8ff-11eb-9a61-0242ac180002

  - `paymentSources.paymentSource.cardDescriptor.card.expiry` (object)
    Contains the expiry of a Card.

  - `paymentSources.paymentSource.cardDescriptor.card.expiry.tokenizedExpiry` (object)
    Contains the tokenized expiry of a Card.

  - `paymentSources.paymentSource.cardDescriptor.card.expiry.tokenizedExpiry.expiryMonth` (string, required)
    Tokenized Expiry month
    Example: KvAuPANQWCpjwRQxcC8EXg==

  - `paymentSources.paymentSource.cardDescriptor.card.expiry.tokenizedExpiry.expiryYear` (string, required)
    Tokenized Expiry year
    Example: fPBm0OWrKwPyIrCVcbg4cA==

  - `paymentSources.paymentSource.cardDescriptor.card.expiry.expiry` (object)
    Contains the expiry of a Card.

  - `paymentSources.paymentSource.cardDescriptor.card.expiry.expiry.expiryMonth` (integer, required)
    Expiry month
    Example: 1

  - `paymentSources.paymentSource.cardDescriptor.card.expiry.expiry.expiryYear` (integer, required)
    Expiry year
    Example: 2010

  - `paymentSources.paymentSource.cardDescriptor.card.ownershipLabel` (string)
    Ownership label of the card whether it is personal, corporate or central.
    Enum: "CORPORATE", "PERSONAL", "CENTRAL"

  - `paymentSources.paymentSource.cardDescriptor.isCentrallyBilled` (boolean)
    Whether card is centrally billed or not.

  - `paymentSources.paymentSource.cardDescriptor.isLodgeCard` (boolean)
    Whether card is a lodge card or not.

  - `paymentSources.paymentSource.rewardsProgramDescriptor` (object)
    Descriptor for Rewards Program.

  - `paymentSources.paymentSource.rewardsProgramDescriptor.type` (string)
    Type of Rewards Program
    Enum: "BREX_POINTS", "QANTAS_POINTS"

  - `paymentSources.paymentSource.virtualCardDescriptor` (object)
    Descriptor for virtual card.

  - `paymentSources.paymentSource.virtualCardDescriptor.vendor` (string)
    Type of Virtual card vendor
    Enum: "CONFERMA"

  - `paymentSources.paymentSource.virtualCardDescriptor.reportingAttributes` (array)
    List of ReportingAttributes

  - `paymentSources.paymentSource.virtualCardDescriptor.reportingAttributes.type` (string)
    Type of ReportingAttribute
    Enum: "EMPLOYEE_ID", "COST_CENTER_ID", "LEGAL_ENTITY_ID"

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata` (object)
    Metadata corresponding to the VirtualCardDescriptor.

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata` (object, required)
    conferma card descriptor.

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.cardPoolClientId` (string, required)
    card pool client Id.
    Example: test-id

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.cardLabel` (string)
    Name/Label for visual identification of the card.
    Example: cardCompany

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstructionIds` (array)
    List of payment instruction ids

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstructionIds.id` (string, required)
    Id corresponding to the payment instruction
    Example: f49d00fe-1eda-4304-ba79-a980f565281d

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstructionIds.travelType` (string, required)
    Travel Type
    Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL"

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstruction` (object)
    Payment instruction configuration

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstruction.bufferPercentage` (number)
    Buffer percentage for the payment instruction
    Example: 20

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstruction.dailyBuffer` (object)
    Per day buffer amount for the payment instruction

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstruction.dailyBuffer.amount` (number)
    Amount
    Example: 510

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstruction.dailyBuffer.currencyCode` (string)
    The 3-letter currency code defined in ISO 4217.
    Example: GBP

  - `paymentSources.paymentSource.virtualCardDescriptor.metadata.confermaMetadata.paymentInstruction.supplierText` (string)
    Supplier text instruction to be sent to the supplier
    Example: Supplier Text

  - `paymentSources.paymentSource.customPaymentMethodDescriptor` (object)
    Metadata for Custom Payment Method payment source.

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.brexBudget` (object, required)
    Metadata for Brex Budget payment source.

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.brexBudget.budgetName` (string)
    Budget name.
    Example: Travel Budget

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.brexBudget.cardNumber` (string)
    Card number of the budget.
    Example: 1234567812345678123

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.brexBudget.budgetRemainingBalanceFormatted` (string)
    Remaining balance of the budget formatted with currency.
    Example: $90,000.00

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.amadeusCheckout` (object, required)
    Metadata for Amadeus Checkout payment source.

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.amadeusCheckout.paymentPageId` (string)
    Payment page Id.
    Example: aslkdjalwjd

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.amadeusCheckout.splitPaymentAllowed` (boolean, required)
    True if split payment is allowed in Amadeus Checkout, false otherwise
    Example: true

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.amadeusCheckout.splitOptionsByCardCompany` (array)

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.amadeusCheckout.splitOptionsByCardCompany.cardCompanyCode` (string, required)
    Card company code which allows splitting the payment
    Example: VI, TP

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.amadeusCheckout.splitOptionsByCardCompany.splitWithCardCompanyCodes` (array)

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.qantasTravelFund` (object, required)
    Metadata for Qantas Travel Fund payment source.

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.qantasTravelFund.label` (string, required)
    Label for Qantas Travel Fund payment source.
    Example: QANTAS_TRAVEL_FUND

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.dpanMetadata` (object, required)
    Metadata for DPAN payment source.

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.dpanMetadata.label` (string, required)
    Label for DPAN payment source.
    Example: AMEX-DPAN

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.virtualPaymentMetadata` (object, required)
    Metadata for custom virtual payment source.

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.virtualPaymentMetadata.label` (string, required)
    Label for custom virtual payment source.
    Example: Custom payment card

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.virtualPaymentMetadata.provider` (string)
    How this virtual payment source is integrated with Spotnana. EXTERNAL marks a virtual card deployed outside Spotnana (label-only, no card operations).
    Enum: "BCD", "EXTERNAL"

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.flightPassMetadata` (object, required)
    Metadata for FlightPass payment source.

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.flightPassMetadata.label` (string, required)
    Label for FlightPass payment source.
    Example: Air Canada Flight Pass

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.noPrepaymentMetadata` (object, required)
    Metadata for No Prepayment payment source (car bookings on no-guarantee rates).

  - `paymentSources.paymentSource.customPaymentMethodDescriptor.noPrepaymentMetadata.label` (string, required)
    Label for No Prepayment payment source.
    Example: No Prepayment

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor` (object)
    Descriptor for vendor program payment.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorInfo` (object)
    Name/ID etc. of the vendor.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorInfo.vendorId` (string, required)
    ID of the vendor.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorInfo.vendorName` (string, required)
    Name of the vendor.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata` (object, required)
    Vendor program payment specific metadata.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.directBilling` (object)
    Descriptor for direct billing details.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.directBilling.directBillingCode` (string)
    Direct billing code provided by the vendor.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.directBilling.corporateDiscountCode` (string)
    Corporate discount code provided by the vendor.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.directBilling.label` (string)
    Label for the Direct Billing Payment method.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram` (object)
    Descriptor for Airline program details.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineInfo` (array, required)
    Eligible airlines' information list.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineInfo.carrierCode` (string, required)
    Unique code for the Airline
    Example: AA

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineInfo.airlineName` (string, required)
    Full Name of the Airline
    Example: American Airlines

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineInfo.isPresentInPreferredVendors` (boolean)
    Whether the airline is present in preferred vendor list. This is an optional field which gets populated only in the preferred vendor autocomplete API.
    Example: true

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineProgramMetadata` (object, required)

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineProgramMetadata.uatpMetadata` (object)
    Details for UATP Metadata.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineProgramMetadata.uaPassPlusMetadata` (object)
    Details for UAPassPlus Metadata.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineProgramMetadata.dinersTacMetadata` (object)
    Details for Diners TAC Metadata.

  - `paymentSources.paymentSource.vendorProgramPaymentDescriptor.vendorProgramPaymentMetadata.airlineProgram.airlineProgramMetadata.lodgeCardMetadata` (object)
    Details for Lodge Card.

  - `paymentSources.paymentSource.delayedInvoicingDescriptor` (object)
    Descriptor for delayed invoicing.

  - `paymentSources.paymentSource.delayedInvoicingDescriptor.label` (string, required)
    Label for delayed invoicing payment method
    Example: Delayed Invoicing for India LE

  - `paymentSources.paymentSource.unusedCreditDescriptor` (object)
    Descriptor for unused credits.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo` (object, required)
    Information regarding an unused credit.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.sourcePnr` (string)
    PNR number corresponding to third party through which booking was made.
    Example: MC5ONS

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.spotnanaPnr` (string)
    Spotnana pnr ID.
    Example: 2345678

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.ticketNumber` (string)
    Ticket number for the ticket that was converted into an unused credit.
    Example: 5267779139217

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.airlineCode` (string)
    2 letter airline code of the airline associated with this unused credit.
    Example: AA

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.airlineInfo` (object)
    Detailed information about the airline.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.airlineInfo.airlineCode` (string, required)
    IATA code for airline.
    Example: AA

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.airlineInfo.airlineName` (string)
    Airline name
    Example: American Airlines

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare` (object)
    Money object containing details such as the amount, the currency code, and the converted amount.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.amount` (number, required)
    The numeric value for the amount of money.
    Example: 510

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.currencyCode` (string, required)
    The 3-letter currency code for the money amount (defined using ISO 4217 standard).
    Example: GBP

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.convertedAmount` (number)
    The converted currency and amount that has been converted (if a currency conversion has been requested).
For example, if the call requests that money be sent in a specified currency (because the frontend requested
the backend to send money in the user's preferred currency).
    Example: 715.42

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.convertedCurrency` (string)
    The 3-letter currency code for the converted currency (defined using ISO 4217 standard).
    Example: USD

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.otherCoinage` (array)
    List of the dollar amount in other coinage systems like reward points, cryptocurrency etc.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.otherCoinage.coinageCode` (string)
    Payment method
    Enum: "PAYMENT_METHOD_UNKNOWN", "CREDIT_CARD", "BREX_POINTS", "CASH", "QANTAS_POINTS", "VENDOR_PROGRAM_PAYMENT", "DELAYED_INVOICING", "FLIGHT_CREDITS", "QANTAS_TRAVEL_FUND", "CUSTOM_VIRTUAL_PAYMENT", "FLIGHT_PASS", "MISCELLANEOUS_CREDIT_ORDER", "NO_PREPAYMENT", "DELAYED_PAYMENT"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.otherCoinage.amount` (number)
    Example: 1000

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.otherCoinage.conversionRate` (number)
    1 coin in this system equals to how many currency value
    Example: 0.01

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.otherCoinage.preferredCurrencyConversionRate` (number)
    1 coin in this system equals to how many currency value
    Example: 0.01

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.totalFare.otherCoinage.otherCoinageMetadata` (any)
    Metadata to store additional information related to the payment method

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.issueDate` (object)
    ISO8601 UTC Date Time

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.issueDate.iso8601` (string, required)
    Example: 2017-07-21T17:32Z

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.segmentsAvailable` (string)
    Whether all segments are unused or some have already been used.
    Enum: "UNKNOWN", "ALL_OPEN", "PARTIAL", "OTHER"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.passengerName` (object)
    Full name containing first, middle, last (family) names, and suffix.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.passengerName.family1` (string, required)
    Last (family) name.
    Example: Gandas

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.passengerName.family2` (string)
    Example: FamilyTwo

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.passengerName.given` (string, required)
    First (given) name.
    Example: Vichitr

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.passengerName.middle` (string)
    Middle name.
    Example: Kumar

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.passengerName.suffix` (string)
    Suffix for name
    Enum: "NAME_SUFFIX_UNKNOWN", "SR", "JR", "MD", "PHD", "II", "III", "IV", "DO", "ATTY", "V", "VI", "ESQ", "DC", "DDS", "VM", "JD", "SECOND", "THIRD"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.passengerName.preferred` (string)
    Informal preferred name added by traveler. This is not used on any PNR or tickets
    Example: Don

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.departureCountry` (string)
    3 letter country code of the departure country associated with the original ticket.
    Example: USA

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.arrivalCountry` (string)
    3 letter country code of the arrival country associated with the original ticket.
    Example: USA

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.ticketType` (string)
    Type of credit.
    Enum: "TICKET_TYPE_UNKNOWN", "ETICKET", "MCO", "NON_GDS"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.pcc` (string)
    PCC the credit was issued on.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.status` (string)
    Status of the credit.
    Enum: "STATUS_UNKNOWN", "OPEN", "USED", "RESERVED"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.source` (string)
    Enum: "UNKNOWN_SOURCE", "SABRE", "TRAVEL_FUSION", "AVIA", "NDC", "TRAINLINE", "ATPCO_NDC", "FARELOGIX_NDC", "OFFLINE", "CONNEXUS", "ROUTEHAPPY", "AMADEUS", "GIATA", "QBR", "BCD", "QANTAS_HOTELS", "SOUTHWEST", "EXPEDIA", "HOTEL_HUB", "MARRIOTT", "CLEARTRIP", "KYTE", "GROUNDSPAN", "SABRE_NDC", "BOOKING_COM", "CARTRAWLER", "PREMIER_INN", "TRAVELODGE", "ENTERPRISE", "HYATT", "HILTON", "EUROSTAR", "NATIONAL", "ALAMO", "AVIS", "BUDGET", "HERTZ", "DOLLAR", "THRIFTY", "FIREFLY", "AMADEUS_NDC", "SIXT"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.tripId` (string)
    Trip ID that contains the unused credit
    Example: 1234567

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.redeemVia` (string)
    Credit redemption method.
If the value contains `CONTACT_AGENT`, then the agent must book the ticket and redeem the credits on behalf of the traveler.
    Enum: "REDEEM_VIA_OBT", "CONTACT_AGENT"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.sourceOfTruth` (string)
    The system that owns the credit.
    Enum: "SPOTNANA", "MANUAL_FORM", "MAGNATECH", "BCD", "OBT", "CWT"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.owningPcc` (string)
    PCC the PNR was created on.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.paymentSourceId` (string)
    Payment source ID associated with the credit.
    Example: edd5b835-8001-430c-98f8-fedeccebe4cf

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.creditUsageType` (string)
    Usage type of the credit.
    Enum: "CREDIT_USAGE_TYPE_UNKNOWN", "COMPANY", "PERSONAL"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.email` (string)
    Email of the passenger owning the unused credit.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.fopInfo` (object)
    Form of payment information associated with an unused credit.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.fopLabel` (string)
    The label associated with the FOP. This value can be empty if that particular FOP does not have any label.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.exchangeInfo` (object)
    Exchange information for unused credits.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.exchangeInfo.previousTicket` (string)
    Previous ticket number in case of exchanges.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.fopCardAccessType` (string)
    The card access type of the FOP associated with the unused credit.
    Enum: "CARD_ACCESS_CENTRAL", "CARD_ACCESS_PERSONAL", "CARD_ACCESS_CORPORATE"

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.legalEntityName` (string)
    The name of the legal entity associated with this unused credit.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.creditFareBreakdown` (object)
    Fare amount including base fare and tax.

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.creditFareBreakdown.taxBreakdown` (array)

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.creditFareBreakdown.taxBreakdown.taxCode` (string)
    Tax code
    Example: VAT

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.creditFareBreakdown.taxBreakdown.percentage` (number)
    Tax amount to total amount
    Example: 9

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.creditFareBreakdown.taxBreakdown.description` (string)
    Tax name or Tax Description
    Example: AIR TRAVELLERS SECURITY CHARGE

  - `paymentSources.paymentSource.unusedCreditDescriptor.unusedCreditInfo.countryCode` (string)
    Country code of the credit's Point-of-Sale market, derived from the credit's PCC.
    Example: US

  - `paymentSources.paymentSource.unusedCreditDescriptor.userId` (object, required)
    User identifier

  - `paymentSources.paymentSource.unusedCreditDescriptor.userId.id` (string, required)

  - `paymentSources.paymentSource.unusedCreditDescriptor.companyId` (object, required)
    Company ID

  - `paymentSources.paymentSource.unusedCreditDescriptor.companyId.id` (string, required)
    Example: f49d00fe-1eda-4304-ba79-a980f565281d

  - `paymentSources.paymentSource.cashDescriptor` (object)
    Descriptor for Cash.

  - `paymentSources.paymentSource.cashDescriptor.label` (string, required)
    Label for Cash payment.
    Example: Cash Payment for Amex TLS

  - `paymentSources.mapping` (object)

  - `paymentSources.mapping.accessType` (string)
    Access Type of the Payment Source being created.
    Enum: "CENTRALISED", "PERSONAL", "APPLICATION", "TMC", "ITINERARY", "EVENT", "EVENT_TEMPLATE"

  - `paymentSources.mapping.accessTypeEntityId` (string)
    Entity ID corresponding to the Access Type being created

  - `paymentSources.mapping.filter` (object)
    Metadata corresponding to the payment source.

  - `paymentSources.mapping.filter.legalEntityFilter` (object)
    LegalEntityFilter details.

  - `paymentSources.mapping.filter.legalEntityFilter.legalEntityIds` (array, required)
    Legal Entity id List

  - `paymentSources.mapping.filter.legalEntityFilter.legalEntityIds.id` (string, required)
    Example: fc1ccbce-8413-4fe9-b233-a324dfbe7421

  - `paymentSources.mapping.filter.companyFilter` (object)
    CompanyFilter details

  - `paymentSources.mapping.filter.companyFilter.companyIds` (array)
    Company id List

  - `paymentSources.mapping.filter.countryFilter` (object)
    CountryFilter details.

  - `paymentSources.mapping.filter.countryFilter.countryCodes` (array, required)
    country Codes List

  - `paymentSources.mapping.filter.tmcFilter` (object)
    TmcFilter details.

  - `paymentSources.mapping.filter.tmcFilter.showToTraveler` (boolean)
    If true, this TMC payment source is shown to travelers at checkout; otherwise it is TMC-internal.

  - `paymentSources.mapping.filter.personalFilter` (object)
    TmcFilter details.

  - `paymentSources.mapping.filter.personalFilter.managedTravelerAccess` (object)
    Settings for sharing this payment method with managed traveler profiles. Applicable for Arranger Roles.

  - `paymentSources.mapping.filter.personalFilter.managedTravelerAccess.enabled` (boolean, required)
    Indicates if this payment method can be used on the Traveler Profiles being managed by this User.

  - `paymentSources.mapping.filter.personalFilter.managedTravelerAccess.visibility` (object)
    Controls how this payment method is displayed on checkout for managed traveler profiles, applicable only if sharing is enabled.

  - `paymentSources.mapping.filter.personalFilter.managedTravelerAccess.visibility.showToTravelers` (boolean)
    If true, managed travelers can see this payment method when booking for themselves. If false, only the Travel Arranger can see it.

  - `paymentSources.mapping.filter.individualFilter` (object)
    IndividualFilter details.

  - `paymentSources.mapping.filter.individualFilter.ids` (array, required)
    List of user id

  - `paymentSources.mapping.filter.costCenterFilter` (object)
    CostCenterFilter details.

  - `paymentSources.mapping.filter.costCenterFilter.costCenterIds` (array, required)
    List of cost center ids

  - `paymentSources.mapping.filter.costCenterFilter.costCenterIds.id` (string, required)
    Example: 731ccbca-0415-6fe1-d235-c324dfbe7423

  - `paymentSources.mapping.filter.departmentFilter` (object)
    DepartmentFilter details.

  - `paymentSources.mapping.filter.departmentFilter.departmentIds` (array, required)
    List of department ids

  - `paymentSources.mapping.filter.departmentFilter.departmentIds.id` (string, required)
    Example: 631ccbcf-9414-5fe0-c234-b324dfbe7422

  - `paymentSources.mapping.filter.itineraryFilter` (object)
    Itinerary Filter details

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo` (object, required)
    Details of the itinerary

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.airItineraryId` (object)
    Air itinerary id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.airItineraryId.ancillaryResponseId` (string)
    Ancillary response id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.airItineraryId.seatMapResponseId` (string)
    Seat map response id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.airItineraryId.initiateBookingResponseId` (string)
    Initiate Booking Response id.

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.hotelItineraryId` (object)
    Hotel itinerary id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.hotelItineraryId.priceValidateKey` (string, required)
    Price Validate key

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.carItineraryId` (object)
    Car itinerary id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.carItineraryId.searchId` (string, required)
    Search id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.carItineraryId.carId` (string, required)
    Selected car option

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.railItineraryId` (object)
    Rail itinerary id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.railItineraryId.searchKey` (string, required)
    Search key

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.limoItineraryId` (object)
    Limo itinerary id

  - `paymentSources.mapping.filter.itineraryFilter.itineraryInfo.limoItineraryId.limoId` (string, required)
    Selected Limo option

  - `paymentSources.mapping.filter.eventFilter` (object)
    Payment EventFilter details.

  - `paymentSources.mapping.filter.eventFilter.eventIds` (array, required)
    Event ids List

  - `paymentSources.mapping.travelType` (array)
    Applicable payment source travel type.

  - `paymentSources.mapping.travelType.isRequired` (boolean)
    Whether this is a required payment source for this travel type.

  - `paymentSources.mapping.travelType.allowPostPaidBookings` (boolean)
    Whether post paid bookings are allowed for this travel type.

  - `paymentSources.mapping.travelType.metadata` (object)

  - `paymentSources.mapping.travelType.metadata.travelType` (string, required)
    Travel Type for the metadata. For cars it's CAR.
    Enum: "CAR"

  - `paymentSources.mapping.travelType.metadata.vendors` (array)
    Vendors for which the payment source is applicable.

  - `paymentSources.mapping.travelType.metadata.vendors.code` (string, required)
    Vendor code
    Example: ZE

  - `paymentSources.mapping.travelType.metadata.vendors.name` (string)
    Vendor name
    Example: HERTZ

  - `paymentSources.mapping.travelTypes` (array)
    Applicable payment source travel types

  - `paymentSources.mapping.spendTypes` (array)
    Applicable spend types for payment source other than travel

  - `paymentSources.mapping.spendTypes.spendType` (string, required)
    Spend type
    Enum: "SERVICE_FEE"

  - `paymentSources.mapping.paymentSourceAttributes` (object)
    Attributes applicable for the payment source.

  - `paymentSources.mapping.paymentSourceAttributes.guestTravelAllowed` (boolean)
    Whether guest travel is allowed.

  - `paymentSources.mapping.paymentSourceAttributes.roleTypes` (array)
    Role types which have access to the payment source

  - `paymentSources.mapping.paymentSourceAttributes.includedPersonas` (array)
    If specified, list of traveler personas which have access to the payment source.

  - `paymentSources.mapping.paymentSourceAttributes.excludedPersonas` (array)
    List of traveler personas which don't have access to the payment source.

  - `paymentSources.mapping.paymentSourceAttributes.allowedThirdPartySources` (array)
    List of 3rd party sources supported for the payment source.

  - `paymentSources.mapping.paymentSourceAttributes.allowedTripTypes` (array)
    List of trip types supported for the payment source.

  - `paymentSources.mapping.paymentSourceAttributes.priority` (integer)
    Priority of payment source used to order while listing payment sources. Priority is a positive number.
    Example: 2

  - `paymentSources.mapping.paymentSourceAttributes.workerType` (array)
    If specified, list of traveler worker types which have access to the payment source.

  - `paymentSources.mapping.paymentSourceAttributes.supplierPaymentTypes` (array)
    Forms of payment accepted by the supplier, for which this payment source can be used. When absent or empty, the payment source is not restricted by supplier form of payment.

  - `paymentSources.mapping.accessTypeAttributes` (object)
    Attributes applicable to the payment source for specific Access Type.

  - `paymentSources.mapping.accessTypeAttributes.travelTypeFilter` (object)
    Filter for selecting payment sources according to different types of travel.

  - `paymentSources.mapping.accessTypeAttributes.travelTypeFilter.travelTypes` (array)
    Applicable travel types for Payment Source.

  - `paymentSources.status` (string)
    Status of the Payment Source.
    Enum: "ACTIVE", "INCOMPLETE", "TEMPORARY_READY", "TEMPORARY_USED", "TEMPORARY_EXPIRED", "TEMPORARY_INCOMPLETE"

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

## Response 404:

  - `404` (unknown)
    The specified resource was not found.

## Response 404 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

