PUBLIC_PAYMENT_DOES_NOT_EXISTPayment does not exist.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 404Verejné API
The payment id, gateway id or hash referenced by the request does not match any payment record in the current organisation. Payments are not soft-deleted, so this almost always means the identifier is wrong or refers to a payment in a different organisation.
Ako to vyriešiť
- 1
Double-check that the payment id is the one returned by the create/checkout endpoint.
- 2
Verify the API key belongs to the same organisation that owns the payment.
Ukážka odpovede
API odpovie statusom HTTP 404 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.
application/json
{
"state": "error",
"code": 404,
"message": "Payment does not exist.",
"errorCode": "PUBLIC_PAYMENT_DOES_NOT_EXIST",
"hint": "The payment id, gateway id or hash referenced by the request does not match any payment record in the current organisation. Payments are not soft-deleted, so this almost always means the identifier is wrong or refers to a payment in a different organisation.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_PAYMENT_DOES_NOT_EXIST"
}