Card rail
Set a category's merchant codes
PUT
/api/w/:wid/issuing/categories/:categoryOwners. Four-digit codes or ranges such as 3000-3999; cash, transfer and gambling codes are refused. null or an empty list goes back to the built-in codes. Widening a category is a card change, so with colleagues in the workspace it is a proposal a second owner confirms (202); narrowing applies at once. Recorded in the ledger as issuing_categories_changed.
#Authentication
Session cookie
A signed-in person: the console's session cookie. Every state-changing request also carries the header x-immiscible-csrf: 1, and the member's role decides what it may do. Bearer tokens are ignored on these routes, so no machine credential can reach them.
#Path parameters
widstringrequired
Workspace id
categorystringrequired
The category