Skip to content

Ramp: Create a spend program — request body — body issuance rules automatic, requestable automatic applies to all, department ids, location ids, user custom field ids

Create a spend program: request body, field body / issuance_rules / automatic, requestable / automatic / applies_to_all, department_ids, location_ids, user_custom_field_ids. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Create a spend program — request body — body issuance rules automatic, requestable automatic applies to all, department ids, location ids, user custom field ids

FieldTypePresenceDescription and constraints
$objectRoot
applies_to_allbooleanOptionalDictates whether this rule should apply to all employees or not (if True, location_ids, department_ids, and user_custom_field_ids should be null).
Default: false
department_idsarrayOptionalList of departments whose users are able to request or be issued this spend program.
department_ids[]stringEach itemFormat: uuid
location_idsarrayOptionalList of locations whose users are able to request or be issued this spend program.
location_ids[]stringEach itemFormat: uuid
user_custom_field_idsarrayOptional
user_custom_field_ids[]stringEach itemFormat: uuid

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.