BizKitHub
PUBLIC_PAYMENT_DOES_NOT_EXIST

Payment does not exist.

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

HTTP 404Veřejné 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 vyřešit

  1. 1

    Double-check that the payment id is the one returned by the create/checkout endpoint.

  2. 2

    Verify the API key belongs to the same organisation that owns the payment.

Ukázka odpovědi

API odpoví statusem HTTP 404 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

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"
}