#ucjonathan

1 messages · Page 1 of 1 (latest)

long wolfBOT
sand gale
#

Hi 👋

#

What are you referring to here?

#

payment_method.card_automatically_updated ?

sharp condor
#

correct

#

I'm concerned when I do a future rebill that source value, the card id, will be incorrect after the update occurs.

sand gale
#

Okay still not clear. Are you referring to the Event?

sharp condor
#

"data": {
"object": {
"id": "pm_1JtTL6D4wTu0Iyb9hm3rfXKV",

#

So in the pament_method.card_automatically_updated event I have the pm_ id

#

Should I turn around and use the SDK to look up the card id associated with the payment method?

#

Because when I'm going to charge the customer in the future I'm providing:

#

chargeParams.put("customer", stripeCustomerId);
chargeParams.put("source", stripeCardId);

sand gale
#

In that case yes, you will need to perform a second API call to retrieve the card_ ID

sharp condor
#

ok, thank you for that. I will go to town working on that call as well.