#A guy named Boris
1 messages · Page 1 of 1 (latest)
Hi there!
You can use the transfer_data parameter to specify a destination account an an amount: https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-transfer_data
so, transfer_data is a parameter to PaymentLink.create which is a nested structure with two fields: .destination and .amount. I assume that amount uses the same units as the payment itself. What about .destination? Can I use reseller's customer ID for that?
Yes, this is correct.
Can I use reseller's customer ID for that?
This should be the Stripe account ID (acct_xxx) of the reseller.
I'm not aware of acct_ IDs, only cus_
If you want to send money to users, you have to use Stripe Connect, and the users will all need a Stripe account.
You can learn more about Connect here: https://stripe.com/docs/connect