Payments Docs
Error codes

Errors / The deposit is not open any more

The deposit is not open any more

Code
deposit_not_open
HTTP status
409
Where you see it
An error answer (application/problem+json)

How to fix it

Tip

The deposit is already paid, failed, expired or cancelled, so it cannot change any more, or its time ran out (expires_at passed), so it can only expire. Get it with GET /v1/deposits/{id} to see how it ended; create a new deposit to try again.

What the answer looks like

Every error is application/problem+json (RFC 9457). Read the code, not the title or detail text, which may change. Keep the request_id when you contact support. The detail says which case it is; there are 2:

The test deposit already ended (here it expired) and paid is asked.

Error 409 (JSON)
{
  "type": "https://docs.no1paytest.com/errors/deposit_not_open",
  "status": 409,
  "code": "deposit_not_open",
  "title": "The deposit is not open any more",
  "detail": "The deposit is expired; it cannot become paid.",
  "request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}

The test deposit is still pending but its expires_at passed: it can only expire.

Error 409 (JSON)
{
  "type": "https://docs.no1paytest.com/errors/deposit_not_open",
  "status": 409,
  "code": "deposit_not_open",
  "title": "The deposit is not open any more",
  "detail": "The deposit's time ran out at expires_at; it can only expire.",
  "request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}

Learn more