#b33fb0n3-paymentlink-connect
1 messages · Page 1 of 1 (latest)
I tried to setup a paymentlink myself because when I create it via my dashboard (not the customers) then I am able to add a "charge" amount. But the customer of my customer want to pay to my customer. So I need to create it via the dashboard of my customer. When I try it there I don't see the field with the "charge" amount so I throught about using the api...
Okay so yes you have to use the API for this
yep
you basically want to read https://stripe.com/docs/connect/direct-charges but apply the logic to PaymentLink instead of PaymentIntent
overall works the same otherwise
to use my customer account for this I need to add it at the back like this right?
const stripe = require('stripe')(stripe_secret)('acct_123456');
Not exactly, you want: https://stripe.com/docs/connect/authentication#stripe-account-header
ah ok, so like in the create instead of the initialization? https://ibb.co/nLv3dbf
yes
that sounds great, thanks! 👍