404
payments.not_foundpaymentsNo payment with that id
Returned by the implementation; no specification rule declares it yet.
The id does not exist, or it belongs to another tenant, or it was created in the other mode. paygate answers 404 rather than 403 for a payment you cannot see: telling you it exists but is not yours is itself information about another merchant.
Why the API refuses
payment not found
What to do
- Check the mode. A
pay_…id created with apg_test_key does not exist for apg_live_key, and this is the single most common cause. - Check you are reading the id from the response rather than from a reference of your own.
- If you are polling straight after a create, use the id the create returned; there is no propagation delay to wait out.