Create Order
Create a draft order
Endpoint
POST /v1/create-order
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
customer | object | yes | Customer details |
customer.name | string | no | Customer name |
customer.email | string | no | Customer email |
customer.phone | string | yes | Customer phone |
products | Product[] | yes | Order products |
Product Parameters
1. Vignette (RO)
Changes on 1 October 2026 — no action required. Existing requests keep working unchanged:
emission_classandemission_proof_declaredare optional, and an order without them is issued as Euro 0 (E0). If you takedurationandcategoryfromget-offers, the new durations and categories need no change either. See Changelog.
Provide either vehicle (MD certificate — plate, VIN and car model are
resolved automatically) or foreign_vehicle (for non-MD plates). Take
duration and category from the matching get-offers response.
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product vignette:ro |
vehicle | string | yes* | MD vehicle certificate number (*provide this or foreign_vehicle) |
foreign_vehicle | object | yes* | Foreign vehicle payload (*use instead of vehicle for non-MD plates) |
start_date | string | yes | Start date in yyyy-mm-dd format |
duration | number | yes | Duration in days. From 1 October 2026: 1, 10, 30, 60 or 365. Take it from get-offers |
category | string | yes | A–D from 1 October 2026 (A–H before). Take it from get-offers |
emission_class | string | no | Euro emission class: E0, E1, E2, E3, E4, E5, E6, EC (electric), case-insensitive. Omitted means E0 |
emission_proof_declared | boolean | no | true when your customer declared holding an official document that proves the class. Required for any class other than E0 |
Vehicle categories (from 1 October 2026)
From 1 October 2026 the Romanian vignette has four categories instead of
eight, and the letters C and D change meaning (they were goods vehicles and
are now buses). Always take category from the matching get-offers offer
rather than mapping it yourself:
| Category | Vehicles |
|---|---|
A | Cars — up to 8 + 1 seats |
B | Goods vehicles with a maximum authorised mass up to 3.5 t |
C | Passenger vehicles with 9 to 23 seats |
D | Passenger vehicles with more than 23 seats |
Goods vehicles over 3.5 t no longer have a rovinieta at all: they move to
the per-kilometre TollRo charge, which this API does not sell. get-offers
returns an empty offers list for them and create-order answers
[API] No Vignette found., as it does for a 7-day or 90-day duration.
Vignettes issued before 1 October 2026 keep their old category in get-order.
Emission class and VIN (from 1 October 2026)
Send the same emission_class and emission_proof_declared you sent to
get-offers: the order is priced for that class. The rules (proof declaration,
year of manufacture, electric vehicles) are described in
Get Offers.
Every RO vignette needs the vehicle's VIN from 1 October 2026. For an MD
vehicle we take it from the registry (VIN, or the chassis/body number); for a
foreign_vehicle you send it in vin, as before.
create-order reports these rejections as HTTP 500 with the reason in
message, like every other [API]-prefixed rejection on this endpoint (for
example the max_authorized_mass one), so read message, not the status code:
{
"error": "Internal Server Error",
"message": "[API] emission_class requires emission_proof_declared"
}
message | When |
|---|---|
[API] Invalid emission_class | Unknown code (FNP is not accepted either) |
[API] emission_class requires emission_proof_declared | A class other than E0 without emission_proof_declared: true |
[API] Emission class E6 requires a vehicle manufactured in 2011 or later | The MD vehicle is too old for the class (E4 2003, E5 2008, E6 2011) |
[API] The vehicle has no VIN or chassis number in the registry; the RO vignette cannot be issued without one | From 1 October 2026: the MD registry holds no VIN for the vehicle |
[API] No Vignette found. | No offer matches duration + category (e.g. a 7-day vignette after 1 October 2026) |
On Get Offers the first four answer HTTP 400 with the
reason in error (and a vehicle with no vignette gets an empty offers list),
so quoting first tells you which one applies.
foreign_vehicle
| Name | Type | Required | Description |
|---|---|---|---|
registration_country | string | yes | ISO2 registration country (must not be MD) |
category | string | yes | EU vehicle category (M1, M2, M3, N1, N2, N3, L, O1–O4) |
plate_number | string | yes | Real vehicle plate number (AT/DE internal spaces are preserved) |
vin | string | yes | 17-character VIN (ISO 3779 — no I, O, Q) |
make | string | no | Vehicle make |
model | string | no | Vehicle model |
max_authorized_mass | number | required for N1–N3, O1–O4 | Max authorized mass in kg |
places | number | required for M2/M3 | Number of seats |
Request Body Examples
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "vignette:ro",
"vehicle": "1234567890", // 9 digits certificate number
"start_date": "2024-01-25", // yyyy-mm-dd
"duration": 10,
"category": "A",
"emission_class": "E6", // optional, defaults to E0
"emission_proof_declared": true // required for any class other than E0
}
]
}
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "vignette:ro",
"start_date": "2024-01-25", // yyyy-mm-dd
"duration": 10,
"category": "A",
"foreign_vehicle": {
"registration_country": "DE",
"category": "M1",
"plate_number": "B MW 1234",
"vin": "WVWZZZ1JZXW000001",
"make": "BMW",
"model": "X7"
}
}
]
}
Response Body Examples
{
"id": "RO1231241GG",
"status": "draft",
"description": "Rovinieta, 10 zile, Categoria A, BMW X7 ABC123",
"price": 69.98,
"currency": "MDL"
}
When the vignette cannot be sold
create-order checks with the vignette provider before the order is created.
If the provider refuses (most often because the vehicle already has an active
vignette for the requested days), the order comes back with status failed
and an error object that says why. Don't call confirm-order for it.
{
"id": "ROV796566XWH",
"status": "failed",
"description": "Rovinieta, 1 zi, Categoria A, PORSCHE CAYENNE NGP888",
"price": 0,
"currency": "MDL",
"error": {
"code": "vignette_already_active",
"message": "Atentie! Pentru numarul de inmatriculare NGP888 exista rovinieta activa in perioada 2026-10-04T00:00:00 - 2026-11-02T23:59:59",
"active_from": "2026-10-04",
"active_until": "2026-11-02"
}
}
| Name | Type | Description |
|---|---|---|
error.code | string | vignette_already_active: the vehicle already has an active RO vignette for the requested days. vignette_rejected: any other refusal (plate, VIN, start date or price the provider does not accept, or the provider could not be reached) |
error.message | string | The reason as the provider gave it, in Romanian. Show it to the customer or log it; don't parse it |
error.active_from | string | vignette_already_active only: first day of the active vignette, yyyy-mm-dd |
error.active_until | string | vignette_already_active only: last day of the active vignette, yyyy-mm-dd |
For vignette_already_active, a new order with a start_date after
active_until can be sold. For vignette_rejected, fix the request or try
again later with a new order.
error is only present on a failed RO vignette order, so integrations that
ignore unknown fields keep working unchanged.
2. Green Card
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product green-card |
vehicle | string | yes | Vehicle Certificate Number |
start_date | string | yes | Start date in yyyy-mm-dd format |
duration | number | yes | Duration in days |
region | string | yes | Region code EU or UA |
insurance_company | string | yes | Insurance company |
idnx | string | yes | IDNP or IDNO value |
direct_settlement | boolean | no | Direct settlement with this insurer, from 27 November 2026 (see Get Offers) |
Send direct_settlement: true only for an offer that came with direct_settlement: true, and
charge your customer that offer's price. If the insurer no longer offers it when the policy
is issued, the policy is issued without it and iAsig refunds the difference; get-order then
shows direct_settlement: false and direct_settlement_dropped: true.
IDNX validator: https://github.com/iAsig/idnx-validator
Request Body Examples
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "green-card",
"vehicle": "1234567890", // 9 digits certificate number
"start_date": "2024-01-25", // yyyy-mm-dd
"duration": 15, // days
"region": "EU",
"insurance_company": "donaris",
"idnx": "1021600002204" // 13 digits IDNP or IDNO
}
]
}
Response Body Examples
{
"id": "IAE001002ABC",
"status": "draft",
"description": "Asigurare Carte Verde, 15 zile, Europa, BMW X7 ISG313",
"price": 700.0,
"currency": "MDL"
}
3. MTPL
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product rca |
vehicle | string | yes | Vehicle Certificate Number |
start_date | string | yes | Start date in yyyy-mm-dd format |
duration | number | yes | Duration in days |
insurance_company | string | yes | Insurance company |
idnx | string | yes | IDNP or IDNO value |
IDNX validator: https://github.com/iAsig/idnx-validator
Request Body Examples
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "rca",
"vehicle": "1234567890", // 9 digits certificate number
"start_date": "2024-01-25", // yyyy-mm-dd
"duration": 365, // days
"insurance_company": "donaris",
"idnx": "1021600002204" // 13 digits IDNP or IDNO
}
]
}
Response Body Examples
{
"id": "IAI001002ABC",
"status": "draft",
"description": "Asigurare RCA, BMW X7 ISG313",
"price": 2245.32,
"currency": "MDL"
}
4. Travel
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product medical |
start_date | string | yes | Start date in yyyy-mm-dd format |
covered_territories | string[] | yes | Countries ISO3 codes or regions EUROPE, CSI, WORLD |
include_additional_risk | boolean | yes | |
end_date | string | no | Required for single entry. End date in yyyy-mm-dd format |
activity | string | yes | TRVL - Tourism, WORK - Work, BIZZ-Business,STUDY - Studies, |
SKI - Ski , ADV - Tourism (incl. recreational sports), | |||
persons | TravelPerson[] | yes | Insured persons birthdays yyyy-mm-dd |
is_multiple_type | boolean | yes | true for multiple entries and false for single entry |
availability | number | no | Required for multiple entries. Availability in months |
insured_days | number | no | Required for multiple entries. Number of insured days |
amount | string | yes | Insured amount |
company_name | number | yes | Insurance company |
contractor | IndividualPerson or Company | yes | Contractor |
TravelPerson
| Name | Type | Required | Description |
|---|---|---|---|
first_name | string | yes | Person first name |
last_name | string | yes | Person last name |
birthday | string | yes | Birth data in yyyy-mm-dd format |
address | string | yes | Person address |
passport | string | yes | Person passport (series + number) |
idnp | string | yes | IDNP value |
IndividualPerson
| Name | Type | Required | Description |
|---|---|---|---|
passport | string | yes | Contractor passport (series + number) |
birthday | string | yes | Contractor birth date in yyyy-mm-dd format |
first_name | string | yes | Contractor first name |
last_name | string | yes | Contractor last name |
idnx | string | yes | Contractor IDNP |
address | string | yes | Contractor address |
type | string | yes | individual |
Company
| Name | Type | Required | Description |
|---|---|---|---|
fullName | string | yes | Company name |
idnx | string | yes | Company IDNO |
address | string | yes | Company address |
type | string | yes | company |
IDNX validator: https://github.com/iAsig/idnx-validator
Request Body Examples (single entry)
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "medical",
"start_date": "2024-04-03",
"covered_territories": ["ROU"],
"include_additional_risk": false,
"end_date": "2024-04-08",
"activity": "SKI",
"persons": [
{
"first_name": "Mary",
"last_name": "Jane",
"birthday": "1999-12-31", // yyyy-mm-dd
"address": "CHISINAU",
"passport": "B39375364",
"idnp": "2002488848847" // 13 digits IDNP
}
],
"contractor": {
"passport": "AB213453",
"birthday": "1990-11-31",
"first_name": "Michael",
"last_name": "Jane",
"idnx": "2002433727391",
"address": "str.Columna 32, Chisinau",
"type": "individual"
},
"is_multiple_type": false,
"amount": "30000",
"company_name": "transelit"
}
]
}
Request Body Examples (multiple entries)
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "medical",
"start_date": "2024-04-03",
"covered_territories": ["ROU"],
"include_additional_risk": false,
"activity": "SKI",
"persons": [
{
"first_name": "Mary",
"last_name": "Jane",
"birthday": "1999-12-31", // yyyy-mm-dd
"address": "CHISINAU",
"passport": "B39375364",
"idnp": "2002488848847" // 13 digits IDNP
}
],
"contractor": {
"full_name": "IASIG ONLINE S.R.L",
"idnx": "1021600002204",
"address": "str.Albisoara 42, Chisinau",
"type": "company"
},
"is_multiple_type": true,
"availability": 1,
"insured_days": 10,
"amount": "30000",
"company_name": "transelit"
}
]
}
Response Body Examples
{
"id": "IAM541417MZV",
"status": "draft",
"description": "Asigurare Medicala pentru calatorii",
"price": 95.86,
"currency": "MDL"
}
5. Baggage insurance
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product baggage |
start_date | string | yes | Departure date according to the airline tickets in yyyy-mm-dd format |
flight_numbers | string[] | yes | Flights numbers according to the airline tickets |
baggage_pcs | number | yes | Number of baggages |
idnp | string | yes | IDNP value |
contractor_full_name | string | yes | Person full name according to the airline tickets (first/last name) |
insurance_company | string | yes | Insurance company |
Request Body Examples
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "baggage",
"start_date": "2024-01-25", // yyyy-mm-dd
"flight_numbers": ["EK203", "BA289"],
"baggage_pcs": 2,
"idnp": "2002433727391",
"contractor_full_name": "John Doe",
"insurance_company": "asterra"
}
]
}
Response Body Examples
{
"id": "IAB001002ABC",
"status": "draft",
"description": "Asigurare facultativă a bagajelor avia",
"price": 38.08,
"currency": "MDL"
}
6. Road Tax
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product road-tax |
vehicle | string | yes | Vehicle Certificate Number |
idnx | string | yes | IDNP or IDNO value |
contractor_full_name | string | yes | Person full name or Company Name |
locality_id | number | yes | Locality id (CUATM) |
locality_name | string | yes | Locality |
region | string | yes | Municipiu / Raion |
Request Body Examples
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "road-tax",
"vehicle": "1234567890", // 9 digits certificate number
"idnx": "2002433727391",
"contractor_full_name": "John Doe",
"locality_id": 120,
"locality_name": "SEC.BUIUCANI",
"region": "MUN.CHISINAU"
}
]
}
Response Body Examples
{
"id": "TFD271963JPH",
"status": "draft",
"description": "Taxa de drum pentru folosirea drumurilor de către autovehicule înmatriculate în RM",
"price": 837.0,
"currency": "MDL"
}
7. Vignette (MD)
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product vignette:md |
identity_document | string | yes | Driver's IDNP (MD residents) or passport number (foreign residents) |
driver_full_name | string | yes | Driver full name |
country | string | yes | Vehicle registration country, ISO2 or ISO3 (must not be MD) |
start_date | string | yes | Start date in yyyy-mm-dd format |
period | string | yes | Validity period |
vehicle_category | string | yes | M1, M2 , M3 ,N1 ,N2 ,N3 |
registration_number | string | yes | Vehicle plate number (AT/DE internal spaces are preserved) |
vin | string | yes | Vehicle VIN / chassis number (up to 17 letters and digits) |
residence_country | string | no | Driver's residence country, ISO2 or ISO3. Defaults to MD when identity_document is an IDNP, else to country |
** Validity period for M1 Category 7_days| 15_days| 30_days| 90_days| 180_days| >180_days
** Validity period for M2, M3, N1, N2, N3 Category 1_day| 7_days| 30_days| 90_days| 12_months
*** M1 - Cars (Vehicles classified under tariff heading 8703 and trailers attached to them), M2 - Buses from 9 to 24 seats inclusive, M3 - Buses with more than 25 seats, N1 - Trucks with/without trailer, road tractors with/without semi-trailer up to and including 3.5 t, N2 - Trucks with/without trailer, road tractors with/without semi-trailer from 3.5 to 10 t inclusive, N3 - Trucks with/without trailer, road tractors with/without semi-trailer from 10 to 40 t inclusive,
Request Body Examples
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "vignette:md",
"vehicle_category": "M1",
"identity_document": "AB123456", // passport → foreign resident
"driver_full_name": "John Doe",
"country": "ROU",
"start_date": "2024-01-25",
"registration_number": "XXX999",
"vin": "WVWZZZ1JZXW000001",
"period": "7_days"
}
]
}
Response Body Examples
{
"id": "MDV517529SEW",
"status": "draft",
"description": "Vinieta MD, 7_days, M1, XXX999",
"start_date": "2024-01-25",
"end_date": "2024-01-31",
"price": 77.08,
"currency": "MDL"
}
8. Vignette (EU)
European multi-country vignette. Take the country and validity from the
matching get-offers response. Provide either vehicle (MD certificate — plate,
VIN and car model are resolved automatically) or foreign_vehicle (for
non-MD plates). The buyer becomes the vignette holder, so customer.name is used
as the holder name.
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product vignette:eu |
country | string | yes | ISO2 destination country (e.g. ro, hu, bg) |
validity | string | yes | Validity option id from the get-offers response |
start_date | string | yes | Start date in yyyy-mm-dd format |
vehicle | string | yes* | MD vehicle certificate number (*provide this or foreign_vehicle) |
foreign_vehicle | object | yes* | Foreign vehicle payload (*use instead of vehicle for non-MD plates) |
foreign_vehicle
| Name | Type | Required | Description |
|---|---|---|---|
registration_country | string | yes | ISO2 registration country (must not be MD) |
category | string | yes | EU vehicle category (M1, N1, …) |
plate_number | string | yes | Real vehicle plate number |
vin | string | yes | Vehicle identification number (mandatory for ro) |
make | string | no | Vehicle make |
model | string | no | Vehicle model |
max_authorized_mass | number | no | Max authorized mass in kg |
places | number | no | Number of seats |
Request Body Examples (MD vehicle)
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "vignette:eu",
"vehicle": "123456789", // 9 digits certificate number
"start_date": "2026-06-10", // yyyy-mm-dd
"country": "bg",
"validity": "bg-7d"
}
]
}
Request Body Examples (foreign vehicle)
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "vignette:eu",
"start_date": "2026-06-10", // yyyy-mm-dd
"country": "bg",
"validity": "bg-7d",
"foreign_vehicle": {
"registration_country": "ua",
"category": "M1",
"plate_number": "AA1234BB",
"vin": "WVWZZZ1JZXW000001"
}
}
]
}
Response Body Examples
{
"id": "EUV001002ABC",
"status": "draft",
"description": "Vinietă Europa, BG, 7 zile, BMW X7 ISG313",
"start_date": "2026-06-10",
"price": 179.15,
"currency": "MDL"
}
9. Roadside Assistance (EU)
Take the period from the matching get-offers response. The registered vehicle
owner becomes the contract holder — no idnx is required.
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product roadside-assistance-eu |
vehicle | string | yes | Vehicle Certificate Number |
start_date | string | yes | Start date in yyyy-mm-dd format (no earlier than today + 48h) |
period | string | yes | Validity period id from get-offers (15_days, 12_months, 12_months_plus) |
Request Body Examples
{
"customer": {
"name": "John Doe",
"email": "john@doe.com",
"phone": "+37379000000"
},
"products": [
{
"product": "roadside-assistance-eu",
"vehicle": "123456789", // 9 digits certificate number
"start_date": "2024-06-27", // yyyy-mm-dd
"period": "12_months"
}
]
}
Response Body Examples
{
"id": "RSA271963ABC",
"status": "draft",
"description": "Asistență rutieră Europa, 12 luni, BMW X7 ISG313",
"price": 921.62,
"currency": "MDL"
}
Payment links
Optional, off by default. Contact iAsig.md to turn payment links on for your partner account. The request does not change, and an integration without payment links gets exactly the response above.
With payment links on, the response for a draft order also carries
payment_links: links where your customer pays the order themselves, by card or
with MIA instant payment, on the payment provider's page. Send a link to your
customer (SMS, e-mail, chat, a button on your site). Don't call confirm-order
for an order paid through a link.
| Name | Type | Description |
|---|---|---|
payment_links | object | Only on a draft order, and only when payment links are on for your account |
payment_links.card | string | Card payment (Visa, Mastercard) on the maib payment page |
payment_links.mia | string | MIA instant payment: a QR code to scan with a Moldovan banking app |
A method the order cannot be paid with is left out, so check which keys are
present. payment_links is absent when the order is not draft (for example a
failed RO vignette order), and when neither card nor MIA is available for the
order.
The links are on https://pay.iasig.md or https://pay.vinieta.md; iAsig sets
which one for your account. Use each URL exactly as returned and don't build it
yourself. It carries only the order ID, no customer data.
Response Body Example
{
"id": "EUV001002ABC",
"status": "draft",
"description": "Vinietă Europa, BG, 7 zile, BMW X7 ISG313",
"start_date": "2026-06-10",
"price": 179.15,
"currency": "MDL",
"payment_links": {
"card": "https://pay.iasig.md/maibdata?orderId=EUV001002ABC",
"mia": "https://pay.iasig.md/bpaymiadata?orderId=EUV001002ABC"
}
}
After the customer pays
- The customer pays the order
priceto iAsig. - The order goes from
drafttopaidand is then issued as usual (processing,completed), exactly as for an order paid withconfirm-order. Once it iscompleted,get-orderreturns the policyfile. - Poll
get-orderto see the order becomepaid(orfailed). The completion webhook fires only when the order iscompleted, never onpaidorfailed. - After paying, the customer is sent to the order page on iasig.md, or to your own page if you have one (see Where the customer lands).
- If the payment fails or the customer cancels it, the order stays
draftand the same link can be opened again.
How long a link works
A link works while the order is draft. Like every unpaid order, it expires at
23:59:59 Moldova time (Europe/Chisinau) the same day. Once the order is paid or expired, the link no
longer opens a payment page: create a new order for new links.
A payment that arrives after the order was closed (already paid, or expired) is returned to the customer: a card payment is released automatically, a MIA payment is refunded by iAsig.
Where the customer lands
By default the customer lands on the iAsig order page after using a link. If you
would rather bring them back to your own site, ask iAsig
to set a redirect URL for your partner account. It must be a full https://
address on a public host name, up to 500 characters. A customer who pays through
one of your links then returns to it, with these parameters added to the query
string, which keeps any parameters your URL already has:
| Name | Description |
|---|---|
order | The order ID |
payment | success or error |
For example, with https://partner.example/thanks?ref=abc as your redirect URL,
the customer returns to
https://partner.example/thanks?ref=abc&order=EUV001002ABC&payment=success.
Other parameters can be present too, and new ones may be added, so ignore the ones you don't know.
This redirect is not proof of payment. Anyone can open that address,
payment=successonly says the customer came back from the payment page, and the customer may never reach it at all. To know whether an order was paid, callget-orderor wait for the completion webhook.
Status Codes
| Code | Description |
|---|---|
200 | Order created |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
500 | Internal server error |