Hermeseus Docs
Legacy docs

Visa orders

Order a visa for one or more travellers in one call, follow it through review and the embassy, and download the issued visa.

How an order runs

  1. You order. Each traveller's form is checked, the price is held on your wallet and the order is pending.
  2. We submit. Our team submits each application. The order becomes processing; stage tells you where it is.
  3. The visa is decided. Approved: the order is issued, the amount is taken from your wallet and the visa file is attached. Rejected: it is failed, the hold is released and reason says why.

Processing takes days (see the offer's processing_time). Poll the order; there are no webhooks yet. In the test environment orders are issued after about a minute with a sample visa, and nothing is charged.

Create an order

POST/v3/HAPI/visa/orders

Requires visa:write. Send an Idempotency-Key header so a retry does not order twice.

FieldTypeRequiredDescription
offer_idstringYesA vis_off_ id from quotes.
travelersarrayYes1 to 9 travellers; each gets its own application.
travelers[].given_name, family_namestringYesAs in the passport.
travelers[].fieldsobjectUsuallyForm answers by key (with or without the system. prefix). Files take vis_fil_ ids.
travelers[].email, phone, gender, birth_date, passport_number, nationalitystringNoShortcuts that fill the matching form fields.
curl -X POST https://api.hermeseus.com/v3/HAPI/visa/orders \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Idempotency-Key: 6f1c2a0e-visa-1" \
  -H "Content-Type: application/json" \
  -d '{
    "offer_id": "vis_off_eyJrIjoiVmlzYS1GbHV4aXItQVJFLTIi...",
    "travelers": [{
      "given_name": "Lina",
      "family_name": "Haddad",
      "fields": {
        "system.passportFile": "vis_fil_33364",
        "system.traveler.personalPhoto": "vis_fil_33365"
      }
    }]
  }'

Response 201

{
  "object": "visa_order",
  "id": "vis_ord_22295",
  "status": "pending",
  "visa_type": "Visa-Fluxir-ARE-2",
  "title": "United Arab Emirates eVisa",
  "origin": "JOR",
  "destination": "ARE",
  "start_date": "2026-12-10",
  "end_date": "2026-12-20",
  "total": { "amount": "106.00", "currency": "USD" },
  "applications": [
    {
      "object": "visa_application",
      "id": "vis_app_0c3752ea-6e09-4062-8506-f7ebed770d59",
      "supplier_reference": "22139",
      "status": "pending",
      "stage": null,
      "traveler": { "given_name": "Lina", "family_name": "Haddad" },
      "price": { "amount": "106.00", "currency": "USD" },
      "appointments": [],
      "issued_at": null,
      "cancelled_at": null,
      "reason": null,
      "document": null
    }
  ],
  "sandbox": false,
  "created_at": "2026-10-28T10:17:17+00:00"
}

Statuses

statusMeaning
pendingOrdered and held on your wallet; not submitted yet. You can still cancel.
processingSubmitted; see stage.
issuedApproved; the visa is under document.
failedRejected or ended; the hold is released and reason explains.
cancelledCancelled before submission.
partially_issuedOrder only: some applications issued, the rest failed or cancelled.

stage (while processing): submitted, in_review, review_failed, initially_approved, ready_for_embassy, appointment, applied_to_embassy. For a sticker visa, appointments lists the embassy appointment (status, date, time, address, notes) once it is booked.

supplier_reference is the application number at our supplier; quote it to support.

Errors

StatuscodeMeaning
422missing_traveler_fieldsdetail.missing lists the required fields a traveller lacks, conditions applied.
422invalid_traveler_fieldsdetail.invalid maps a field to the problem: not an option, not a file of yours, unknown country.
402insufficient_balanceYour wallet does not cover the order.
403service_not_enabledVisas are not enabled for your office.

Get, list and cancel

GET/v3/HAPI/visa/orders/{id}
GET/v3/HAPI/visa/orders?limit=20&after=…
POST/v3/HAPI/visa/orders/{id}/cancellation

Cancel works while applications are pending: their holds are released. Once submitted, it answers 409 not_cancellable.

Download the visa

GET/v3/HAPI/visa/orders/{id}/documents/{document_id}

Use applications[].document.url. The file is the visa as issued (usually PDF).