List all categories
Changed onRetrieve a paginated list of all available custom expense categories for the organization. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
Request
- Base URLhttps://api.mercury.com/api/v1
- URLhttps://api.mercury.com/api/v1/categories
- Auth
- HTTP bearer
- or HTTP basic
Query parameters
Maximum number of results to return. Allowed range: 1 to 1000. Defaults to 1000
Sort order. Can be 'asc' or 'desc'. Defaults to 'asc'
The ID of the category to start the page after (exclusive). When provided, results will begin with the category immediately following this ID. Use this for standard forward pagination to get the next page of results. Cannot be combined with end_before.
The ID of the category to end the page before (exclusive). When provided, results will end just before this ID and work backwards. Use this for reverse pagination or to retrieve previous pages. Cannot be combined with start_after.
Changes
- breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
media type
application/jsonwas changed toapplication/json;charset=utf-8for the response status - info
added to the
response propertyallOflist for the response status - info
removed
subschema #2from the//response propertyallOflist for the response status
- breaking
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info