Error codes
Errors / The amount is outside your limits for this method
The amount is outside your limits for this method
- Code
amount_outside_method_limits- HTTP status
- 422
- Where you see it
-
An error answer (
application/problem+json)
How to fix it
Each merchant has a smallest and a largest withdrawal amount, and a smallest and a largest deposit for each deposit method (in rials, set in your panel: Limits). Ask for an amount inside those limits, or split a larger withdrawal into several, or change the limits in the panel. The detail names the limits.
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:
A withdrawal whose amount is outside your withdrawal limits.
{
"type": "https://docs.no1paytest.com/errors/amount_outside_method_limits",
"status": 422,
"code": "amount_outside_method_limits",
"title": "The amount is outside your limits for this method",
"detail": "The amount (25000000 rials) is outside your withdrawal limits: 5000000 to 20000000 rials.",
"request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}
A deposit whose amount is outside your limits for its method (here account_transfer; every method has its own, set on the Limits page of your panel).
{
"type": "https://docs.no1paytest.com/errors/amount_outside_method_limits",
"status": 422,
"code": "amount_outside_method_limits",
"title": "The amount is outside your limits for this method",
"detail": "A account_transfer deposit must be between 10000 and 1000000 rials (your limits for this method).",
"request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}