Restrict a payment method by transaction amount
Limits when a payment method is offered to online customers by transaction amount: a minimum and a maximum per currency, or a currency in which the method is not offered at all. The limits are held on the legal entity route under the ECOMMERCE source. The checkout receives them with its configuration and hides the method before the customer can choose it; Shuttle checks them again when an online customer’s new payment is submitted. The limits are e-commerce rules: they apply to payments the customer makes online (source ECOMMERCE). A merchant uses this to keep, say, bank debit off small baskets, or to stop offering cards in a currency they no longer settle.
Where you can do this
Section titled “Where you can do this”- Merchant Setup: Payment method amount rules (Save)
Before you start
Section titled “Before you start”- The route exists, is not archived, and carries at least one payment method type.
- The route is LINKED or ACTIVE. Merchant Setup offers the rules control only for those.
- The gateway the route points at is connected and offers the method.
- No feature option gates this; any route can carry rules.
| Rule | What you see |
|---|---|
| The body must carry a legal_entity_route object | VALIDATION_ERROR “API body error: missing legal_entity_route object” |
| The route must exist | 404 NOT_FOUND “legal_entity_route not found”; Shuttle’s own check answers NOT_FOUND “apiValidation.error.not.found” naming “legal_entity_curr” and the key |
| A rules object with no source key is stored under ECOMMERCE; one that already names a source is stored as sent | accepted as sent |
| Amount limits are e-commerce rules: set them in the ECOMMERCE block | limits applied to e-commerce payments |
| Each limit names its currency with an ISO 4217 code and applies to payments in that currency, using the keys shown in the API reference | limit applied in that currency |
| The rules sent replace the route’s whole rule set; there is no partial update. Send the complete ECOMMERCE block, including any limits you want to keep | limits not resent are lost |
| The ECOMMERCE block also carries the route’s own lists, currencies and payment_method_types. Unlike the limits, these are not e-commerce rules: they set which currencies and methods the route serves for every payment, whatever its source. Send them inside the ECOMMERCE block, not at the top level of the body | route lists replaced |
| A new e-commerce payment (customer present, no staff present: source ECOMMERCE) whose amount is below the minimum or above the maximum for its currency is refused when it is submitted; the full submission rule set is on Take a one-off payment | BOLT-7109 (minimum) / BOLT-7110 (maximum) |
| The limits apply to e-commerce payments: the customer is present and no staff member is. A payment’s source sets who is present; see source on Take a one-off payment | limits applied to ECOMMERCE |
| In an e-commerce checkout that saves a payment method without charging it, the method is not offered in a currency it is disallowed in | currency not offered, see Save a payment method without charging it |
| Only ACTIVE and LINKED routes contribute rules to the checkout configuration; a run-down route’s stored limits are ignored there, though it still contributes its currencies and methods so saved cards keep working | limits not applied at checkout |
| The checkout applies the limits, a disallowed currency included, in an e-commerce session (source ECOMMERCE). Stated with the rest of the submission rules on Take a one-off payment | method hidden |
| When any live route on the channel carries amount limits, the checkout asks for the amount before it works out which methods to offer; a tokenise-only checkout does not | amount field shown and required |
| Which currencies Merchant Setup offers is fixed for some methods: ACH to USD, SEPA to EUR, BACS to GBP; otherwise the gateway’s currencies, or every ISO code when the gateway lists none | currency not offered |
| Merchant Setup requires a maximum greater than the minimum, refuses a maximum typed as 0 (0 is reserved for the disallow switch), and requires both to be numeric | validation message above the buttons, Save blocked |
| A currency can only be disallowed on a route whose gateway serves more than one currency; the single-currency form has no disallow switch, so disallowing the only currency needs the API | control not offered |
| Turning the restriction switch off removes every limit for the method; the currencies and methods the route serves are left alone | rules.ECOMMERCE.amount removed |
| Saving rules identical to the stored ones is skipped entirely: no version change, no webhook, no re-index | 200, nothing happens |
What happens
Section titled “What happens”- The method’s limits become whatever was sent, replacing what was there. New checkouts pick them up at once; the checkout customisation screen marks the method as having a rule applied.
- In an e-commerce checkout the method disappears for any amount outside the limits, and is never offered in a currency it is disallowed in. An online customer who reaches submission of a new payment anyway (an amount changed after the method was chosen) is refused with the route-rule error and has to pick another method.
- Sending currencies or payment_method_types inside the rules changes which currencies and methods the route serves, not just its limits.
LEGAL_ENTITY_ROUTE.UPDATEis raised for the route, and separately for every sibling route the update copies the rules onto.- An identical save does nothing at all, so a Save that changed nothing raises no webhook and leaves the route untouched.
Who can do this
Section titled “Who can do this”- Roles: Admin only. Routing and provider setup are Admin work by design, so Support is not intended to have it.
- Permission keys (for clients managing permissions directly):
legal_entity_curr(or*) on both the legal entity and the gateway. Merchant Setup requirespayment_gatewayand otherwise shows the form read-only with “Changes cannot be saved in read only mode”. Support does not hold that key. - No feature option applies. The screen is reached from the checkout customisation screen’s payment method row, and only for a method that is switched on and whose route is LINKED or ACTIVE.
Related
Section titled “Related”Was this page helpful?
What went wrong?
Thanks for telling us.