Amadeus · Schema

B2bWallet

b2b wallet

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
cardId string card identifier
cardUsageName string card usage name
cardFriendlyName string card name
reportingData array
virtualCreditCardDetails object detail information of the virtual card
flightOfferIds array Id of the concern flightOffers
View JSON Schema on GitHub

JSON Schema

flight-create-orders-b2b-wallet-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-create-orders-b2b-wallet-schema.json",
  "title": "B2bWallet",
  "description": "b2b wallet",
  "type": "object",
  "properties": {
    "cardId": {
      "readOnly": true,
      "description": "card identifier",
      "type": "string",
      "example": "1245365895336"
    },
    "cardUsageName": {
      "description": "card usage name",
      "type": "string",
      "example": "Sample Name"
    },
    "cardFriendlyName": {
      "description": "card name",
      "type": "string",
      "example": "CB1",
      "pattern": "[a-zA-Z0-9]{1,35}"
    },
    "reportingData": {
      "type": "array",
      "title": "reportingData",
      "items": {
        "title": "reportingData",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "reconcil1"
          },
          "value": {
            "type": "string",
            "example": "data1"
          }
        }
      }
    },
    "virtualCreditCardDetails": {
      "description": "detail information of the virtual card",
      "allOf": [
        {
          "title": "creditCardCommon",
          "type": "object",
          "description": "credit card common attribute",
          "properties": {
            "brand": {
              "$ref": "#/definitions/CreditCardBrand"
            },
            "holder": {
              "description": "card holder as on the card",
              "type": "string",
              "example": "MR DUPON DAMIEN"
            },
            "number": {
              "description": "card number",
              "type": "string",
              "example": "4012999999999999",
              "pattern": "[a-zA-Z0-9]{1,35}"
            },
            "expiryDate": {
              "description": "credit card expiration date following [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) (YYYY-MM format, e.g. 2012-08)",
              "type": "string",
              "example": "2021-08"
            }
          }
        },
        {
          "description": "elementaryPrice",
          "type": "object",
          "properties": {
            "amount": {
              "type": "string",
              "description": "Amount of the fare. could be alpha numeric. Ex- 500.20 or 514.13A, 'A'signifies additional collection.",
              "example": "199.50"
            },
            "currencyCode": {
              "type": "string",
              "description": "Currency type of the fare.",
              "example": "EUR"
            }
          }
        }
      ]
    },
    "flightOfferIds": {
      "description": "Id of the concern flightOffers",
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "type": "string"
      },
      "example": "1"
    }
  }
}