Skip to main content

Plan amount out of range

Error code​

{
"code": "plan.amount_out_of_range",
"docUrl": "https://doc.mor.payments.ai/errors/plan-amount-out-of-range"
}

HTTP status​

400

Cause​

The new amount for a paid plan is below the minimum for the plan's currency (1 USD, 1 EUR, 2 PLN and so on) or above the per-plan maximum of 100000. An amount of 0 counts as below the minimum: a paid plan cannot be made free by editing its amount.

How to fix​

Send an amount within the range the message states. If the plan should be free, create a new plan with type free-access instead.

See the API Reference for the operation that returned this error.