ValulogDashboard

API errors

Errors return JSON with error_code, message, details, request_id and doc_url (a link to the page for that code). Quote the request_id if you contact us.

CodeHTTPRetry?Meaning
UNAUTHENTICATED401No, fix firstThe Authorization header is missing, malformed, or the key is unknown or revoked.
FORBIDDEN403No, fix firstThe key is valid but the request names a merchant_id that does not match the key.
PLAN_REQUIRED403No, fix firstThe plan does not allow this: a live key (vl_live_) needs a paid plan, or the plan’s merchant limit is reached.
VALIDATION_ERROR400No, fix firstThe request body or parameters failed validation, for example a non-integer amount or an unknown currency.
IDEMPOTENCY_CONFLICT409After a waitThis Idempotency-Key was already used with a different request body, or the first request with it is still running.
NOT_FOUND404No, fix firstNo transaction with that ID exists for this key’s account and environment.
ALREADY_REFUNDED409No, fix firstThe line has already been refunded in full.
INSUFFICIENT_REFUNDABLE422No, fix firstThe refund asks for more units than remain on the line, or would come to zero (for example a line that was free).
RATE_LIMITED429After a waitToo many requests a minute for this key’s plan.
QUOTA_EXCEEDED429After a waitThe month’s operations allowance for the plan is used up. Reads and replays still work.
SERVICE_UNAVAILABLE503After a waitA dependency (database or rate-limit store) is not reachable, so the API refuses writes rather than risk a wrong result.
INTERNAL_ERROR500YesSomething failed on our side. Calculations and refunds are written in one database transaction, so a failed write leaves nothing half-done.