NowgateDocs

invalid_id

An ID in the request is not a valid Nowgate ID of the expected kind.

On this page

HTTP status: 400 Bad Request. Retrying the same request unchanged fails the same way.

Why it happens

  • A payment ID doesn't start with pay_, or is truncated.
  • A pagination cursor isn't an ID from a previous page.

What to do

Pass IDs exactly as Nowgate returned them.

Example

The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.

{
  "type": "https://docs.nowgate.io/errors/invalid_id",
  "title": "Bad Request",
  "status": 400,
  "detail": "What exactly was wrong, in a sentence.",
  "instance": "/v1/payments",
  "code": "invalid_id",
  "request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}