#device - connect
1 messages · Page 1 of 1 (latest)
Hello
I would like to know wether it would be possible to create an invoice for this specific charge, in order to send it to the specific connected account?
Not really. But technically you could create a separate invoice for the same amount, and then mark it as paid out of bound https://stripe.com/docs/api/invoices/pay#pay_invoice-paid_out_of_band
But what parameters exactly should I give the invoice in this case?
- Should I omit the customer parameter on it?
- Where can I specify the charge that should be attached to this invoice?1
This would be a standard create Invoice call and you would include the params to make a line item of whatever amount you debited https://stripe.com/docs/api/invoices/create#create_invoice
To answer your specific questions:
- You can omit the Customer parameter as it is optional
- You can include the ID of the charge as metadata, but you can't really connect the charge to the invoice otherwise.