#ChrisG AtoB

1 messages · Page 1 of 1 (latest)

sacred oysterBOT
frank wolf
#

Hi, are you referring to Issuing spending controls here?

regal oriole
#

yes

frank wolf
regal oriole
#

The docs imply that if allowed_categories is empty it will block everything

#

So, if we want to do this would we need to instead just set every category as allowed?

frank wolf
regal oriole
#

We set spending limits so we still set the controls, we just don't want to set the categories any longer.

It's the same doc you gave earlier (https://stripe.com/docs/issuing/controls/spending-controls)

allowed_categories array List of categories of authorizations to allow. All other categories will be blocked.

frank wolf
#

It states that it should be used with the either allowed_categories or blocked_categories, but it does not appear to be a requirement. I'd recommend testing this on your end

Each spending limit only applies to its own categories. Spending limits alone do not block categories and should be used with either allowed_categories or blocked_categories to restrict spending to specific business types.

regal oriole
#

Just about to in the test environment

#

Doesn't let me set it to empty

#

I can do it in the dashboard - removing all of the categories. But Stripe::Issuing::Cardholder.update doesn't allow me to set it to empty. It just sends an empty body in the request

frank wolf
#

Can you share the request id with me please?

regal oriole
#

req_gxYtK8nEsDoZzB

#

Here's one where I set it to just one of the categories req_BBSTHLEsPTe9ua

#

req_0z7WhWr1yG10eb and this is the one that was done through the dashboard

frank wolf
#

Yo might want to pass an empty string on allowed_categories:""

regal oriole
#

ok, I'll try that