Skip to navigation

Reorder Processor Routes

View as Markdown

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_idstringRequired

Headers

Idempotency-Keystring or nullOptional>=8 characters
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_idslist of stringsRequired

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
datalist of objects
List of processor routes
totalinteger
Total number of routes
limitinteger
Maximum number of routes returned
offsetinteger
Number of routes skipped

Errors

422
Unprocessable Entity Error