Cost Centers
Get cost center
Changed onThis endpoint gets a cost center by ID.
get/v2/cost_centers/{id}
Request
- Base URLhttps://api.brex.com
- Auth
- OAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopescost_centers.readonly
- or OAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopescost_centers
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Response
getCostCenterById 200 response
Changes
- info
endpoint added
- info