fop_type
(string): The form of payment used for the transaction.currency
(string): The currency in which the payment is made.total_amount
(string): The total amount of the payment.{
"fop_type": "cash",
"currency": "RUB",
"total_amount": "132933.7"
}
status
(string): The status of the payment request.payload.status
(string): The status of the payment transaction.{
"status": "ok",
"payload": {
"status": "ok"
}
}
curl --location -g --request POST 'https://stage-api.etm-system.ru/api/air/orders/{{order_id}}/payment' \
--header 'Accept: application/json' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d' \
--header 'Content-Type: application/json' \
--data-raw '// {
// "currency": "EUR",
// "fop_type": "cash",
// // "currency": "EUR",
// "total_amount": "21826"
// }
{
"currency": "RUB",
"fop_type": "cash",
"total_amount": "17665"
}'
{
"status": "ok",
"payload": {
"status": "ok"
}
}