#daizys
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Can you share the request ID for a request where you attempt to unset the spending limits for a card?
how can I extract the request Id from stripe.issuing.cards.update API call using node driver. I am getting back Card Object
card = await stripe.issuing.cards.update(cardExternalId, {
spending_controls: {
spending_limits: [],
},
});
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
the problem is that I don't see the request in the UI log section. If I understand the docs correctly I should add it as so?:
card.lastResponse.requestId
If the request is making it to our API with your secret key then it should be in your logs.
Also if you unset the spending limits then the default spending limit should apply. You could always set the limit to that amount: https://stripe.com/docs/issuing/controls/spending-controls#spending-limits
my company already asked to remove this behaviour and indeed when we create a card in the same manner the card is created without spending limits
Ah. That sounds like special (non-default) behavior. I think you may need to create a new card in that case.
this is the request id: req_iTswKcnBg9H4op
I wanna have the ability to unset spending limit for cards that is already created in the past with spending limits
I see nothing in the POST body parameters for this request
I think you would actually need to pass the amount and interval as null or "" to achieve that result
might be a bug? we send it as so:
card = await stripe.issuing.cards.update(cardExternalId, {
spending_controls: {
spending_limits: [],
},
});
amount null raise an error that the amount must be value 1 or above
Please keep me posted on this ๐
Since this is non-standard functionality I don't know that our API supports updating cards like this. I think your best bet is to write into Support (https://support.stripe.com) since I won't be able to dig into this here.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.