Skip to content

Get transferable unused credits for a company

Request

Returns the list of transferable company unused credits which can be used by any employees of the company. The unused credits can be transferred to another traveler.

Security
Bearer
Bodyapplication/jsonrequired
companyIdobjectrequired
companyCreditFilterobject(CompanyCreditFilter)

Filter for fetching company credits.

offsetinteger, >= 0
Default:0
Example:0
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v3/air/company-transferable-unused-credits/list \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "companyId": {
      "id": "edd5b835-8001-430c-98f8-fedeccebe4cf"
    },
    "companyCreditFilter": {
      "supplier": "SABRE",
      "selectedAirlines": [
        "AA"
      ],
      "expiryDateRange": {
        "expiryDateStart": "2023-01-31",
        "expiryDateEnd": "2023-12-01"
      },
      "fopLabel": [
        "Company Central Card",
        "Personal Card"
      ],
      "pcc": "LA5K",
      "pccs": [
        "AK5L",
        "BE6C"
      ],
      "fopCardAccessType": [
        "CARD_ACCESS_CENTRAL"
      ],
      "legalEntityNames": [
        "string"
      ]
    },
    "offset": 0
  }'

Responses

OK

Bodyapplication/json
unusedCreditInfosArray of objects(UnusedCreditInfo)
paginationParamsobject
companyTransferableFopLabelsArray of strings

List of distinct FOP labels for company transferable credits

Example:
[ "Personal Visa", "Personal Mastercard" ]
companyTransferablePccsArray of strings

List of distinct PCCs for company transferable credits

Example:
[ "AK5L", "BE6C" ]
companyTransferableLegalEntityNamesArray of strings

List of distinct legal entity names for company transferable credits

supportedAirlinesArray of objects(SupportedAirline)

List of airlines that support unused credit transfers

Response
{ "unusedCreditInfos": [ { … } ], "paginationParams": { "offset": 0, "totalRecords": 100 }, "companyTransferableFopLabels": [ "Personal Visa", "Personal Mastercard" ], "companyTransferablePccs": [ "AK5L", "BE6C" ], "companyTransferableLegalEntityNames": [ "string" ], "supportedAirlines": [ { … } ] }