openapi: 3.2.0 info: title: Payments Reservation Status API description: Retrieve payment and payout details for accommodation reservations, including partner payout information, breakdowns, bank transfer details, and VCC management. contact: name: Connectivity Team url: https://connect.booking.com email: connectivity@booking.com version: '1.0' servers: - url: https://payments-api.booking.com/ description: Test using live endpoint tags: - name: Reservation Status API description: Provides reservation status information with respect to a reservation ID. paths: /connectivity-payments/reservations/{reservation-id}/status: get: tags: - Reservation Status API summary: Get reservation status description: Provides status information for an accommodation reservation. operationId: getReservationStatusResponse parameters: - name: reservation-id in: path description: The unique identifier of the reservation. required: true schema: type: integer format: int64 - name: Authorization in: header description: Bearer token for authentication. required: true schema: type: string example: Bearer responses: '200': description: Successfully fetched information about the cc status associated with provided reservation id content: application/json: schema: $ref: '#/components/schemas/ReservationStatusResponse' '400': description: Invalid request payload. content: application/json: schema: $ref: '#/components/schemas/BadRequestErrorResponse' '401': description: Unauthorized. Missing or invalid authentication token. content: application/json: schema: $ref: '#/components/schemas/InvalidTokenResponse' '403': description: Access Denied! content: application/json: schema: $ref: '#/components/schemas/UnauthorizedRequestResponse' '410': description: Reservation cannot be processed because the checkout date is older than the allowed 18-months window. content: application/json: schema: $ref: '#/components/schemas/CheckoutDateTooOldErrorResponse' '429': description: You exceeded the rate limit. '500': description: The request failed with an internal server error. content: application/json: schema: $ref: '#/components/schemas/InternalServerErrorResponse' components: schemas: Warning: type: object description: Warning information properties: message: type: string description: Warning message example: string ReservationStatusData: type: object description: Reservation status information properties: reservationId: type: string description: Accommodation reservation identifier payoutType: type: string description: 'Type of payout: GROSS, NET, or UNKNOWN.' propertyId: type: string description: Property identifier CheckoutDateTooOldErrorResponse: type: object description: Response when the checkout date is older than the allowed 18-months window properties: meta: allOf: - $ref: '#/components/schemas/DefaultMeta' description: The meta data: type: object description: Data containing required information errors: type: array description: List of errors for the response items: $ref: '#/components/schemas/Error' warnings: type: array description: List of warnings for the response items: $ref: '#/components/schemas/Warning' UnauthorizedRequestResponse: type: object description: Response when the token is valid but does not have access to the requested resource. properties: meta: allOf: - $ref: '#/components/schemas/DefaultMeta' description: The meta data: type: object description: Data containing required information errors: type: array description: List of errors for the response items: $ref: '#/components/schemas/Error' warnings: type: array description: List of warnings for the response items: $ref: '#/components/schemas/Warning' Error: type: object description: Error response containing details about the error properties: description: type: string description: Description of the error message: type: string description: Error message status_code: type: integer format: int32 description: HTTP status code for the error InvalidTokenResponse: type: object description: Response when the authentication token is missing, invalid, or expired. properties: meta: $ref: '#/components/schemas/DefaultMeta' warnings: type: array description: List of warnings for the response maxItems: 0 items: {} errors: type: array description: List of errors for the response items: type: object properties: message: type: string description: Error message code: type: string description: Error code details: type: - string - 'null' description: Additional error details ReservationStatusResponse: type: object description: Response containing reservation status information properties: meta: allOf: - $ref: '#/components/schemas/DefaultMeta' description: Response metadata data: allOf: - $ref: '#/components/schemas/ReservationStatusData' description: Reservation status data errors: type: array maxItems: 0 items: {} warnings: type: array maxItems: 0 items: {} InternalServerErrorResponse: type: object description: Response when the request failed with an internal reason properties: meta: allOf: - $ref: '#/components/schemas/DefaultMeta' description: The meta data: type: object description: Data containing required information errors: type: array description: List of errors for the response items: $ref: '#/components/schemas/Error' warnings: type: array description: List of warnings for the response items: $ref: '#/components/schemas/Warning' DefaultMeta: type: object description: Metadata for the response properties: ruid: type: string description: Request unique identifier example: string BadRequestErrorResponse: type: object description: Response when the request doesn't have valid parameters properties: meta: allOf: - $ref: '#/components/schemas/DefaultMeta' description: The meta data: type: object description: Data containing required information errors: type: array description: List of errors for the response items: $ref: '#/components/schemas/Error' warnings: type: array description: List of warnings for the response items: $ref: '#/components/schemas/Warning' securitySchemes: bearerAuth: type: http scheme: bearer description: Bearer token for authentication. Use your API credentials to obtain a token. x-tagGroups: - name: API Endpoints tags: - Reservation payout details - Reservation breakdown - Bank transfer payout - VCC payout details, per accommodation reservation - VCCs to be charged - Refundable VCCs - Reservation Status API - name: Documentation tags: - About Try it