#ChrisG AtoB
1 messages · Page 1 of 1 (latest)
Hi, are you referring to Issuing spending controls here?
yes
Yeap, you can set the spending controls, https://stripe.com/docs/issuing/controls/spending-controls for these categories: https://stripe.com/docs/issuing/categories. However, you intent to manually control this on your end, then yes.
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?
Can you hare the document where you're seeing this? My read on this is you can set spending control but do not have to. Like it's not a required hash: https://stripe.com/docs/api/issuing/cards/object#issuing_card_object-spending_controls
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.
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.
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
Can you share the request id with me please?
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
Yo might want to pass an empty string on allowed_categories:""
ok, I'll try that