Payments Docs
Error codes

Errors / This works only in test mode

This works only in test mode

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

How to fix it

Tip

Simulate only test deposits and test withdrawals, with a test key (sk_test_…). A live deposit is paid only by the customer's real payment, a live withdrawal only by a real transfer.

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.

Error 403 (JSON)
{
  "type": "https://docs.no1paytest.com/errors/test_mode_only",
  "status": 403,
  "code": "test_mode_only",
  "title": "This works only in test mode",
  "detail": "The simulator works only with a test key (sk_test_…) on test deposits and withdrawals.",
  "request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}

Learn more