openapi: 3.1.0 info: title: Booking.com Car Rentals Accommodations Payments API description: The Booking.com Car Rentals API is part of the Demand API and provides endpoints specific to the car rental segment of the connected trip experience. Developers can use it to search for available car rentals, retrieve car details, look up depots and suppliers, and access depot review scores. The API enables affiliate partners to integrate Booking.com's car rental inventory into their own platforms, offering users the ability to find and book vehicles as part of their travel planning workflow. version: '3.1' contact: name: Booking.com Developer Support url: https://developers.booking.com/demand/docs termsOfService: https://www.booking.com/content/terms.html servers: - url: https://demandapi.booking.com/3.1 description: Production Server security: - bearerAuth: [] affiliateId: [] tags: - name: Payments description: Generic payment-related endpoints, including supported currencies and payment types. paths: /payments/currencies: post: operationId: getPaymentCurrencies summary: Get supported currencies description: Retrieves the list of currencies supported for payments on Booking.com, including currency codes and display information. tags: - Payments requestBody: required: true content: application/json: schema: type: object responses: '200': description: Currencies retrieved successfully content: application/json: schema: $ref: '#/components/schemas/CurrenciesResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' /payments/types: post: operationId: getPaymentTypes summary: Get payment types description: Retrieves the list of payment types supported on Booking.com, including credit cards and other payment methods. tags: - Payments requestBody: required: true content: application/json: schema: type: object responses: '200': description: Payment types retrieved successfully content: application/json: schema: $ref: '#/components/schemas/PaymentTypesResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' components: schemas: PaymentTypesResponse: type: object properties: result: type: array description: List of supported payment types items: type: object properties: payment_type_id: type: integer description: Payment type identifier name: type: string description: Payment type name CurrenciesResponse: type: object properties: result: type: array description: List of supported currencies items: type: object properties: currency_code: type: string description: ISO 4217 currency code name: type: string description: Currency display name ErrorResponse: type: object description: Standard error response properties: errors: type: array description: List of errors items: type: object properties: code: type: string description: Error code message: type: string description: Human-readable error message securitySchemes: bearerAuth: type: http scheme: bearer description: Bearer token authentication. Include your API key token in the Authorization header. affiliateId: type: apiKey in: header name: X-Affiliate-Id description: Your Booking.com Affiliate ID, required with every request. externalDocs: description: Booking.com Car Rentals API Documentation url: https://developers.booking.com/demand/docs/open-api/demand-api/cars