Payment registration. In the response, the names of the formed documents for the order are sent. Dispatched immediately after booking an order in Nemo.travel
{
"method": "payment",
"apiVersion": "1.0",
"params": {
"type": "register",
"companyId": "XXX",
"transactionId": XXX,
"orderId": XXX,
"products": [
"ID_FLT_1", "ID_EXT_1"
],
"requestId": "f7a22af419a6411ecea88936c78d5647",
"sign": "5736906c69f404bcfd2ab4600bef68b5055bb3154dd1d1a33ca6d0c9618c59b7"
},
"data": {стандартный набор полей заказа}
}
Includes a set of elements depending on the called operations in the request:
{
"method": "payment",
"apiVersion": "1.0",
"params": {
"type": "register",
"companyId": "XXX",
"transactionId": XXX,
"requestId": "f7a22af419a6411ecea88936c78d5647"
},
"data": {
"success": true,
"documentsList": [
{
"type": "XXX",
"name": "XXX",
"transactionId": XXX,
"downloadUrl": "XXX"
},
{
"type": "XXX",
"name": "XXX",
"transactionId": XXX,
"downloadUrl": "XXX"
}
]
}
}