It allows partners (who have security_token) to generate a link to the checkout form with the fields filled by performing a get-query with parameters. It is used for upselling transfers after selling an air ticket, hotel, etc. without being integrated.
The partner executes an API-request, indicating the client's data, information about the transfer, the number of passengers, the date/time of the transfer, and in return receives a URL to which the client can be redirected.
The client, following the link, gets to the filled checkout form on the Kiwitaxi website of the corresponding locale.If any parameter is not transferred, the corresponding field is not filled.
Security_token must be used for the request to be executed.
List of available parameters
Parameter;Description;Type;Required/ No
locale;locale (ru,en,de,fr,es)default=en;type=string;optional
transfer_id;transfer identifier;type=integer;required
date_start;date of transfer, if any (in "Y-m-d H:i:s" format);type=string;optional
return_date_start;date of return transfer, if any (in "Y-m-d H:i:s" format );type=string;optional
address_from;departure address;type=string;optional
address_to;destination address;type=string;optional
passenger_count;number of passengers, default 1;type=integer;optional
optional_services;array of add. options [$opt_service_type]=>$amount where $opt_service_type - symbolic code of add. service (CHR, CRDL, BSTR, ...) CHR - child seats, BSTR - booster, CRDL - infant seat, $amount - number of additional service items: number of child seats and boosters (default 0);—;—
return_transfer;checkbox for return transfer (default = no), if = yes, the following fields are added: date and time of return transfer;—;—
client_name;client's name and surname;type=string;optional
client_email;client's email;type=string;optional
phone;client's phone number;type=string;optional
comment;comment to booking;type=string;optional