PUBLIC_PAYMENT_DOES_NOT_EXISTPayment does not exist.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 404Publiczne 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.
Jak to rozwiązać
- 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.
Przykładowa odpowiedź
API odpowiada statusem HTTP 404 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
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"
}