Reorder Processor Routes
Set the account’s evaluation order. Must list every positioned route that is not retired; a route left out is removed from the order, a route not yet positioned is added.
New positions take effect on the next payment attempt.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Headers
Idempotency-Key
A unique key for this request. A retry with the same key returns the first response instead of running again, for 24 hours. Keys are per caller.
Request
This endpoint expects an object.
route_ids
Every positioned route of the account (draft and active), in the order they should be evaluated. The list must be complete: leaving out a positioned route that is not retired is refused with 422 (remove a route from the order with PATCH position: null, or DELETE it). A route not yet in the order may be listed to add it; a retired route left out is dropped from the order.
Response
Successful Response
data
List of processor routes
total
Total number of routes
limit
Maximum number of routes returned
offset
Number of routes skipped
Errors
422
Unprocessable Entity Error