#sing-healthsherpa_refund-failure-application-fee

1 messages ยท Page 1 of 1 (latest)

strong starBOT
#

๐Ÿ‘‹ 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/1467942541306499105

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

jaunty egret
#

HI ๐Ÿ‘‹

I don't quite understand what you mean about the application fee here but this error is pretty clear. The funds do not exist on the Connected Account to process the refunds.

viscid rivet
#

Hi! When I pull up the transaction on the dashboard, I see the fee ID:fee_1SnLOu0lOAmXXNg2saZwMuFS. Clicking on it takes me to the "Collected Fee" tab and lets me refund the fee. When I refund the fee on the dashboard, I am then able to process the refund via API. I'm not sure why it works when that happens

jaunty egret
#

Unfortunately, I won't be able to help with why that might be. For more about those details you would need to continue your discussion with Support

viscid rivet
#

Ok, thanks. Can you at least tell me if I'm sending the refund request correctly? i.e. initiating the refund from the Connected Account and not the Platform account

jaunty egret
#

The refund needs to be created on the same account the Payment Intent exists on. Since the Payment Intent was created on the Conencted Account in this request that is also where the refund needs to exist.

viscid rivet
#

Wait that looks like the Platform account and not the Connected Account

jaunty egret
#

The request was created by the Platform but on the Connected Account

viscid rivet
#

Got it, ok. Thanks. Sorry, are you able to tell me if the refund request for req_bmoUb5OCS0Xpes was submitted with the correct Payment Intent, i.e. on the Connected Account

jaunty egret
#

Yes the request was made by the Platform but on the Connected Account by providing the Stripe Account parameter in the request.

viscid rivet
#

Ok so everything in the refund request looks correct? Just that the Connected Account balance was insufficient that's why it failed?

strong starBOT
#

๐Ÿง‘โ€๐Ÿ’ป How to format code on Discord

Inline code: wrap in single backticks (`)

This:

The variable `foo` contains the value `bar`.

Will turn into this:

The variable foo contains the value bar.

Code blocks: wrap in three backticks (```)

Also, you can specify the language after the first three backticks to get syntax highlighting.

This:

```javascript
function foo() {
return 'bar';
}
```

Will turn into this:

function foo() {
  return 'bar';
}```

Notes about **code blocks**:
- Specifying the language is optional (e.g., you can omit `javascript` in the example above)
  - If you don't specify the language you won't get syntax highlighting
- When you're inside a code block (after you type \`\`\`) the `Return`/`Enter` key will add a new line instead of sending your message
  - Once you end the code block `Return`/`Enter` works normally again

You can [read more about message formatting on Discord's website.](https://support.discord.com/hc/en-us/articles/210298617)
viscid rivet
#

oops typo sorry. I was confused by the error response with the invalid_request_error

{
"error": {
"message":
"Insufficient funds in your Stripe balance to refund this amount.",
"request_log_url":
"https://dashboard.stripe.com/acct_1P1Aib00wcyZa0Db/workbench/logs?object=req_bmoUb5OCS0Xpes"
,
"type":
"invalid_request_error",
},
}

#

Just wanted to confirm the refund request that we're sending is correct

jaunty egret
#

The request appears to be valid in that it is being made on the correct Connected Account

viscid rivet
#

Great, thanks !

jaunty egret
#

Happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚