Skip to main content

Content Services Rail Book

1.0.1
Rail
Reservation
REST API
Try now

What is it?

This method is used to confirm payment for a given order which was “on hold” and issue tickets.

Why use it?

Use this method to finalize contracts between customers and rail vendors by confirming the payment for an order.

How it works?

  1. Use this endpoint to send a request to the Rail vendor system with the payment for a given order. Orders are placed "on hold" until this request confirms the payment.

  2. The order's status is changed to confirmed, and tickets are generated with a status of "issued".

Notes

  • Travel documents are available for each ticket. In order to receive them call the PUT /v1/rail/orders/{marketingCarrierCode}/{id}/travelDocuments method.
  • The payment itself is not part of this method. It is a separate process from the CSR API.
  • Order Cancel is no longer available. Instead, the Void method can be called to cancel tickets if the Rail vendor's business rules enable it.

How to use?

Method

POST /v1/rail/orders/{marketingCarrierCode}/{orderId}/salesContract

Request

Provide the payment details for a given order.

Response

No data is returned upon success. To review the current status of an order, refer to the GET /v1/rail/orders/{marketingCarrierCode}/{orderId} method.