Docs

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

NameTypeDescription
balancenumberTotal spendable balance for API products (wallets.online + wallets.promo)
currencystringAlways MDL
walletsobjectPer-wallet breakdown (online, insurance, promo)
updated_atstringISO 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.

Response example
{
  "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.

NameTypeRequiredDescription
idstringyesOrder ID

Note: Like confirm-order, only draft orders can be paid, and unpaid orders expire at 23:59:59 (EEST) the same day.

Request example
{
  "id": "EUV431392BIR"
}
Response example
{
  "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

StatusErrorWhen
400Insufficient balanceno single wallet covers the full order price
400Order is not payable (status ...)the order is not in draft
400Balance cannot be applied to this orderthe order's products are not wallet-eligible
403No wallet account linked to this partneryour partner account has no wallet — contact iAsig
403Balance spending is disabledwallet payments are temporarily switched off
404Order not foundunknown 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.


iAsig © 2026