#_api

1 messages ¡ Page 1 of 1 (latest)

plucky remnantBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1288016377063407730

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

frigid fog
#

You should ensure that your Stripe account has sufficient balance before submitting the refund. If your Stripe account doesn't have enough balance, adding funds can be done: https://docs.stripe.com/get-started/account/add-funds; or you can wait for any upcoming payment becomes available in the balance

scenic cargo
#

So, does this mean that the process of refunding using the charge or payment attempt option has nothing to do with the balance of the stripe management account, and that a refund is only possible if the balance of the stripe account exists only when making a refund using the origin option as above?

frigid fog
#

A refund will take the funds from your Stripe account balance, and it will only be successful if your account has sufficient balance, i.e. Stripe account balance >= refund amount

scenic cargo
#

I understand. However, when using the refund api and using chargeId to create a refund, a refund was made, but when using the orgin option and making a refund, an error appears saying that there is insufficient balance in the stripe account. Is there a difference between the two methods?

frigid fog
#

when using the orgin option and making a refund, an error appears saying that there is insufficient balance in the stripe account.
Could you share the request ID (req_xxx), so that I can check how your refund was initiated?

scenic cargo
#

Sure.

#

req_mzoOKJFxdVNEw6

frigid fog
#

Customer cash balance and customer credit balance are two different things.

Downgrading the subscription credits the funds to the customer credit balance.

Customer cash balance is the payment collected from the bank transfer.

You shouldn't use Customer cash balance to refund if the payment is not made from the bank transfer. No balance is available from the bank transfer

#

You should refund on the original charge. Please see the guide here on how to refund the customer credit balance for downgrading subscription: https://support.stripe.com/questions/refunding-credit-balance-to-customer-after-subscription-downgrade-or-cancellation

scenic cargo
#

okay. The document you sent has already read.

So let's assume that there are two $300 subscription payments.
If two items are canceled at once and the quantity is updated to 0, and the credit balance becomes $600, do I have to refund each of them twice since there are two chargeIds of $300?

frigid fog
#

Yes, that's right

scenic cargo
#

I unserstood. Thank you for explain