PayloqaDocs

API

Errors

Failed requests return JSON with error (machine code) and message (human readable).

CodeHTTPWhen
unauthorized401Missing or invalid secret key
forbidden403Key valid but action not allowed (e.g. live key before activation)
validation_error422Invalid request body or query
idempotency_key_required422Idempotency-Key header missing on a required route
payments_not_enabled422Payments not enabled for your merchant account
merchant_pending_review422Account not yet active for live operations
rate_limited429Too many requests — back off and retry
payment_session_not_found404Session id unknown or not owned by your platform
otp_expired422OTP code or request has expired
otp_invalid422Wrong OTP code