If you are using the Payments Page, it's possible to handle affiliate payments through the API as follows: 

  1. Get the outstanding balances via this endpoint: https://tapfiliate.com/docs/rest/#payments-balances-collection-get
  2. Get the affiliate’s payout information: https://tapfiliate.com/docs/rest/#affiliates-payout-methods-collection-get
  3. Complete the payment with your preferred payment provider. 
  4. Create a new payment for the affiliate for the payed out amount using this endpoint:  https://tapfiliate.com/docs/rest/#payments-payments-collection-post
Did this answer your question?