status is failed, statusCode is a string, and message is safe to log but not to show
to a customer verbatim.
Common errors
401 — api-key was not passed in the header
401 — api-key was not passed in the header
api-key — not apikey, API-Key, or
Authorization.401 — Invalid public key passed
401 — Invalid public key passed
401 — Invalid SECRET key
401 — Invalid SECRET key
400 — Payload could not be decrypted
400 — Payload could not be decrypted
data field could not be decrypted. Most often the wrong padding (it must be PKCS#1
v1.5, not OAEP), or an encryption key from the other environment. See
Encryption.13 — Order not found at the moment
13 — Order not found at the moment
reference doesn’t match an order. Check you’re reusing the reference from the
create-order call rather than generating a new one.13 — Order payment is currently pending
13 — Order payment is currently pending
604 — Payment link not found
604 — Payment link not found