Add a rule
Adds a rule, last. Every never that fits an order leaves its processor out, then the first only that fits picks. A store holds up to 50. Answers the whole of Payment Routing again, as “Get Payment Routing” does.
Needs the routing.write permission (Change Payment Routing).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Headers
A word of your own for this one change, up to 180 letters, digits, dots, dashes, underscores and colons. Sent again with the same key, the request is not carried out twice: the first answer comes back, with Idempotent-Replay: true.
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Body
What it looks at: the buyer's country, or the order's amount.
country, amount only: such orders go to this processor and no other. never: they never go to it.
only, never The processor the rule is about, one in the routing.
"nmi"
For country: up to 100 countries, as two-letter codes.
For amount: whether it is about orders over the amount or under it.
over, under For amount: the amount, in the store's currency.
200

