Docs

Confirm Order

Confirm order by submitting payment details

Endpoint

POST /v1/confirm-order

Body Parameters

NameTypeRequiredDescription
idstringyesOrder ID
paymentobjectyesPayment details

Note: You can only confirm (pay) orders with draft status. Order should be paid before 23:59:59 Moldova time (Europe/Chisinau) on the same day. That is UTC+02:00 in winter (EET) and UTC+03:00 in summer (EEST). At the end of the day, all draft orders are automatically expired and updated with expired status.

Repeating a confirm. After you have the answer to a confirm-order, sending it again for the same payment (same transaction_id, receipt_id and amount) changes nothing and answers 200 with the order as it is now, so read status from the response: it can be paid, processing, completed or failed. Any other payment on an order that is no longer draft, or a repeat on a refunded or expired order, still answers 500 with "message": "[API] Order <id> is not in DRAFT status". Two confirms that arrive at the same moment follow the same rules: one pays the order, and the other is answered as above.

RO vignette, 1 October 2026: a vignette:ro order created before the switch to the new tariff system cannot be paid after it. confirm-order then answers 500 with "message": "[API] Order <id>: The RO vignette price on this order is no longer valid (the vignette tariff system changed); create a new order" and the order stays draft. Quote again with get-offers and create a new order. See Changelog.

Payment Parameters

NameTypeRequiredDescription
receipt_idstringyesReceipt ID, shown on customer's receipt e.g. RRN
transaction_idstringyesTransaction ID
paid_atnumberyesPayment date, unix timestamp (milliseconds)
amountnumberyesAmount
currencystringnoCurrency code (default "MDL")
pos_idstringnoPOS ID

Request Body Examples

JSON
{
  "id": "IAE431392BIR",
  "payment": {
    "receipt_id": "1234567890",
    "transaction_id": "1234567890",
    "paid_at": 1730419200000, // 13 digits unix timestamp
    "amount": 2106.47,
    "currency": "MDL",
    "pos_id": "terminal001"
  }
}

Response Body Examples

JSON
{
  "id": "IAE431392BIR",
  "status": "paid",
  "description": "Asigurare Carte Verde, 15 zile, Europa, BMW X7 ISG313",
  "start_date": "2025-02-13",
  "end_date": "2025-02-27",
  "price": 2106.47,
  "currency": "MDL"
}

Status Codes

CodeDescription
200Order paid, or already paid by this payment
400Bad request
401Unauthorized
403Forbidden
500Internal server error

iAsig © 2026