#nsad_api
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nsad_best-practices, 3 days ago, 13 messages
- nsad_api-account-support, 4 days ago, 5 messages
- nsad_api, 5 days ago, 28 messages
- nsad_api, 5 days ago, 16 messages
- nsad_api, 6 days ago, 92 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1242105949834186796
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐ can you elaborate on what you mean? I don't understand how a Coupon would be related to a Transfer.
Hello, so i am using coupon in my program to affiliate
What I was thinking about is creating a stripe_account_id field to store the affiliate's account ID within the coupon models, so putting the affiliate's percentage in the subscription_data, would that be the correct way to do it?
for example:
subscription_data['transfer_data'] = {
'destination': coupon.stripe_account_id,
'amount_percent': coupon.percentual
}
when a user use the coupon of affiliate, create a transfer to affiliate, right?
Coupons are not at all related to Transfers, if you want to use those two things together you'll likely need to build your own custom logic to accomplish that.
Yes, if you want to transfer a portion of the funds from Subscription payments, using a destination charge pattern, you populate transfer_data with the ID of the Connected Account you want to receive the funds and the amount that you want them to receive.
Yup