Skip to content

Ramp: Fetch a spend program — response body — custom form collection custom form collection log entry custom form collection log entry forms, label forms item fields item field field type MERCHANT mapped fields item

Fetch a spend program: response body, field custom_form_collection / custom_form_collection_log_entry / custom_form_collection_log_entry / forms, label / forms / item / fields / item / field / field_type MERCHANT / mapped_fields / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a spend program — response body — custom form collection custom form collection log entry custom form collection log entry forms, label forms item fields item field field type MERCHANT mapped fields item

FieldTypePresenceDescription and constraints
$JSONRootdiscriminator: {“mapping”: {“SPEND_ALLOCATION__MERCHANT_RESTRICTIONS”: ”#/components/schemas/SpendAllocationMerchantRestrictionsMappedFieldSchema”, “SPEND_ALLOCATION__MERCHANT_RESTRICTIONS_ALLOWLIST”: ”#/components/schemas/SpendAllocationMerchantRestrictionsAllowListMappedFieldSchema”, “SPEND_ALLOCATION__MERCHANT_RESTRICTIONS_BLOCKLIST”: ”#/components/schemas/SpendAllocationMerchantRestrictionsBlockListMappedFieldSchema”}, “propertyName”: “mapped_field”}
$ (anyOf 1)ModelAlternativeExpand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS ALLOWLIST
$ (anyOf 2)ModelAlternativeExpand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS BLOCKLIST
$ (anyOf 3)ModelAlternativeExpand Fetch a spend program — response body — custom form collection custom form collection log entry custom form collection log entry forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS

Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS ALLOWLIST, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS BLOCKLIST, Fetch a spend program — response body — custom form collection custom form collection log entry custom form collection log entry forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS

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.