IQIraQPayAPI Reference

Errors

Check status in the response. Failures return an error type you can act on; most issues are caused by incorrect usage (signature, limits, missing fields), so review your implementation before contacting support.

Error response

{ "data": { "errMessage": "bankAccount_not_found", "message": "Uygun hesap bulunamadı" }, "status": 400, "app_version": "iraqpay-v0.1.0" }

Error types

errMessageHTTPDescription
error_invalid_sign403Signature mismatch or missing appKey/sign. Check the raw body you signed.
error_site_not_found404No integration for this appKey, or your site was disabled.
not_authorized403IP allowlist: your IP is not authorized.
error_validation400Missing/invalid fields; message lists them.
error_invalid_bank404bankId unknown or not enabled for your site.
bankAccount_not_found400No wallet account can currently take this amount (limits reached or no active account). Retry later or offer another method.
error_transaction_blacklisted403The user or recipient is blacklisted.
amount_below_min / amount_above_max400Outside your site's or the method's limits.
amount_not_multiple400Amount must be a multiple of the configured step (default 250 IQD).
invalid_iban400Recipient identifier doesn't match the method's format (withdraw).
insufficient_site_balance402Withdraw exceeds available treasury (see Balance).
error_transaction_not_found404Unknown transactionId/processId for your site.
internal_server_error500Unexpected issue; our team is notified. Retry with backoff.