# PUBLIC_PAYMENT_DOES_NOT_EXIST: Payment does not exist.

- Category: Public API
- HTTP status: 404
- Reference: https://docs.bizkithub.com/en/errors/PUBLIC_PAYMENT_DOES_NOT_EXIST

## What happened

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.

## How to resolve

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.

## Example response

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