#Davaogoods
1 messages · Page 1 of 1 (latest)
do i need to pass the connect account?
Sorry don't really follow the question. Do you have an example request id? req_xxxx
this transaction is for a connect account
not the main account
in short , I need to make a refund to a customer from a connect account
is this the one?
Yes that charge belongs to an express connected account. Probably you are calling this Refund API from your platform account?
You would want to use stripe-account header
can u send me the link for the stripe-account
thanks
I still cant process it
heres is my code
Okie, can you find the request on your request log in Dashboard?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
hold on
req_hszrnwwv40MKzE
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That's a Get accounts/ request. I thought you had a failed Refund request?
That's req_kjpQ9ch6XlhWXZ
okie I still see it hasn't used the stripe account header
it is stilled fired from your platform account
its not this header?
no it isn't. You need to pass in a different block
Look at the example here
\Stripe\Customer::create(
["email" => "person@example.edu"],
["stripe_account" => "{{CONNECTED_STRIPE_ACCOUNT_ID}}"]
);
that's different []
Yep the error is straighforward isn't it 🙂 The Charge didn't have any Transfer
remove the reverse_transfer: true
Sure np!
can we refund only part of the amount?
Hi! I'm taking over this thread.
When creating a refund you can specify the amount that you actually want to refund https://stripe.com/docs/api/refunds/create#create_refund-amount
thanks