#Dominweb

1 messages · Page 1 of 1 (latest)

brave fulcrumBOT
robust jackal
#

Hi there!

#

I'm not sure I understand your question.

#

You have an issue creating refunds?

brave fulcrumBOT
prisma peak
#

Request req_8CKt7T89QjqgNR: Cannot reverse transfer on charge ch_3MxpoSBhQoJBzr0n1Ht0KfHQ because it does not have an associated transfer.

#

pay = stripe.Charge.create(
amount=price,
currency="eur",
source="tok_visa",
description="Primera prueba",
)

stripe.Refund.create(
charge=pay['id'],
amount=price,
metadata={'descripcion': 'Prueba devolución'},
reason="requested_by_customer",
refund_application_fee=True,
reverse_transfer=True,

        )
#

this is the error and also my code

#

I am with test credentials

mighty tartan
#

is there a particular reason why you are passing reverse_transfer: "True"?

#

same for refund_application_fee?

#

if not simply do the request again without these two params

prisma peak
#

perfect thanks, is there a way to withhold payments for more than 7 days?

#

Can I list external bank accounts through the api?

#

It asks me for a customer id but I don't know where to find it in the panel

mighty tartan
mighty tartan