Skip to content

Get unused credits for a company

Request

Returns the list of company unused credits which can be used by any employees of the company.

Security
Bearer
Bodyapplication/jsonrequired
companyIdobject
companyCreditFilterobject(CompanyCreditFilter)

Filter for fetching company credits.

offsetinteger, >= 0
Example:0
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v3/air/company-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
companyFopLabelsArray of strings

List of distinct FOP labels for company credits

Example:
[ "Company Central Card", "Corporate Amex" ]
companyPccsArray of strings

List of distinct PCCs for company credits

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

List of distinct legal entity names for company credits

supportedAirlinesArray of objects(SupportedAirline)

List of airlines that support unused credit transfers

Response
{ "unusedCreditInfos": [ { … } ], "paginationParams": { "offset": 0, "totalRecords": 100 }, "companyFopLabels": [ "Company Central Card", "Corporate Amex" ], "companyPccs": [ "AK5L", "BE6C" ], "companyLegalEntityNames": [ "string" ], "supportedAirlines": [ { … } ] }