PUT
/
card
/
{cardId}
/
modifier
cURL
curl --request PUT \
  --url https://api.joinslash.com/card/{cardId}/modifier \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "only_allow_recurring_payments",
  "value": true
}'
{
  "success": true
}
Enterprise Feature: Card modifiers are an enterprise-only feature. Please reach out to sales@slash.com to get set up with this functionality.
Set a specific modifier for a card. This endpoint allows you to configure individual card behaviors and restrictions.

Usage Examples

Enable recurring payments only

{
  "name": "only_allow_recurring_payments",
  "value": true
}

Disable recurring payments restriction

{
  "name": "only_allow_recurring_payments",
  "value": false
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Path Parameters

cardId
string
required

Body

application/json
name
enum<string>
required
Available options:
only_allow_recurring_payments
value
boolean
required

Whether to only allow recurring payments. The default value for newly created cards is false.

Response

OK

success
boolean
required