Download OpenAPI specification:Download
The budgets API lets you manage your Brex Budgets and Spend Limits.
Endpoints for Spend Limits data. Please note that /v1/budgets targets spend limits, and will soon be deprecated in favor of /v2/spend_limits.
Lists Spend Limits belonging to this account
A page with a list of Spend Limits
Bad request
Unauthorized
Forbidden
curl -i -X GET \ https://platform.brexapis.com/v1/budgets \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "next_cursor": "string",
- "items": [
- {
- "budget_id": "string",
- "account_id": "string",
- "creator_user_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "budget_status": "APPROVED",
- "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "current_period_balance": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "balance": {
- "amount": 0,
- "currency": "string"
}
}, - "limit_visibility": "SHARED",
- "templateId": "string",
- "budget_type": "BUDGET"
}
]
}
Creates a Spend Limit
The Spend Limit that was created
Bad request
Unauthorized
Forbidden
{- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit_visibility": "SHARED"
}
{- "budget_id": "string",
- "account_id": "string",
- "creator_user_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "budget_status": "APPROVED",
- "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "current_period_balance": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "balance": {
- "amount": 0,
- "currency": "string"
}
}, - "limit_visibility": "SHARED",
- "templateId": "string",
- "budget_type": "BUDGET"
}
Retrieves a Spend Limit by ID
The Spend Limit that was retrieved
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X GET \ 'https://platform.brexapis.com/v1/budgets/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "budget_id": "string",
- "account_id": "string",
- "creator_user_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "budget_status": "APPROVED",
- "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "current_period_balance": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "balance": {
- "amount": 0,
- "currency": "string"
}
}, - "limit_visibility": "SHARED",
- "templateId": "string",
- "budget_type": "BUDGET"
}
Updates a Spend Limit
The Spend Limit that was updated
Bad request
Unauthorized
Forbidden
Not Found
{- "name": "string",
- "description": "string",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit_visibility": "SHARED",
- "period_type": "WEEKLY"
}
{- "budget_id": "string",
- "account_id": "string",
- "creator_user_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "budget_status": "APPROVED",
- "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "current_period_balance": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "balance": {
- "amount": 0,
- "currency": "string"
}
}, - "limit_visibility": "SHARED",
- "templateId": "string",
- "budget_type": "BUDGET"
}
Archives a Spend Limit, making it unusable for future expenses and removing it from the UI
The Spend Limit that was archived
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X POST \ 'https://platform.brexapis.com/v1/budgets/{id}/archive' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Lists Budget Programs belonging to this account
A page with a list of Budget Programs
Bad request
Unauthorized
Forbidden
curl -i -X GET \ https://platform.brexapis.com/v1/budget_programs \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "next_cursor": "string",
- "items": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "budget_blueprints": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "limit_visibility": "SHARED"
}
], - "existing_budget_ids": [
- "string"
], - "employee_filter": {
- "employment_status": "EMPLOYMENT_STATUS_ACTIVE",
- "employment_type": "EMPLOYMENT_TYPE_FULL_TIME"
}, - "budget_program_status": "BUDGET_PROGRAM_STATUS_ACTIVE",
- "creator_user_id": "string",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24"
}
]
}
Creates a Budget Program
The Budget Program that was created
Bad request
Unauthorized
Forbidden
{- "existing_budget_ids": [
- "string"
], - "budget_blueprints": [
- {
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "limit_visibility": "SHARED"
}
], - "employee_filter": {
- "employment_status": "EMPLOYMENT_STATUS_ACTIVE",
- "employment_type": "EMPLOYMENT_TYPE_FULL_TIME"
}, - "name": "string",
- "description": "string"
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "budget_blueprints": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "limit_visibility": "SHARED"
}
], - "existing_budget_ids": [
- "string"
], - "employee_filter": {
- "employment_status": "EMPLOYMENT_STATUS_ACTIVE",
- "employment_type": "EMPLOYMENT_TYPE_FULL_TIME"
}, - "budget_program_status": "BUDGET_PROGRAM_STATUS_ACTIVE",
- "creator_user_id": "string",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24"
}
Retrieves a Budget Program by ID
The Budget Program that was retrieved
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X GET \ 'https://platform.brexapis.com/v1/budget_programs/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "id": "string",
- "name": "string",
- "description": "string",
- "budget_blueprints": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "limit_visibility": "SHARED"
}
], - "existing_budget_ids": [
- "string"
], - "employee_filter": {
- "employment_status": "EMPLOYMENT_STATUS_ACTIVE",
- "employment_type": "EMPLOYMENT_TYPE_FULL_TIME"
}, - "budget_program_status": "BUDGET_PROGRAM_STATUS_ACTIVE",
- "creator_user_id": "string",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24"
}
Updates a Budget Program
The Budget Program that was updated
Bad request
Unauthorized
Forbidden
Not Found
{- "existing_budget_ids": [
- "string"
], - "budget_blueprints": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY"
}
], - "employee_filter": {
- "employment_status": "EMPLOYMENT_STATUS_ACTIVE",
- "employment_type": "EMPLOYMENT_TYPE_FULL_TIME"
}, - "name": "string",
- "description": "string"
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "budget_blueprints": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_type": "WEEKLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "limit_visibility": "SHARED"
}
], - "existing_budget_ids": [
- "string"
], - "employee_filter": {
- "employment_status": "EMPLOYMENT_STATUS_ACTIVE",
- "employment_type": "EMPLOYMENT_TYPE_FULL_TIME"
}, - "budget_program_status": "BUDGET_PROGRAM_STATUS_ACTIVE",
- "creator_user_id": "string",
- "created_at": "2019-08-24",
- "updated_at": "2019-08-24"
}
Delete a Budget Program by ID
The Budget Program that was deleted
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X DELETE \ 'https://platform.brexapis.com/v1/budget_programs/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Retrieves a list of Budgets
A page with a list of Budgets
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X GET \ https://platform.brexapis.com/v2/budgets \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "next_cursor": "string",
- "items": [
- {
- "budget_id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_recurrence_type": "MONTHLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "spend_budget_status": "ACTIVE",
- "limit_type": "HARD"
}
]
}
Creates a Budget
The Budget that was created
Bad request
Unauthorized
Forbidden
{- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_recurrence_type": "MONTHLY",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
{- "budget_id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_recurrence_type": "MONTHLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "spend_budget_status": "ACTIVE",
- "limit_type": "HARD"
}
Retrieves a Budget by ID
The Budget that was retrieved
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X GET \ 'https://platform.brexapis.com/v2/budgets/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "budget_id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_recurrence_type": "MONTHLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "spend_budget_status": "ACTIVE",
- "limit_type": "HARD"
}
Updates a Budget
The Budget that was updated
Bad request
Unauthorized
Forbidden
Not Found
{- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_recurrence_type": "MONTHLY",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "limit_type": "HARD",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
{- "budget_id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "owner_user_ids": [
- "string"
], - "period_recurrence_type": "MONTHLY",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "spend_budget_status": "ACTIVE",
- "limit_type": "HARD"
}
Archives a Budget, making any Spend Limits beneath it unusable for future expenses and removing it from the UI
The Budget that was archived
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X POST \ 'https://platform.brexapis.com/v2/budgets/{id}/archive' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Retrieves a list of Spend Limits
A page with a list of Spend Limits
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X GET \ https://platform.brexapis.com/v2/spend_limits \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "next_cursor": "string",
- "items": [
- {
- "id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "status": "ACTIVE",
- "period_recurrence_type": "PER_WEEK",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "start_time_utc": "2019-08-24T14:15:22Z",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "authorization_settings": {
- "base_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_buffer_percentage": 0,
- "authorization_type": "HARD",
- "rollover_refresh_rate": "OFF",
- "limit_with_increases": {
- "amount": 0,
- "currency": "string"
}
}, - "expense_visibility": "SHARED",
- "authorization_visibility": "PUBLIC",
- "merchant_category_controls": {
- "allowed_merchant_categories": [
- "ADVERTISING_MARKETING"
], - "blocked_merchant_categories": [
- "ADVERTISING_MARKETING"
]
}, - "transaction_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_increase_setting": "ENABLED",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "auto_transfer_cards_setting": "DISABLED",
- "auto_create_limit_cards_setting": "DISABLED",
- "expense_policy_id": "string",
- "limit_increase_request_policy_id": "string",
- "limit_approval_policy_id": "string"
}
]
}
Creates a Spend Limit
The Spend Limit that was created
Bad request
Unauthorized
Forbidden
{- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "period_recurrence_type": "PER_WEEK",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "authorization_settings": {
- "base_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_buffer_percentage": 0,
- "authorization_type": "HARD",
- "rollover_refresh_rate": "OFF"
}, - "expense_visibility": "SHARED",
- "authorization_visibility": "PUBLIC",
- "transaction_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_increase_setting": "ENABLED",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "auto_transfer_cards_setting": "DISABLED",
- "auto_create_limit_cards_setting": "DISABLED",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "expense_policy_id": "string",
- "limit_increase_request_policy_id": "string",
- "limit_approval_policy_id": "string"
}
{- "id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "status": "ACTIVE",
- "period_recurrence_type": "PER_WEEK",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "start_time_utc": "2019-08-24T14:15:22Z",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "authorization_settings": {
- "base_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_buffer_percentage": 0,
- "authorization_type": "HARD",
- "rollover_refresh_rate": "OFF",
- "limit_with_increases": {
- "amount": 0,
- "currency": "string"
}
}, - "expense_visibility": "SHARED",
- "authorization_visibility": "PUBLIC",
- "merchant_category_controls": {
- "allowed_merchant_categories": [
- "ADVERTISING_MARKETING"
], - "blocked_merchant_categories": [
- "ADVERTISING_MARKETING"
]
}, - "transaction_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_increase_setting": "ENABLED",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "auto_transfer_cards_setting": "DISABLED",
- "auto_create_limit_cards_setting": "DISABLED",
- "expense_policy_id": "string",
- "limit_increase_request_policy_id": "string",
- "limit_approval_policy_id": "string"
}
Retrieves a Spend Limit by ID
The Spend Limit that was retrieved
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X GET \ 'https://platform.brexapis.com/v2/spend_limits/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "status": "ACTIVE",
- "period_recurrence_type": "PER_WEEK",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "start_time_utc": "2019-08-24T14:15:22Z",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "authorization_settings": {
- "base_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_buffer_percentage": 0,
- "authorization_type": "HARD",
- "rollover_refresh_rate": "OFF",
- "limit_with_increases": {
- "amount": 0,
- "currency": "string"
}
}, - "expense_visibility": "SHARED",
- "authorization_visibility": "PUBLIC",
- "merchant_category_controls": {
- "allowed_merchant_categories": [
- "ADVERTISING_MARKETING"
], - "blocked_merchant_categories": [
- "ADVERTISING_MARKETING"
]
}, - "transaction_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_increase_setting": "ENABLED",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "auto_transfer_cards_setting": "DISABLED",
- "auto_create_limit_cards_setting": "DISABLED",
- "expense_policy_id": "string",
- "limit_increase_request_policy_id": "string",
- "limit_approval_policy_id": "string"
}
Updates a Spend Limit
The Spend Limit that was updated
Bad request
Unauthorized
Forbidden
Not Found
{- "name": "string",
- "description": "string",
- "status": "ACTIVE",
- "period_recurrence_type": "PER_WEEK",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "authorization_settings": {
- "base_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_buffer_percentage": 0,
- "authorization_type": "HARD",
- "rollover_refresh_rate": "OFF"
}, - "expense_visibility": "SHARED",
- "authorization_visibility": "PUBLIC",
- "merchant_category_controls": {
- "allowed_merchant_categories": [
- "ADVERTISING_MARKETING"
], - "blocked_merchant_categories": [
- "ADVERTISING_MARKETING"
]
}, - "transaction_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_increase_setting": "ENABLED",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "auto_transfer_cards_setting": "DISABLED",
- "auto_create_limit_cards_setting": "DISABLED",
- "owner_user_ids": [
- "string"
], - "member_user_ids": [
- "string"
], - "expense_policy_id": "string",
- "limit_increase_request_policy_id": "string",
- "limit_approval_policy_id": "string"
}
{- "id": "string",
- "account_id": "string",
- "name": "string",
- "description": "string",
- "parent_budget_id": "string",
- "status": "ACTIVE",
- "period_recurrence_type": "PER_WEEK",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "start_time_utc": "2019-08-24T14:15:22Z",
- "end_time_utc": "2019-08-24T14:15:22Z",
- "authorization_settings": {
- "base_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_buffer_percentage": 0,
- "authorization_type": "HARD",
- "rollover_refresh_rate": "OFF",
- "limit_with_increases": {
- "amount": 0,
- "currency": "string"
}
}, - "expense_visibility": "SHARED",
- "authorization_visibility": "PUBLIC",
- "merchant_category_controls": {
- "allowed_merchant_categories": [
- "ADVERTISING_MARKETING"
], - "blocked_merchant_categories": [
- "ADVERTISING_MARKETING"
]
}, - "transaction_limit": {
- "amount": 0,
- "currency": "string"
}, - "limit_increase_setting": "ENABLED",
- "spend_type": "BUDGET_PROVISIONED_CARDS_ONLY",
- "auto_transfer_cards_setting": "DISABLED",
- "auto_create_limit_cards_setting": "DISABLED",
- "expense_policy_id": "string",
- "limit_increase_request_policy_id": "string",
- "limit_approval_policy_id": "string"
}
Archives a Spend Limit, making it unusable for future expenses and removing it from the UI
The Spend Limit that was archived
Bad request
Unauthorized
Forbidden
Not Found
curl -i -X POST \ 'https://platform.brexapis.com/v2/spend_limits/{id}/archive' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'