ETS API
  1. AVIA
ETS API
  • Try it and Run in ApiDog
  • AVIA API
  • AVIA Flows example
  • HOTELS API
  • AVIA
    • 1 REQ B2B Login
      POST
    • 1 REQ B2B Login Token
      POST
    • 1 REQ B2C Login
      GET
    • 2A Search Direct flight
      POST
    • 2B Search Connecting flight
      POST
    • 2C Search Round trip
      POST
    • 3 Schedule - Amadeus optional
      POST
    • 4 Offers request
      GET
    • 4B Smart Offer Request optional
      GET
    • 5 Documents types for offer
      GET
    • 6 Offer info UPD LATER
      GET
    • 7 Availability of Offer
      GET
    • 8 OPT Available Services
      GET
    • 9 OPT Select services
      POST
    • 10 Create Order
      POST
    • 11 Split Order
      PATCH
    • 12 Order payment
      POST
    • 13 Сheckout status
      GET
    • 14 Refund order
      GET
    • 15 Get order info
      GET
    • 16 Print E-Tiket
      GET
    • 17 Receiving a cancellation fee
      GET
    • 18 Cancel Order
      GET
    • 19 Get airports
      GET
    • 20 Get cities
      GET
    • 21 Get countries
      GET
  • HOTELS
    • REQUIRED
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Destination
      • 2 REQ Search
      • 3 REQ Receiving found hotels
      • 4 REQ Getting a Hotel Offer
      • 5 REQ Create order
      • 6 REQ Cancel order
    • OPTIONAL
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Search
      • 3 OPT Destination point info
      • 4 OPT List of popular destinations Copy
      • 5 OPT List of filtered destinations
      • 6 OPT Group guide
      • 7 OPT Getting information on possible hotels
      • 8 OPT Getting the list of currencies
      • 9 REQ Receiving found hotels
      • 10 REQ Getting a Hotel Offer
      • 11 OPT Cancel-policies
      • 12 OPT Account number and info
      • 13 OPT Receiving information on the hotel offer
      • 14 OPT Receive detailed information about the cost of an offer
      • 15 REQ Create order
      • 16 OPT Receive hotel services
  1. AVIA

12 Order payment

POST
{{AVIA_URL}}/api/air/orders/{{order_id}}/payment

Create Payment for Air Order#

This endpoint allows the client to make a payment for a specific air order.

Request Body#

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.
Example:
{
  "fop_type": "cash",
  "currency": "RUB",
  "total_amount": "132933.7"
}

Response#

status (string): The status of the payment request.
payload.status (string): The status of the payment transaction.
Example Response:
{
  "status": "ok",
  "payload": {
    "status": "ok"
  }
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢2008 Order payment
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
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"
}'
Response Response Example
{
    "status": "ok",
    "payload": {
        "status": "ok"
    }
}
Modified at 2025-08-18 09:39:33
Previous
11 Split Order
Next
13 Сheckout status
Built with