This article explains how to integrate Windcave into your online booking module, allowing you to either take payment at the time of booking or merely register the customer’s card for future charges. We offer an integration method that doesn't require you to integrate directly with Windcave, allowing you to manage the booking and payment process all within the RCM API.
Parameter
|
Value
|
reservationref
|
Booking reference code returned from the "booking" method.
|
transactiontype
|
The type of transaction to create: "purchase" for a payment, "validate" to register/save the card for future transactions.
|
amount
|
The payment amount or "0" for a validate transaction.
|
returnurl
|
The URL on your website that Windcave will redirect to after the transaction is completed.
|
Embed the redirect URL in an iframe on your confirmation or checkout page:
Windcave will redirect to the return URL provided in the "createdpspayment" call.
Parameter
|
Value
|
reservationref
|
The booking reference code returned from the booking method call.
|
result
|
The Windcave result from the redirect query parameter.
|
Parameter | Value |
reservationref | Booking reference code returned from booking method. |
amount | Payment amount. |
success | Indicate if payment was successful. |
paytype | Payment type, like Visa or Mastercard. |
paydate | Payment date. |
supplierid | Please email support@rentalcarmanager.com to confirm what your supplierid is. |
transactid | The RebillingToken value returned by the getdpspayment method. |
dpstxnref | The TransactionId value returned by the getdpspayment method. |
cardholder | The cardholder’s name returned by the getdpspayment method. |
paysource | Optional Payment Source. E.g. "Payment from website.com." |
cardnumber | The masked card number returned by the getdpspayment method. |
cardexpiry | The card expiry returned by getdpspayment in the format of “MM/YY”. |
transtype | The transaction type, in this case “Payment”. |
merchfeeid | Optional Merchant Fee ID corresponding to a Merchant Fee ID setup within the system. |
payscenario | Payment scenario when calling this method, possible values are: 1= at time of original booking (default), 2=convertquote, 3=prehire e.g. editbooking. |
emailoption | Email option, 0=never send email, 1=default behaviour, 2=always send email. |
{"method": "confirmpayment","reservationref": "43F355C1223","amount": 500,"success": true,"paytype": "Visa","paydate": "01/01/2026","supplierid": 0,"transactid": "0000030003321649","dpstxnref": "00000003021b18ac","cardnumber": "9969","cardexpiry": "01/25","cardholder": "John Doe","transtype": "Payment"}
Parameter | Value |
reservationref | Booking reference code returned from booking method |
paytype | Payment type, like Visa or Mastercard |
supplierid | Please email support@rentalcarmanager.com to confirm what your supplierid is. |
paysource | Optional payment source. E.g. "Payment from website.com." |
rebillingtoken | The RebillingToken returned by the getdpspayment method |
cardnumber | The masked card number returned by the getdpspayment method |
cardexpiry | The card expiry returned by getdpspayment in the format of “MM/YY”. |
cardholder | The cardholder’s name returned by the getdpspayment method. |
{"method": "rebillingtoken","reservationref": "43F355C1223","paytype": "Credit Card","supplierid": 0,"paysource": "Website","rebillingtoken": "0000030003321649","cardnumber": "9969","cardexpiry": "01/25","cardholder": "John Doe"}