Wallet
Check your prepaid balance and pay orders from it.
Partners with a prepaid wallet can check their balance and pay draft orders directly from it — no card transaction and no confirm-order call needed. Contact iAsig.md to have a wallet linked to your partner account and to arrange top-ups (bank/wire transfer — iAsig credits your wallet once the transfer arrives).
Both endpoints authenticate exactly like the rest of the API: sign the raw JSON body with your secret and send X-Hmac-Signature: <partnerId>:<hex> (see Authentication).
Get balance
POST /v1/get-balance
Send an empty JSON object ({}) as the body. Read-only — poll it as often as you like.
Response
| Name | Type | Description |
|---|---|---|
balance | number | Total spendable balance for API products (wallets.online + wallets.promo) |
currency | string | Always MDL |
wallets | object | Per-wallet breakdown (online, insurance, promo) |
updated_at | string | ISO timestamp the balance was computed at |
Wire-transfer top-ups are credited to the online wallet. Each order is paid from a single wallet (promo first if you hold promotional credit, then online) — an order must be fully covered by one wallet, so with funds split across wallets check the wallets breakdown, not just balance.
{
"balance": 1250.5,
"currency": "MDL",
"wallets": { "online": 1250.5, "insurance": 0, "promo": 0 },
"updated_at": "2026-07-08T10:00:00.000Z"
}
Pay an order from the wallet
POST /v1/pay-order-from-balance
Pays one of your own draft orders entirely from the wallet — partial payments are not supported. On success the order moves to paid and issuance proceeds exactly as after confirm-order; the response is the same order object as get-order.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Order ID |
Note: Like
confirm-order, onlydraftorders can be paid, and unpaid orders expire at 23:59:59 (EEST) the same day.
{
"id": "EUV431392BIR"
}
{
"id": "EUV431392BIR",
"status": "paid",
"description": "Vignette (sk) - CSK999 (10 days)",
"start_date": "2026-07-11",
"end_date": "2026-07-20",
"price": 249.56,
"currency": "MDL"
}
Errors
| Status | Error | When |
|---|---|---|
400 | Insufficient balance | no single wallet covers the full order price |
400 | Order is not payable (status ...) | the order is not in draft |
400 | Balance cannot be applied to this order | the order's products are not wallet-eligible |
403 | No wallet account linked to this partner | your partner account has no wallet — contact iAsig |
403 | Balance spending is disabled | wallet payments are temporarily switched off |
404 | Order not found | unknown order ID, or an order that is not yours |
The deduction and the paid flip happen in one transaction: on any error the order stays draft and the wallet is untouched. Paying the same order twice returns 400 (it is no longer draft), so retries are safe.