API methods

Method: order_confirm ( Conformation of order )

countrycitystationdiscountroutes_dayroutesorder_neworder_confirmorder_cancelorder_ticket_returnorder_ticket_cancelorder_restoreorder_infoorder_stat
Confirms the order of passengers after the payment is received
For the work with this method the API access key is required.

For example:


Acceptable parameters:

KeyTypeDescription
keycharAPI access key
hashcharHash key of order

Return values:

KeyTypeDescription
statusbooleanStatus of fulfillment of operation ( 1 – fulfilled, 0 – not fulfilled )
errorintCode of error ( 0 – no mistake, 1 – incorrect API access key, 301 – order with the specified hash key is not found )