Skip to content

BudgetsComponents

Defined in: src/budgets/types.gen.ts:249

headers: never

Defined in: src/budgets/types.gen.ts:985


parameters: never

Defined in: src/budgets/types.gen.ts:983


pathItems: never

Defined in: src/budgets/types.gen.ts:986


requestBodies: never

Defined in: src/budgets/types.gen.ts:984


responses: never

Defined in: src/budgets/types.gen.ts:982


schemas: object

Defined in: src/budgets/types.gen.ts:250

AuthorizationSettings: object

authorization_type: "HARD" | "SOFT"

base_limit: object

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
AuthorizationSettings.limit_buffer_percentage?
Section titled “AuthorizationSettings.limit_buffer_percentage?”

optional limit_buffer_percentage?: number | null

Format: int32

The percentage of flexible buffer on the limit as a 0-100 integer.

AuthorizationSettings.limit_with_increases
Section titled “AuthorizationSettings.limit_with_increases”

limit_with_increases: object

AuthorizationSettings.limit_with_increases.amount
Section titled “AuthorizationSettings.limit_with_increases.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
AuthorizationSettings.limit_with_increases.currency
Section titled “AuthorizationSettings.limit_with_increases.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
AuthorizationSettings.rollover_refresh_rate
Section titled “AuthorizationSettings.rollover_refresh_rate”

rollover_refresh_rate: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR"

AuthorizationType: "HARD" | "SOFT"

Whether authorizations will decline based on available balance.

AuthorizationVisibility: "PUBLIC" | "PRIVATE"

Describes if the limit of the Spend Limit is visible to all members, or just controllers, bookkeepers, and owners (direct or ancestral).

AutoCreateLimitCardsSetting: "DISABLED" | "ALL_MEMBERS"

Setting for how auto limit card creation works for members.

AutoTransferCardsSetting: "DISABLED" | "ENABLED"

Setting for how auto transfer works for virtual cards.

Budget: object

account_id: string

The Brex account this Spend Limit belongs to.

budget_id: string

Unique ID for the Spend Limit.

budget_status: "DELETED" | "APPROVED" | "EXPIRED" | "TERMINATED"

budget_type: "BUDGET" | "SPEND_LIMIT"

optional creator_user_id?: string | null

The ID of the user who originally created this Spend Limit.

optional current_period_balance?: { balance?: { amount: number; currency: string | null; } | null; end_date?: string | null; start_date?: string | null; } | null

{ balance?: { amount: number; currency: string | null; } | null; end_date?: string | null; start_date?: string | null; }

optional balance?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional end_date?: string | null

Format: date

optional start_date?: string | null

Format: date


null

optional description?: string | null

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The UTC date when the Spend Limit should stop counting.

optional limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional limit_type?: "HARD" | "SOFT" | null

limit_visibility: "PRIVATE" | "SHARED"

member_user_ids: string[]

User IDs of the members of the Spend Limit.

name: string

Name for the Spend Limit.

owner_user_ids: string[]

User IDs of the owners of the Spend Limit.

optional parent_budget_id?: string | null

ID of parent Budget.

period_type: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

spend_type: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED"

optional start_date?: string | null

Format: date

The UTC date when the Spend Limit should start counting.

optional templateId?: string | null

BudgetBlueprint: object

Blueprint for provisioning Spend Limits for a Budget Program.

optional description?: string | null

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The UTC date when the Spend Limit should stop counting.

id: string

optional limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

limit_type: "HARD" | "SOFT"

limit_visibility: "PRIVATE" | "SHARED"

name: string

Name for the Spend Limit.

owner_user_ids: string[]

User IDs of the owners of the Spend Limit.

parent_budget_id: string

ID of parent Budget.

period_type: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

spend_type: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED"

optional start_date?: string | null

Format: date

The UTC date when the Spend Limit should start counting.

BudgetLimitVisibilityType: "PRIVATE" | "SHARED"

Determines if Spend Limit members are allowed to view the Spend Limit’s limit.

BudgetPeriodBalance: object

Current Spend Limit period balance.

optional balance?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional end_date?: string | null

Format: date

optional start_date?: string | null

Format: date

BudgetProgram: object

Budget Program used to create Spend Limits for eligible users.

budget_blueprints: object[]

budget_program_status: "BUDGET_PROGRAM_STATUS_ACTIVE" | "BUDGET_PROGRAM_STATUS_INACTIVE" | "BUDGET_PROGRAM_STATUS_DELETED"

created_at: string

Format: date

optional creator_user_id?: string | null

optional description?: string | null

optional employee_filter?: { employment_status?: "EMPLOYMENT_STATUS_ACTIVE" | "EMPLOYMENT_STATUS_INACTIVE" | "EMPLOYMENT_STATUS_PENDING" | null; employment_type?: "EMPLOYMENT_TYPE_FULL_TIME" | "EMPLOYMENT_TYPE_PART_TIME" | "EMPLOYMENT_TYPE_CONTRACTOR" | "EMPLOYMENT_TYPE_INTERN" | "EMPLOYMENT_TYPE_FREELANCE" | null; } | null

optional existing_budget_ids?: string[] | null

IDs for existing Spend Limits associated with this Budget Program.

id: string

name: string

updated_at: string

Format: date

BudgetProgramStatus: "BUDGET_PROGRAM_STATUS_ACTIVE" | "BUDGET_PROGRAM_STATUS_INACTIVE" | "BUDGET_PROGRAM_STATUS_DELETED"

BudgetStatus: "DELETED" | "APPROVED" | "EXPIRED" | "TERMINATED"

Status of the Spend Limit e.g. APPROVED.

BudgetType: "BUDGET" | "SPEND_LIMIT"

Whether this is a Budget or a Spend Limit for post-bifurcation entities.

CreateAuthorizationSettings: object

CreateAuthorizationSettings.authorization_type
Section titled “CreateAuthorizationSettings.authorization_type”

authorization_type: "HARD" | "SOFT"

base_limit: object

CreateAuthorizationSettings.base_limit.amount
Section titled “CreateAuthorizationSettings.base_limit.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
CreateAuthorizationSettings.base_limit.currency
Section titled “CreateAuthorizationSettings.base_limit.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
CreateAuthorizationSettings.limit_buffer_percentage?
Section titled “CreateAuthorizationSettings.limit_buffer_percentage?”

optional limit_buffer_percentage?: number | null

Format: int32

The percentage of flexible buffer on the limit as a 0-100 integer.

CreateAuthorizationSettings.rollover_refresh_rate
Section titled “CreateAuthorizationSettings.rollover_refresh_rate”

rollover_refresh_rate: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR"

CreateBudgetBlueprintRequest: object

Blueprint for provisioning Spend Limits for a Budget Program.

description: string

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The UTC date when the Spend Limit should stop counting.

limit: object

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
CreateBudgetBlueprintRequest.limit.currency
Section titled “CreateBudgetBlueprintRequest.limit.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

limit_type: "HARD" | "SOFT"

CreateBudgetBlueprintRequest.limit_visibility
Section titled “CreateBudgetBlueprintRequest.limit_visibility”

limit_visibility: "PRIVATE" | "SHARED"

name: string

Name for the Spend Limit.

CreateBudgetBlueprintRequest.owner_user_ids?
Section titled “CreateBudgetBlueprintRequest.owner_user_ids?”

optional owner_user_ids?: string[] | null

User IDs of the owners of the Spend Limit.

CreateBudgetBlueprintRequest.parent_budget_id
Section titled “CreateBudgetBlueprintRequest.parent_budget_id”

parent_budget_id: string

ID of parent Budget.

period_type: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

spend_type: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED"

optional start_date?: string | null

Format: date

The UTC date when the Spend Limit should start counting.

CreateBudgetProgramRequest: object

Budget Program used to create Spend Limits for eligible users.

CreateBudgetProgramRequest.budget_blueprints
Section titled “CreateBudgetProgramRequest.budget_blueprints”

budget_blueprints: object[]

optional description?: string | null

CreateBudgetProgramRequest.employee_filter?
Section titled “CreateBudgetProgramRequest.employee_filter?”

optional employee_filter?: { employment_status?: "EMPLOYMENT_STATUS_ACTIVE" | "EMPLOYMENT_STATUS_INACTIVE" | "EMPLOYMENT_STATUS_PENDING" | null; employment_type?: "EMPLOYMENT_TYPE_FULL_TIME" | "EMPLOYMENT_TYPE_PART_TIME" | "EMPLOYMENT_TYPE_CONTRACTOR" | "EMPLOYMENT_TYPE_INTERN" | "EMPLOYMENT_TYPE_FREELANCE" | null; } | null

CreateBudgetProgramRequest.existing_budget_ids?
Section titled “CreateBudgetProgramRequest.existing_budget_ids?”

optional existing_budget_ids?: string[] | null

IDs for existing Spend Limits associated with this Budget Program.

name: string

CreateBudgetRequest: object

description: string

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The UTC date when the Spend Limit should stop counting.

optional entity_id?: string | null

limit: object

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

limit_type: "HARD" | "SOFT"

limit_visibility: "PRIVATE" | "SHARED"

optional member_user_ids?: string[] | null

User IDs of the members of the Spend Limit.

name: string

Name for the Spend Limit.

optional owner_user_ids?: string[] | null

User IDs of the owners of the Spend Limit.

parent_budget_id: string

ID of parent Budget.

period_type: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

optional policy_id?: string | null

spend_type: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED"

optional start_date?: string | null

Format: date

The UTC date when the Spend Limit should start counting.

CreateSpendBudgetRequest: object

amount: object

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

description: string

Description of what the Budget is used for.

optional end_date?: string | null

Format: date

The date when the Budget should stop counting.

optional limit_type?: "HARD" | "SOFT" | null

name: string

Name for the Budget.

optional owner_user_ids?: string[] | null

User IDs of the owners of the Budget.

parent_budget_id: string

ID of parent Budget.

CreateSpendBudgetRequest.period_recurrence_type
Section titled “CreateSpendBudgetRequest.period_recurrence_type”

period_recurrence_type: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

optional start_date?: string | null

Format: date

The date when the Budget should start counting.

CreateSpendLimitRequest: object

CreateSpendLimitRequest.authorization_settings
Section titled “CreateSpendLimitRequest.authorization_settings”

authorization_settings: object

CreateSpendLimitRequest.authorization_settings.authorization_type
Section titled “CreateSpendLimitRequest.authorization_settings.authorization_type”

authorization_type: "HARD" | "SOFT"

CreateSpendLimitRequest.authorization_settings.base_limit
Section titled “CreateSpendLimitRequest.authorization_settings.base_limit”

base_limit: object

CreateSpendLimitRequest.authorization_settings.base_limit.amount
Section titled “CreateSpendLimitRequest.authorization_settings.base_limit.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
CreateSpendLimitRequest.authorization_settings.base_limit.currency
Section titled “CreateSpendLimitRequest.authorization_settings.base_limit.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
CreateSpendLimitRequest.authorization_settings.limit_buffer_percentage?
Section titled “CreateSpendLimitRequest.authorization_settings.limit_buffer_percentage?”

optional limit_buffer_percentage?: number | null

Format: int32

The percentage of flexible buffer on the limit as a 0-100 integer.

CreateSpendLimitRequest.authorization_settings.rollover_refresh_rate
Section titled “CreateSpendLimitRequest.authorization_settings.rollover_refresh_rate”

rollover_refresh_rate: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR"

CreateSpendLimitRequest.authorization_visibility
Section titled “CreateSpendLimitRequest.authorization_visibility”

authorization_visibility: "PUBLIC" | "PRIVATE"

CreateSpendLimitRequest.auto_create_limit_cards_setting
Section titled “CreateSpendLimitRequest.auto_create_limit_cards_setting”

auto_create_limit_cards_setting: "DISABLED" | "ALL_MEMBERS"

CreateSpendLimitRequest.auto_transfer_cards_setting
Section titled “CreateSpendLimitRequest.auto_transfer_cards_setting”

auto_transfer_cards_setting: "DISABLED" | "ENABLED"

optional department_id?: string | null

The department ID to which Spend Limit expenses will be attributed.

optional description?: string | null

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The date when the Spend Limit should expire.

expense_policy_id: string

The ID of the expense policy corresponding to this Spend Limit.

CreateSpendLimitRequest.expense_visibility
Section titled “CreateSpendLimitRequest.expense_visibility”

expense_visibility: "PRIVATE" | "SHARED"

optional legal_entity_id?: string | null

The legal entity ID to which Spend Limit expenses will be attributed. If not set, expenses will be attributed to the spending user’s entity.

CreateSpendLimitRequest.limit_approval_policy_id?
Section titled “CreateSpendLimitRequest.limit_approval_policy_id?”

optional limit_approval_policy_id?: string | null

The ID of the policy for limit increase approval requests. Meant to replace limit_increase_request_policy_id.

CreateSpendLimitRequest.limit_increase_request_policy_id?
Section titled “CreateSpendLimitRequest.limit_increase_request_policy_id?”

optional limit_increase_request_policy_id?: string | null

The ID of the policy for limit increase requests for this Spend Limit.

CreateSpendLimitRequest.limit_increase_setting
Section titled “CreateSpendLimitRequest.limit_increase_setting”

limit_increase_setting: "DISABLED" | "ENABLED"

optional member_user_ids?: string[] | null

User IDs of the members of the Spend Limit.

name: string

Name for the Spend Limit.

optional owner_user_ids?: string[] | null

User IDs of the owners of the Spend Limit.

optional parent_budget_id?: string | null

ID of parent Budget.

CreateSpendLimitRequest.period_recurrence_type
Section titled “CreateSpendLimitRequest.period_recurrence_type”

period_recurrence_type: "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | "ONE_TIME" | "PER_WEEK"

spend_type: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED"

optional start_date?: string | null

Format: date

The date when the Spend Limit should start counting.

CreateSpendLimitRequest.transaction_limit?
Section titled “CreateSpendLimitRequest.transaction_limit?”

optional transaction_limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

EmployeeFilter: object

A filter used to determine if a user adheres to a Budget Program.

optional employment_status?: "EMPLOYMENT_STATUS_ACTIVE" | "EMPLOYMENT_STATUS_INACTIVE" | "EMPLOYMENT_STATUS_PENDING" | null

optional employment_type?: "EMPLOYMENT_TYPE_FULL_TIME" | "EMPLOYMENT_TYPE_PART_TIME" | "EMPLOYMENT_TYPE_CONTRACTOR" | "EMPLOYMENT_TYPE_INTERN" | "EMPLOYMENT_TYPE_FREELANCE" | null

EmploymentStatus: "EMPLOYMENT_STATUS_ACTIVE" | "EMPLOYMENT_STATUS_INACTIVE" | "EMPLOYMENT_STATUS_PENDING"

A filter used to determine if a user adheres to a Budget Program.

EmploymentType: "EMPLOYMENT_TYPE_FULL_TIME" | "EMPLOYMENT_TYPE_PART_TIME" | "EMPLOYMENT_TYPE_CONTRACTOR" | "EMPLOYMENT_TYPE_INTERN" | "EMPLOYMENT_TYPE_FREELANCE"

What kind of employment the employee has.

ExpenseVisibility: "PRIVATE" | "SHARED"

Whether or not expense related to this Spend Limit should be viewable to all members.

LimitIncreaseSetting: "DISABLED" | "ENABLED"

Whether or not members can request limit increases.

LimitType: "HARD" | "SOFT"

Whether the Spend Limit’s limit blocks spend.

LimitType_1: "HARD" | "SOFT"

Whether the Budget amount blocks spend. HARD is rejected; use /v2/spend_limits for hard-auth limits.

LimitType_3: "HARD" | "SOFT"

Whether the Budget amount blocks spend. HARD is rejected; use /v2/spend_limits for hard-auth limits.

LimitType_4: "HARD" | "SOFT"

Whether the Budget amount blocks spend. HARD is rejected; use /v2/spend_limits for hard-auth limits.

MerchantCategory: "ADVERTISING_MARKETING" | "GROCERY" | "TELEPHONY" | "OFFICE_SUPPLIES" | "PRIVATE_AIR_TRAVEL" | "CLOTHING" | "CAR_RENTAL" | "VEHICLE_EXPENSES" | "RESTAURANTS" | "GAMBLING" | "FLOWERS" | "ELECTRONICS" | "LEGAL_SERVICES" | "UTILITIES" | "FURNITURE" | "BARS_NIGHTLIFE" | "LAUNDRY" | "EVENT_EXPENSES" | "SHIPPING" | "OTHER_TRAVEL_EXPENSES" | "CHARITY" | "SOFTWARE" | "LODGING" | "FACILITIES_EXPENSES" | "SERVERS" | "CONFERENCES" | "FOOD_DELIVERY" | "RENT" | "AIRLINE_EXPENSES" | "OTHER_BUSINESS_EXPENSES" | "BANK_FINANCIAL_FEES" | "BOOKS_NEWSPAPERS" | "CONSULTANT_CONTRACTOR" | "CORPORATE_INSURANCE" | "DIGITAL_GOODS" | "LICENSES_TAXES" | "GAS_FUEL" | "GENERAL_MERCHANDISE" | "MEDICAL" | "MEMBERSHIPS_CLUBS" | "PARKING_EXPENSES" | "POLITICAL_DONATIONS" | "PUBLIC_TRANSPORTATION" | "RECURRING_SOFTWARE_SAAS" | "RIDESHARE_TAXI" | "TOLL_BRIDGE_FEES" | "TRAINING_EDUCATION" | "TRAVEL"

MerchantCategoryControls: object

MerchantCategoryControls.allowed_merchant_categories?
Section titled “MerchantCategoryControls.allowed_merchant_categories?”

optional allowed_merchant_categories?: ("ADVERTISING_MARKETING" | "GROCERY" | "TELEPHONY" | "OFFICE_SUPPLIES" | "PRIVATE_AIR_TRAVEL" | "CLOTHING" | "CAR_RENTAL" | "VEHICLE_EXPENSES" | "RESTAURANTS" | "GAMBLING" | "FLOWERS" | "ELECTRONICS" | "LEGAL_SERVICES" | "UTILITIES" | "FURNITURE" | "BARS_NIGHTLIFE" | "LAUNDRY" | "EVENT_EXPENSES" | "SHIPPING" | "OTHER_TRAVEL_EXPENSES" | "CHARITY" | "SOFTWARE" | "LODGING" | "FACILITIES_EXPENSES" | "SERVERS" | "CONFERENCES" | "FOOD_DELIVERY" | "RENT" | "AIRLINE_EXPENSES" | "OTHER_BUSINESS_EXPENSES" | "BANK_FINANCIAL_FEES" | "BOOKS_NEWSPAPERS" | "CONSULTANT_CONTRACTOR" | "CORPORATE_INSURANCE" | "DIGITAL_GOODS" | "LICENSES_TAXES" | "GAS_FUEL" | "GENERAL_MERCHANDISE" | "MEDICAL" | "MEMBERSHIPS_CLUBS" | "PARKING_EXPENSES" | "POLITICAL_DONATIONS" | "PUBLIC_TRANSPORTATION" | "RECURRING_SOFTWARE_SAAS" | "RIDESHARE_TAXI" | "TOLL_BRIDGE_FEES" | "TRAINING_EDUCATION" | "TRAVEL")[] | null

MerchantCategoryControls.blocked_merchant_categories?
Section titled “MerchantCategoryControls.blocked_merchant_categories?”

optional blocked_merchant_categories?: ("ADVERTISING_MARKETING" | "GROCERY" | "TELEPHONY" | "OFFICE_SUPPLIES" | "PRIVATE_AIR_TRAVEL" | "CLOTHING" | "CAR_RENTAL" | "VEHICLE_EXPENSES" | "RESTAURANTS" | "GAMBLING" | "FLOWERS" | "ELECTRONICS" | "LEGAL_SERVICES" | "UTILITIES" | "FURNITURE" | "BARS_NIGHTLIFE" | "LAUNDRY" | "EVENT_EXPENSES" | "SHIPPING" | "OTHER_TRAVEL_EXPENSES" | "CHARITY" | "SOFTWARE" | "LODGING" | "FACILITIES_EXPENSES" | "SERVERS" | "CONFERENCES" | "FOOD_DELIVERY" | "RENT" | "AIRLINE_EXPENSES" | "OTHER_BUSINESS_EXPENSES" | "BANK_FINANCIAL_FEES" | "BOOKS_NEWSPAPERS" | "CONSULTANT_CONTRACTOR" | "CORPORATE_INSURANCE" | "DIGITAL_GOODS" | "LICENSES_TAXES" | "GAS_FUEL" | "GENERAL_MERCHANDISE" | "MEDICAL" | "MEMBERSHIPS_CLUBS" | "PARKING_EXPENSES" | "POLITICAL_DONATIONS" | "PUBLIC_TRANSPORTATION" | "RECURRING_SOFTWARE_SAAS" | "RIDESHARE_TAXI" | "TOLL_BRIDGE_FEES" | "TRAINING_EDUCATION" | "TRAVEL")[] | null

Money: object

Money fields can be signed or unsigned. Fields are signed (an unsigned value will be interpreted as positive). The amount of money will be represented in the smallest denomination of the currency indicated. For example, USD 7.00 will be represented in cents with an amount of 700.

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

Page_Budget_: object

items: object[]

optional next_cursor?: string | null

Page_BudgetProgram_: object

items: object[]

optional next_cursor?: string | null

Page_SpendBudget_: object

items: object[]

optional next_cursor?: string | null

Page_SpendLimit_: object

items: object[]

optional next_cursor?: string | null

PeriodRecurrenceType: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

Period type of the Budget e.g. MONTHLY.

PeriodType: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

Period type of the Spend Limit e.g. MONTHLY.

RolloverRefreshRate: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR"

The rollover refresh rate for this spend limit (the recurrence by which all rolled over unused funds within the cycle should no longer roll over to the next period).

SpendBudget: object

account_id: string

The Brex account this Budget belongs to.

optional amount?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

budget_id: string

Unique ID for the Budget.

optional description?: string | null

Description of what the Budget is used for.

optional end_date?: string | null

Format: date

The date when the Budget should stop counting.

optional limit_type?: "HARD" | "SOFT" | null

name: string

Name for the Budget.

owner_user_ids: string[]

User IDs of the owners of the Budget.

optional parent_budget_id?: string | null

ID of parent Budget.

period_recurrence_type: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME"

spend_budget_status: "ACTIVE" | "ARCHIVED" | "DELETED" | "EXPIRED"

optional start_date?: string | null

Format: date

The date when the Budget should start counting.

SpendBudgetStatus: "ACTIVE" | "ARCHIVED" | "DELETED" | "EXPIRED"

Status of the Budget e.g. ACTIVE.

SpendLimit: object

account_id: string

The Brex account this Spend Limit belongs to.

optional authorization_settings?: { authorization_type: "HARD" | "SOFT"; base_limit: { amount: number; currency: string | null; }; limit_buffer_percentage?: number | null; limit_with_increases: { amount: number; currency: string | null; }; rollover_refresh_rate: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR"; } | null

{ authorization_type: "HARD" | "SOFT"; base_limit: { amount: number; currency: string | null; }; limit_buffer_percentage?: number | null; limit_with_increases: { amount: number; currency: string | null; }; rollover_refresh_rate: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR"; }

authorization_type: "HARD" | "SOFT"

base_limit: object

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

optional limit_buffer_percentage?: number | null

Format: int32

The percentage of flexible buffer on the limit as a 0-100 integer.

limit_with_increases: object

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

rollover_refresh_rate: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR"


null

authorization_visibility: "PUBLIC" | "PRIVATE"

SpendLimit.auto_create_limit_cards_setting
Section titled “SpendLimit.auto_create_limit_cards_setting”

auto_create_limit_cards_setting: "DISABLED" | "ALL_MEMBERS"

auto_transfer_cards_setting: "DISABLED" | "ENABLED"

optional current_period_balance?: { amount_spent?: { amount: number; currency: string | null; } | null; end_date?: string | null; end_time?: string | null; rollover_amount?: { amount: number; currency: string | null; } | null; start_date?: string | null; start_time?: string | null; } | null

{ amount_spent?: { amount: number; currency: string | null; } | null; end_date?: string | null; end_time?: string | null; rollover_amount?: { amount: number; currency: string | null; } | null; start_date?: string | null; start_time?: string | null; }

optional amount_spent?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional end_date?: string | null

Format: date

optional end_time?: string | null

Format: date-time

optional rollover_amount?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional start_date?: string | null

Format: date

optional start_time?: string | null

Format: date-time


null

optional department_id?: string | null

The department ID to which Spend Limit expenses will be attributed.

optional description?: string | null

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The date when the Spend Limit should expire.

optional end_time_utc?: string | null

Format: date-time

The UTC time when the Spend Limit should expire.

expense_policy_id: string

The ID of the expense policy corresponding to this Spend Limit.

expense_visibility: "PRIVATE" | "SHARED"

id: string

Unique ID for the Spend Limit.

optional legal_entity_id?: string | null

The legal entity ID to which Spend Limit expenses will be attributed. If not set, expenses will be attributed to the spending user’s entity.

optional limit_approval_policy_id?: string | null

The ID of the policy for limit increase approval requests. Meant to replace limit_increase_request_policy_id.

SpendLimit.limit_increase_request_policy_id?
Section titled “SpendLimit.limit_increase_request_policy_id?”

optional limit_increase_request_policy_id?: string | null

The ID of the policy for limit increase requests for this Spend Limit.

limit_increase_setting: "DISABLED" | "ENABLED"

member_user_ids: string[]

User IDs of the members of the Spend Limit.

optional merchant_category_controls?: { allowed_merchant_categories?: ("ADVERTISING_MARKETING" | "GROCERY" | "TELEPHONY" | "OFFICE_SUPPLIES" | "PRIVATE_AIR_TRAVEL" | "CLOTHING" | "CAR_RENTAL" | "VEHICLE_EXPENSES" | "RESTAURANTS" | "GAMBLING" | "FLOWERS" | "ELECTRONICS" | "LEGAL_SERVICES" | "UTILITIES" | "FURNITURE" | "BARS_NIGHTLIFE" | "LAUNDRY" | "EVENT_EXPENSES" | "SHIPPING" | "OTHER_TRAVEL_EXPENSES" | "CHARITY" | "SOFTWARE" | "LODGING" | "FACILITIES_EXPENSES" | "SERVERS" | "CONFERENCES" | "FOOD_DELIVERY" | "RENT" | "AIRLINE_EXPENSES" | "OTHER_BUSINESS_EXPENSES" | "BANK_FINANCIAL_FEES" | "BOOKS_NEWSPAPERS" | "CONSULTANT_CONTRACTOR" | "CORPORATE_INSURANCE" | "DIGITAL_GOODS" | "LICENSES_TAXES" | "GAS_FUEL" | "GENERAL_MERCHANDISE" | "MEDICAL" | "MEMBERSHIPS_CLUBS" | "PARKING_EXPENSES" | "POLITICAL_DONATIONS" | "PUBLIC_TRANSPORTATION" | "RECURRING_SOFTWARE_SAAS" | "RIDESHARE_TAXI" | "TOLL_BRIDGE_FEES" | "TRAINING_EDUCATION" | "TRAVEL")[] | null; blocked_merchant_categories?: ("ADVERTISING_MARKETING" | "GROCERY" | "TELEPHONY" | "OFFICE_SUPPLIES" | "PRIVATE_AIR_TRAVEL" | "CLOTHING" | "CAR_RENTAL" | "VEHICLE_EXPENSES" | "RESTAURANTS" | "GAMBLING" | "FLOWERS" | "ELECTRONICS" | "LEGAL_SERVICES" | "UTILITIES" | "FURNITURE" | "BARS_NIGHTLIFE" | "LAUNDRY" | "EVENT_EXPENSES" | "SHIPPING" | "OTHER_TRAVEL_EXPENSES" | "CHARITY" | "SOFTWARE" | "LODGING" | "FACILITIES_EXPENSES" | "SERVERS" | "CONFERENCES" | "FOOD_DELIVERY" | "RENT" | "AIRLINE_EXPENSES" | "OTHER_BUSINESS_EXPENSES" | "BANK_FINANCIAL_FEES" | "BOOKS_NEWSPAPERS" | "CONSULTANT_CONTRACTOR" | "CORPORATE_INSURANCE" | "DIGITAL_GOODS" | "LICENSES_TAXES" | "GAS_FUEL" | "GENERAL_MERCHANDISE" | "MEDICAL" | "MEMBERSHIPS_CLUBS" | "PARKING_EXPENSES" | "POLITICAL_DONATIONS" | "PUBLIC_TRANSPORTATION" | "RECURRING_SOFTWARE_SAAS" | "RIDESHARE_TAXI" | "TOLL_BRIDGE_FEES" | "TRAINING_EDUCATION" | "TRAVEL")[] | null; } | null

name: string

Name for the Spend Limit.

owner_user_ids: string[]

User IDs of the owners of the Spend Limit.

optional parent_budget_id?: string | null

ID of parent Budget.

period_recurrence_type: "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | "ONE_TIME" | "PER_WEEK"

spend_type: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED"

optional start_date?: string | null

Format: date

The date when the Spend Limit should start counting.

optional start_time_utc?: string | null

Format: date-time

The UTC time when the Spend Limit should start counting.

status: "ACTIVE" | "ARCHIVED" | "DELETED" | "EXPIRED"

optional transaction_limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

SpendLimitPeriodBalance: object

optional amount_spent?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional end_date?: string | null

Format: date

optional end_time?: string | null

Format: date-time

optional rollover_amount?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional start_date?: string | null

Format: date

optional start_time?: string | null

Format: date-time

SpendLimitPeriodRecurrenceType: "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | "ONE_TIME" | "PER_WEEK"

Period type of the Spend Limit e.g. MONTHLY.

SpendLimitStatus: "ACTIVE" | "ARCHIVED" | "DELETED" | "EXPIRED"

Status of the Spend Limit e.g. ACTIVE.

SpendType: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED"

Whether this Spend Limit only can be spent from by cards provisioned by this Spend Limit.

UpdateAuthorizationSettings: object

UpdateAuthorizationSettings.authorization_type?
Section titled “UpdateAuthorizationSettings.authorization_type?”

optional authorization_type?: "HARD" | "SOFT" | null

optional base_limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

UpdateAuthorizationSettings.limit_buffer_percentage?
Section titled “UpdateAuthorizationSettings.limit_buffer_percentage?”

optional limit_buffer_percentage?: number | null

Format: int32

The percentage of flexible buffer on the limit as a 0-100 integer.

UpdateAuthorizationSettings.rollover_refresh_rate?
Section titled “UpdateAuthorizationSettings.rollover_refresh_rate?”

optional rollover_refresh_rate?: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | null

UpdateBudgetBlueprintRequest: object

Blueprint for provisioning Spend Limits for a Budget Program.

optional description?: string | null

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The UTC date when the Spend Limit should stop counting.

optional id?: string | null

ID of budget blueprint to update, omit if adding new budget blueprint to budget program.

optional limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional limit_type?: "HARD" | "SOFT" | null

optional name?: string | null

Name for the Spend Limit.

UpdateBudgetBlueprintRequest.owner_user_ids?
Section titled “UpdateBudgetBlueprintRequest.owner_user_ids?”

optional owner_user_ids?: string[] | null

User IDs of the owners of the Spend Limit.

UpdateBudgetBlueprintRequest.parent_budget_id?
Section titled “UpdateBudgetBlueprintRequest.parent_budget_id?”

optional parent_budget_id?: string | null

ID of parent Budget.

optional period_type?: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME" | null

optional spend_type?: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED" | null

optional start_date?: string | null

Format: date

The UTC date when the Spend Limit should start counting.

UpdateBudgetProgramRequest: object

Budget Program used to create Spend Limits for eligible users.

UpdateBudgetProgramRequest.budget_blueprints?
Section titled “UpdateBudgetProgramRequest.budget_blueprints?”

optional budget_blueprints?: object[] | null

The Blueprints to update the budget program with. Blueprints without an ID are treated as new blueprints to be created. Blueprints that exist currently on the Budget Program, but are missing from the input, will be deleted.

optional description?: string | null

UpdateBudgetProgramRequest.employee_filter?
Section titled “UpdateBudgetProgramRequest.employee_filter?”

optional employee_filter?: { employment_status?: "EMPLOYMENT_STATUS_ACTIVE" | "EMPLOYMENT_STATUS_INACTIVE" | "EMPLOYMENT_STATUS_PENDING" | null; employment_type?: "EMPLOYMENT_TYPE_FULL_TIME" | "EMPLOYMENT_TYPE_PART_TIME" | "EMPLOYMENT_TYPE_CONTRACTOR" | "EMPLOYMENT_TYPE_INTERN" | "EMPLOYMENT_TYPE_FREELANCE" | null; } | null

UpdateBudgetProgramRequest.existing_budget_ids?
Section titled “UpdateBudgetProgramRequest.existing_budget_ids?”

optional existing_budget_ids?: string[] | null

IDs for existing Spend Limits associated with this Budget Program.

optional name?: string | null

UpdateBudgetRequest: object

optional description?: string | null

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The UTC date when the Spend Limit should stop counting.

optional limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional limit_type?: "HARD" | "SOFT" | null

optional limit_visibility?: "PRIVATE" | "SHARED" | null

optional member_user_ids?: string[] | null

User IDs of the members of the Spend Limit.

optional name?: string | null

Name for the Spend Limit.

optional owner_user_ids?: string[] | null

User IDs of the owners of the Spend Limit.

optional period_type?: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME" | null

optional spend_type?: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED" | null

optional start_date?: string | null

Format: date

The UTC date when the Spend Limit should start counting.

UpdateSpendBudgetRequest: object

optional amount?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional description?: string | null

Description of what the Budget is used for.

optional end_date?: string | null

Format: date

The date when the Budget should stop counting.

optional limit_type?: "HARD" | "SOFT" | null

optional name?: string | null

Name for the Budget.

optional owner_user_ids?: string[] | null

User IDs of the owners of the Budget.

UpdateSpendBudgetRequest.parent_budget_id?
Section titled “UpdateSpendBudgetRequest.parent_budget_id?”

optional parent_budget_id?: string | null

ID of parent Budget.

UpdateSpendBudgetRequest.period_recurrence_type?
Section titled “UpdateSpendBudgetRequest.period_recurrence_type?”

optional period_recurrence_type?: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "ONE_TIME" | null

optional start_date?: string | null

Format: date

The date when the Budget should start counting.

UpdateSpendLimitRequest: object

UpdateSpendLimitRequest.authorization_settings?
Section titled “UpdateSpendLimitRequest.authorization_settings?”

optional authorization_settings?: { authorization_type?: "HARD" | "SOFT" | null; base_limit?: { amount: number; currency: string | null; } | null; limit_buffer_percentage?: number | null; rollover_refresh_rate?: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | null; } | null

{ authorization_type?: "HARD" | "SOFT" | null; base_limit?: { amount: number; currency: string | null; } | null; limit_buffer_percentage?: number | null; rollover_refresh_rate?: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | null; }

optional authorization_type?: "HARD" | "SOFT" | null

optional base_limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null

optional limit_buffer_percentage?: number | null

Format: int32

The percentage of flexible buffer on the limit as a 0-100 integer.

optional rollover_refresh_rate?: "OFF" | "NEVER" | "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | null


null

UpdateSpendLimitRequest.authorization_visibility?
Section titled “UpdateSpendLimitRequest.authorization_visibility?”

optional authorization_visibility?: "PUBLIC" | "PRIVATE" | null

UpdateSpendLimitRequest.auto_create_limit_cards_setting?
Section titled “UpdateSpendLimitRequest.auto_create_limit_cards_setting?”

optional auto_create_limit_cards_setting?: "DISABLED" | "ALL_MEMBERS" | null

UpdateSpendLimitRequest.auto_transfer_cards_setting?
Section titled “UpdateSpendLimitRequest.auto_transfer_cards_setting?”

optional auto_transfer_cards_setting?: "DISABLED" | "ENABLED" | null

optional department_id?: string | null

The department ID to which Spend Limit expenses will be attributed.

optional description?: string | null

Description of what the Spend Limit is used for.

optional end_date?: string | null

Format: date

The date when the Spend Limit should expire.

UpdateSpendLimitRequest.expense_policy_id?
Section titled “UpdateSpendLimitRequest.expense_policy_id?”

optional expense_policy_id?: string | null

The ID of the expense policy corresponding to this Spend Limit.

UpdateSpendLimitRequest.expense_visibility?
Section titled “UpdateSpendLimitRequest.expense_visibility?”

optional expense_visibility?: "PRIVATE" | "SHARED" | null

optional legal_entity_id?: string | null

The legal entity ID to which Spend Limit expenses will be attributed. If not set, expenses will be attributed to the spending user’s entity.

UpdateSpendLimitRequest.limit_approval_policy_id?
Section titled “UpdateSpendLimitRequest.limit_approval_policy_id?”

optional limit_approval_policy_id?: string | null

The ID of the policy for limit increase approval requests. Meant to replace limit_increase_request_policy_id.

UpdateSpendLimitRequest.limit_increase_request_policy_id?
Section titled “UpdateSpendLimitRequest.limit_increase_request_policy_id?”

optional limit_increase_request_policy_id?: string | null

The ID of the policy for limit increase requests for this Spend Limit.

UpdateSpendLimitRequest.limit_increase_setting?
Section titled “UpdateSpendLimitRequest.limit_increase_setting?”

optional limit_increase_setting?: "DISABLED" | "ENABLED" | null

optional member_user_ids?: string[] | null

User IDs of the members of the Spend Limit.

UpdateSpendLimitRequest.merchant_category_controls?
Section titled “UpdateSpendLimitRequest.merchant_category_controls?”

optional merchant_category_controls?: { allowed_merchant_categories?: ("ADVERTISING_MARKETING" | "GROCERY" | "TELEPHONY" | "OFFICE_SUPPLIES" | "PRIVATE_AIR_TRAVEL" | "CLOTHING" | "CAR_RENTAL" | "VEHICLE_EXPENSES" | "RESTAURANTS" | "GAMBLING" | "FLOWERS" | "ELECTRONICS" | "LEGAL_SERVICES" | "UTILITIES" | "FURNITURE" | "BARS_NIGHTLIFE" | "LAUNDRY" | "EVENT_EXPENSES" | "SHIPPING" | "OTHER_TRAVEL_EXPENSES" | "CHARITY" | "SOFTWARE" | "LODGING" | "FACILITIES_EXPENSES" | "SERVERS" | "CONFERENCES" | "FOOD_DELIVERY" | "RENT" | "AIRLINE_EXPENSES" | "OTHER_BUSINESS_EXPENSES" | "BANK_FINANCIAL_FEES" | "BOOKS_NEWSPAPERS" | "CONSULTANT_CONTRACTOR" | "CORPORATE_INSURANCE" | "DIGITAL_GOODS" | "LICENSES_TAXES" | "GAS_FUEL" | "GENERAL_MERCHANDISE" | "MEDICAL" | "MEMBERSHIPS_CLUBS" | "PARKING_EXPENSES" | "POLITICAL_DONATIONS" | "PUBLIC_TRANSPORTATION" | "RECURRING_SOFTWARE_SAAS" | "RIDESHARE_TAXI" | "TOLL_BRIDGE_FEES" | "TRAINING_EDUCATION" | "TRAVEL")[] | null; blocked_merchant_categories?: ("ADVERTISING_MARKETING" | "GROCERY" | "TELEPHONY" | "OFFICE_SUPPLIES" | "PRIVATE_AIR_TRAVEL" | "CLOTHING" | "CAR_RENTAL" | "VEHICLE_EXPENSES" | "RESTAURANTS" | "GAMBLING" | "FLOWERS" | "ELECTRONICS" | "LEGAL_SERVICES" | "UTILITIES" | "FURNITURE" | "BARS_NIGHTLIFE" | "LAUNDRY" | "EVENT_EXPENSES" | "SHIPPING" | "OTHER_TRAVEL_EXPENSES" | "CHARITY" | "SOFTWARE" | "LODGING" | "FACILITIES_EXPENSES" | "SERVERS" | "CONFERENCES" | "FOOD_DELIVERY" | "RENT" | "AIRLINE_EXPENSES" | "OTHER_BUSINESS_EXPENSES" | "BANK_FINANCIAL_FEES" | "BOOKS_NEWSPAPERS" | "CONSULTANT_CONTRACTOR" | "CORPORATE_INSURANCE" | "DIGITAL_GOODS" | "LICENSES_TAXES" | "GAS_FUEL" | "GENERAL_MERCHANDISE" | "MEDICAL" | "MEMBERSHIPS_CLUBS" | "PARKING_EXPENSES" | "POLITICAL_DONATIONS" | "PUBLIC_TRANSPORTATION" | "RECURRING_SOFTWARE_SAAS" | "RIDESHARE_TAXI" | "TOLL_BRIDGE_FEES" | "TRAINING_EDUCATION" | "TRAVEL")[] | null; } | null

optional name?: string | null

Name for the Spend Limit.

optional owner_user_ids?: string[] | null

User IDs of the owners of the Spend Limit.

UpdateSpendLimitRequest.period_recurrence_type?
Section titled “UpdateSpendLimitRequest.period_recurrence_type?”

optional period_recurrence_type?: "PER_MONTH" | "PER_QUARTER" | "PER_YEAR" | "ONE_TIME" | "PER_WEEK" | null

UpdateSpendLimitRequest.set_end_date_null?
Section titled “UpdateSpendLimitRequest.set_end_date_null?”

optional set_end_date_null?: boolean | null

Set the date when the Spend Limit should expire to null.

UpdateSpendLimitRequest.set_start_date_null?
Section titled “UpdateSpendLimitRequest.set_start_date_null?”

optional set_start_date_null?: boolean | null

Set the date when the Spend Limit should start counting to null.

UpdateSpendLimitRequest.set_transaction_limit_null?
Section titled “UpdateSpendLimitRequest.set_transaction_limit_null?”

optional set_transaction_limit_null?: boolean | null

Set the transaction limit that this Spend Limit will enforce to null.

optional spend_type?: "BUDGET_PROVISIONED_CARDS_ONLY" | "NON_BUDGET_PROVISIONED_CARDS_ALLOWED" | null

optional start_date?: string | null

Format: date

The date when the Spend Limit should start counting.

optional status?: "ACTIVE" | "ARCHIVED" | "DELETED" | "EXPIRED" | null

UpdateSpendLimitRequest.transaction_limit?
Section titled “UpdateSpendLimitRequest.transaction_limit?”

optional transaction_limit?: { amount: number; currency: string | null; } | null

{ amount: number; currency: string | null; }

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD

null