# Confirm Reservation

## POST /reservations/{bookingReferenceId}/confirmation

> Confirm a pending reservation by providing guest details and payment information. This endpoint finalizes the booking process, transforming a temporary hold into a confirmed reservation.\
> \
> \*\*Payment Methods:\*\*\
> \- \`CreditCard\`: Standard credit card payment.\
> \- \`VirtualCreditCard\` (VCC): Virtual card issued for the booking. VCC details include activation/deactivation dates, currency, and balance.\
> \
> \*\*Credit Card Validation:\*\*\
> \- The card type provided must match one of the property's accepted card types\
> \- Invalid or expired cards will result in a 400 error\
> \
> \*\*Important Notes:\*\*\
> \- Pending reservations expire after the time specified in \`expiresInMinutes\` from the pending reservation response\
> \- Attempting to confirm an expired reservation will result in a 404 error\
> \- Room availability is re-validated during confirmation to ensure inventory is still available\
> \- Guest information provided during confirmation cannot be empty for required fields

```json
{"openapi":"3.0.0","info":{"title":"Channels Plus Channel API","version":"0.0.1"},"paths":{"/reservations/{bookingReferenceId}/confirmation":{"post":{"operationId":"confirmReservation","description":"Confirm a pending reservation by providing guest details and payment information. This endpoint finalizes the booking process, transforming a temporary hold into a confirmed reservation.\n\n**Payment Methods:**\n- `CreditCard`: Standard credit card payment.\n- `VirtualCreditCard` (VCC): Virtual card issued for the booking. VCC details include activation/deactivation dates, currency, and balance.\n\n**Credit Card Validation:**\n- The card type provided must match one of the property's accepted card types\n- Invalid or expired cards will result in a 400 error\n\n**Important Notes:**\n- Pending reservations expire after the time specified in `expiresInMinutes` from the pending reservation response\n- Attempting to confirm an expired reservation will result in a 404 error\n- Room availability is re-validated during confirmation to ensure inventory is still available\n- Guest information provided during confirmation cannot be empty for required fields","parameters":[{"$ref":"#/components/parameters/SmApiId"},{"$ref":"#/components/parameters/SmApiKey"},{"name":"bookingReferenceId","description":"The unique identifier of the pending reservation to be confirmed","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"paymentMethod":{"type":"string","enum":["CreditCard","VirtualCreditCard"],"description":"The method of payment for the reservation"},"cardNumber":{"type":"integer","description":"The full number of the credit card or virtual credit card"},"cardholderName":{"type":"string","description":"The name of the cardholder as it appears on the card"},"cardExpiry":{"type":"string","pattern":"^\\d{2}\\/\\d{4}$","description":"The expiry date of the card in MM/YYYY format"},"cardType":{"type":"string","enum":["AX","DN","DS","JC","MC","CU","VI"],"description":"The type of credit card (AX=American Express, DN=Diners, DS=Discover, JC=JCB, MC=Mastercard, CU=China UnionPay, VI=Visa)"},"cardCvv":{"type":"string","pattern":"^\\d{3,4}$","description":"The Card Verification Value (CVV) of the credit card"},"vccActivationDateTime":{"type":"string","format":"date-time","description":"VCC activation date/time. Expressed in ISO 8601 extended format. Date Format - YYYY-MM-DDThh:mm:ss<.sss>(+|-)hh:mm where <.sss> is optional and can be 1 to 3 digits."},"vccDeactivationDateTime":{"type":"string","format":"date-time","description":"VCC deactivation date/time. Expressed in ISO 8601 extended format. Date Format - YYYY-MM-DDThh:mm:ss<.sss>(+|-)hh:mm where <.sss> is optional and can be 1 to 3 digits."},"vccCurrency":{"type":"string","description":"The currency of the Virtual Credit Card (if applicable)"},"vccBalance":{"type":"number","description":"The balance available on the Virtual Credit Card (if applicable)"},"guestTitle":{"type":"string","description":"The title of the primary guest (e.g., Mr., Mrs., Ms., Dr.)"},"guestFirstName":{"type":"string","description":"The first name of the primary guest"},"guestLastName":{"type":"string","description":"The last name of the primary guest"},"guestEmail":{"type":"string","description":"The email address of the primary guest"},"guestPhoneNumber":{"type":"string","description":"The phone number of the primary guest"},"guestAddress":{"type":"string","nullable":true,"description":"The street address of the primary guest (optional)"},"guestCity":{"type":"string","nullable":true,"description":"The city of residence for the primary guest (optional)"},"guestState":{"type":"string","nullable":true,"description":"The state or region of residence for the primary guest (optional)"},"guestPostcode":{"type":"string","nullable":true,"description":"The postal or zip code of the primary guest (optional)"},"guestCountry":{"type":"string","nullable":true,"description":"The country of residence for the primary guest (optional)"},"guestRemarks":{"type":"string","nullable":true,"description":"Any additional remarks or special requests from the primary guest (optional)"},"rooms":{"type":"array","description":"An array of rooms in the reservation, each with its guest details","items":{"type":"object","additionalProperties":false,"properties":{"roomUuid":{"type":"string","minLength":1,"maxLength":36,"description":"The unique identifier of the room in the reservation"},"guestTitle":{"type":"string","description":"The title of the guest for this specific room"},"guestFirstName":{"type":"string","description":"The first name of the guest for this specific room"},"guestLastName":{"type":"string","description":"The last name of the guest for this specific room"},"guestRemarks":{"type":"string","nullable":true,"description":"Any additional remarks or special requests for this specific room (optional)"}},"required":["roomUuid","guestTitle","guestFirstName","guestLastName"]},"minItems":1,"maxItems":10}},"required":["paymentMethod","cardNumber","cardholderName","cardExpiry","cardType","cardCvv","guestTitle","guestFirstName","guestLastName","guestPhoneNumber","guestEmail","rooms"]}}}},"responses":{"200":{"description":"Successful response. The reservation has been confirmed successfully.","headers":{}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/ServerError"}}}}},"components":{"parameters":{"SmApiId":{"name":"x-sm-api-id","description":"The api id for channel","required":true,"in":"header","schema":{"type":"string"}},"SmApiKey":{"name":"x-sm-api-key","description":"The api key for channel","required":true,"in":"header","schema":{"type":"string"}}},"responses":{"BadRequest":{"description":"Invalid request","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"The specified resource was not found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ServerError":{"description":"Unexpected error occurred","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","required":["errors"],"properties":{"errors":{"minItems":1,"type":"array","description":"An array of error objects, for most errors, this array would only contain one error object. An errors array must contain at least one error object.","items":{"type":"object","required":["code"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"meta":{"type":"object"}}}}}}}}}
```

{% hint style="warning" %}
If using a Virtual Credit Card you must adhere to the following rules:

* VCC Activation Date:
  * Must be on or before the last acceptable cancellation date
  * If the reservation is non refundable, must be on or before the booking date
  * Note: The last acceptable cancellation date is calculated by CheckinDate minus freeCancellationUntilDays
* VCC Deactivation Date:
  * Must be at least 7 days after checkout date
    {% endhint %}

{% hint style="success" icon="sparkles" %}

## Still have questions?

Use the <i class="fa-gitbook-assistant">:gitbook-assistant:</i> **Ask** button at the top of the page to chat with our AI assistant — it can help you navigate the guide, understand requirements, and troubleshoot issues.

If you need more support, visit [Integration Support](/integration-support/integration-support.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.siteminder.com/channels-plus-api/reference/confirm-reservation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
