#TBM
1 messages · Page 1 of 1 (latest)
Yes, but for subscriptions it is defined as a percentage of the invoice amount because this can vary due to coupons, proration, credit balance etc:
https://stripe.com/docs/api/subscriptions/create#create_subscription-transfer_data-amount_percent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Will it transfer every payment or just the 1st payment?
That will set the transfer amount for the subscription, all payments, but you can optionally update it following the first invoice if you want to change the percentage
Would i need a webhook? or can i do that when creating the subscription?
You'd set the initial percent when creating the subscription, then you could use a webhook to trigger the change afterward, sure
do you have a quick code to show me for updating a transfer?