Skip to main content
Weavr API
Spend controls

List card spend rules

GET/managed_cards/{id}/spend_rules

Returns the profile-level and card-level spend rules for the managed card identified by id.

The response includes each spend limit's rollover policy. When rolloverNegative is enabled, overspend is carried into subsequent intervals and reduces the card's available-to-spend amount until it becomes positive.

Request

Path parameters

Responses

200OK

Success

Headers
Body
application/json
{}
AllLevelSpendRulesAllLevelSpendRules · object · 17 fields
Response example
{  "allowedMerchantCategories": [    "string"  ],  "blockedMerchantCategories": [    "string"  ],  "allowedMerchantIds": [    "string"  ],  "blockedMerchantIds": [    "string"  ],  "allowedMerchantCountries": [    "string"  ],  "blockedMerchantCountries": [    "string"  ],  "allowContactless": true,  "allowAtm": true,  "allowECommerce": true,  "allowCashback": true,  "allowCreditAuthorisations": true,  "minTransactionAmount": 0,  "maxTransactionAmount": 0,  "spendLimit": [    {      "startTimestamp": 0,      "value": {        "currency": "GBP",        "amount": 1250      },      "interval": "DAILY"    }  ],  "cardLevelSpendRules": {    "allowedMerchantCategories": [      "string"    ],    "blockedMerchantCategories": [      "string"    ],    "allowedMerchantIds": [      "string"    ],    "blockedMerchantIds": [      "string"    ],    "allowedMerchantCountries": [      "string"    ],    "blockedMerchantCountries": [      "string"    ],    "allowContactless": true,    "allowAtm": true,    "allowECommerce": true,    "allowCashback": true,    "allowCreditAuthorisations": true,    "rolloverPolicy": {      "rolloverNegative": true    },    "spendLimit": [      {        "startTimestamp": 0,        "value": {          "currency": "GBP",          "amount": 1250        },        "interval": "DAILY"      }    ],    "minTransactionAmount": 0,    "maxTransactionAmount": 0  },  "profileLevelSpendRules": {    "allowedMerchantCategories": [      "string"    ],    "blockedMerchantCategories": [      "string"    ],    "allowedMerchantIds": [      "string"    ],    "blockedMerchantIds": [      "string"    ],    "allowedMerchantCountries": [      "string"    ],    "blockedMerchantCountries": [      "string"    ],    "allowContactless": true,    "allowAtm": true,    "allowECommerce": true,    "allowCashback": true,    "allowCreditAuthorisations": true,    "rolloverPolicy": {      "rolloverNegative": true    },    "authForwardingEnabled": true  },  "identityLevelSpendRules": {    "allowedMerchantCategories": [      "string"    ],    "blockedMerchantCategories": [      "string"    ],    "allowedMerchantIds": [      "string"    ],    "blockedMerchantIds": [      "string"    ],    "allowedMerchantCountries": [      "string"    ],    "blockedMerchantCountries": [      "string"    ],    "allowContactless": true,    "allowAtm": true,    "allowECommerce": true,    "allowCashback": true,    "allowCreditAuthorisations": true,    "rolloverPolicy": {      "rolloverNegative": true    },    "minTransactionAmount": 0,    "maxTransactionAmount": 0  }}