Skip to main content
PATCH
Update a Routing
Replaces the routing’s full configuration. The body has the same shape as Create a Routing — the new default_route and condition_sets[] entirely supersede the previous live state. There is no field-level merge. account_code and payment_method are sticky to the routing_id — they’re set at creation and cannot be changed by PATCH.

Path Parameters

string
required
The id returned by Create a Routing.

Response

string
Unique identifier for the routing.

Errors

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Headers

X-Idempotency-Key
string<uuid>
required

Path Parameters

routing_id
string<uuid>
required

Body

application/json
name
string
Example:

"Updated Card routing"

default_route
object
condition_sets
object[]

Response

200 - application/json

OK

id
string
account_code
string
payment_method
string
name
string
default_route
object
created_at
string<date-time>
updated_at
string<date-time>