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
- You order. Each traveller's form is checked, the price is held on your wallet and the order is
pending. - We submit. Our team submits each application. The order becomes
processing;stagetells you where it is. - The visa is decided. Approved: the order is
issued, the amount is taken from your wallet and the visa file is attached. Rejected: it isfailed, the hold is released andreasonsays 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
Requires visa:write. Send an Idempotency-Key header so a retry does not order twice.
| Field | Type | Required | Description |
|---|---|---|---|
offer_id | string | Yes | A vis_off_ id from quotes. |
travelers | array | Yes | 1 to 9 travellers; each gets its own application. |
travelers[].given_name, family_name | string | Yes | As in the passport. |
travelers[].fields | object | Usually | Form answers by key (with or without the system. prefix). Files take vis_fil_ ids. |
travelers[].email, phone, gender, birth_date, passport_number, nationality | string | No | Shortcuts 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
| status | Meaning |
|---|---|
pending | Ordered and held on your wallet; not submitted yet. You can still cancel. |
processing | Submitted; see stage. |
issued | Approved; the visa is under document. |
failed | Rejected or ended; the hold is released and reason explains. |
cancelled | Cancelled before submission. |
partially_issued | Order 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
| Status | code | Meaning |
|---|---|---|
| 422 | missing_traveler_fields | detail.missing lists the required fields a traveller lacks, conditions applied. |
| 422 | invalid_traveler_fields | detail.invalid maps a field to the problem: not an option, not a file of yours, unknown country. |
| 402 | insufficient_balance | Your wallet does not cover the order. |
| 403 | service_not_enabled | Visas are not enabled for your office. |
Get, list and cancel
Cancel works while applications are pending: their holds are released. Once submitted, it answers 409 not_cancellable.
Download the visa
Use applications[].document.url. The file is the visa as issued (usually PDF).