Errors

{ "error": { "code": "wrong_origin", "message": "Calls for this business must come from shop.example.com, not evil.example.com." } }
HTTPcodeMeaning
401invalid_keyThe key is missing, wrong, expired or revoked.
403invalid_businessNo QwikiPay-Business header, or that business isn't yours.
403business_id_mode_mismatchA qp_biz_live_ ID sent with test keys, or the other way round.
403business_not_readyConfirm the business's domain first.
403business_not_liveThe business isn't approved for live payments yet.
403wrong_originThe call came from a page that isn't on the business's domain.
403origin_requiredPublic keys only work from a web page.
403secret_key_in_browserA secret key was sent from a browser. Roll it.
403secret_key_required / public_key_requiredWrong kind of key for this call.
403ip_not_allowedYour live key's IP allowlist doesn't include this server.
404not_foundNo such charge or payment for this business.
409reference_used, idempotency_conflictSee Idempotency.
409not_awaiting_authorizationThe charge isn't waiting for a PIN or code.
413too_largeThe body is over 32 KB.
422invalid_request, invalid_amount, invalid_currency, invalid_redirect_url, invalid_card, invalid_networkFix the field the message names.
429rate_limited, blockedSlow down, or too many wrong keys from your address.
502, 503processor_unavailable, payments_unavailableTry again shortly. Nothing was charged twice.

Every refused call is listed in Developers → Recent API calls with its reason.