#liam1236805
1 messages · Page 1 of 1 (latest)
How are you creating the Invoice currently?
invoice = stripe.Invoice.create(
transfer_data={
"destination": 'acct_1O9aN6EgO5x68YWF',
},
collection_method='send_invoice',
payment_settings={"payment_method_types": ["customer_balance"]},
customer='cus_OxUy76beDBlDe9',
due_date=int(time.time()) + 606024
).
with this code
It doesn't let me do it using the on_behalf_of when using the customer_balance payment method
You would need to create the Invoice on behalf of the connect account via this method instead: https://stripe.com/docs/connect/authentication
Great, been able to it now. Thanks for you help!