Card Expenses
Update an expense
Changed onUpdate an expense. Admin and bookkeeper have access to any expense, and regular users can only access their own.
put/v1/expenses/card/{expense_id}
Request
- Base URLhttps://api.brex.com
- AuthOAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopesexpenses.card
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
expense_idstring required
Request body
Response
Update an expense response.
Example response
{
"original_amount": {
"amount": 700,
"currency": "USD"
},
"billing_amount": {
"amount": 700,
"currency": "USD"
}
}Changes
- warning
added the new
HELDenum value to the////response property for the response status
- warning