We are setting up a service through our website, where onboarded partners who go through the Partner Referrals API will have the ability to sell digital products/subscriptions. We intend to have payments processed through the website, and then payout the partner the transaction, minus a set fee we take on each transaction. I have looked through the Orders API and Payments API, and can't figure out how to attach product information to the order such as product description and more importantly, how to attach the partners merchant-id to the transaction so we can determine which partner should be paid. How can we associate a merchant-id to a subscription/digital good and subtract our fee from the transaction before performing a payout to the partner? We have already been granted access to the Partner Referrals API and I'm able to onboard a user and retrieve their merchantIdInPayPal which I'm assuming is what I need to pass into the transaction.
... View more