Ramp: Create a fund — request body — body spending restrictions
Create a fund: request body, field body / spending_restrictions. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Create a fund — request body — body spending restrictions
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
allowed_category_codes | array | Optional | List of allowed Ramp category codes. |
allowed_category_codes[] | integer | Each item | One of: 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 23, 24, 25, 26, 27, 28, 29, 3, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 4, 40, 41, 42, 43, 44, 5, 6, 7, 8, 9 |
allowed_vendor_ids | array | Optional | List of allowed vendor IDs. |
allowed_vendor_ids[] | string | Each item | Format: uuid |
blocked_category_codes | array | Optional | List of blocked Ramp category codes. |
blocked_category_codes[] | integer | Each item | One of: 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 23, 24, 25, 26, 27, 28, 29, 3, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 4, 40, 41, 42, 43, 44, 5, 6, 7, 8, 9 |
blocked_mcc_codes | array | Optional | |
blocked_mcc_codes[] | string | Each item | |
blocked_vendor_ids | array | Optional | List of blocked vendor IDs. |
blocked_vendor_ids[] | string | Each item | Format: uuid |
convert_to_entity_currency | boolean | Optional | Convert limits to the currency of the fund’s entity at Ramp’s daily rate. Not supported for fixed-amount spend programs. Default: false |
interval | string | Required within parent | Time interval to apply limit to. One of: ANNUAL, DAILY, MONTHLY, QUARTERLY, TERTIARY, TOTAL, WEEKLY, YEARLY |
limit | Model | Required within parent | Expand Create a fund — request body — body spending restrictions limit Total amount limit per interval denominated in the smallest currency unit (e.g. cents for USD). |
lock_date | JSON | Optional | |
lock_date (anyOf 1) | string | Alternative | Date to automatically suspend the fund. If lock date has passed, set to a future date or to null to unsuspend. Format: date-time |
lock_date (anyOf 2) | null | Alternative | |
transaction_amount_limit | Model | Optional | Expand Create a fund — request body — body spending restrictions limit Max amount per transaction denominated in the smallest currency unit (e.g. cents for USD). |
Referenced models: Create a fund — request body — body spending restrictions limit