#vzhuh007

1 messages · Page 1 of 1 (latest)

frank moatBOT
sick wyvern
#

Can you share the in_xxx ID?

bold oxide
#

it's a test data
in_1OTbUKJaf89hC41IFXvYEZi9

sick wyvern
#

When you 'balance', what specifically do you mean? On the cus_xxx object?

bold oxide
#

yes, exactly

#

cus_P6ZrmrYOAzQX0M - has 40$ balance right now

#

I want to update subscription from it even if something wrong with payment method

sick wyvern
#

Interesting I'd of expected that to work given that we normally automatically apply any credit balance

#

Checking

#

I expect the issue is is that there is an associated payment/pi_xxx with the invoice so we can't apply the credit in this case. What you're likely going to do is:

bold oxide
#

so do you mean 2 steps, I can finish invoice without payment directly and after - decrease a balance, correct?

sick wyvern
#

Yes

#

2 separate API calls

bold oxide
#

OK, got it! Thank you very much, gonna try