post https://api.aerocrs.com/v5/createPayment
This method will allow you to enter a payment to the booking.
ImportantYou must get the Token for your payment method from the airline.
Request parameters
| Parameter | Type | Description |
|---|---|---|
| bookingconfirmation | String* | bookingconfirmation as accepted on confirmBooking or getBooking |
| paymentmethodtoken | String* | Token received from AeroCRS support. Accounting -->Debit Types |
| amountpaid | Money* | Total amount paid |
| amountcurrency | String* | Currency as allowed by the company |
| paymentref | String | Payment reference number which will be shown to company and in receipt |
* Mandatory parameters
Response parameters
The method will response whether the payment was successful and the receipt link if so.
| Parameter | Type | Description |
|---|---|---|
| paymentreceived | Money | Amount received by the system in the currency of the company |
| receiptnumber | Number | Receipt number |
| receiptlink | Link | Receipt link to print to the customer if needed |
