January 16, 2026
- Automating Affiliate Payouts via REST API
- Notes & Recommendations
- Step-by-Step Automation Workflow
- FAQs
That said, you can automate certain steps in the affiliate payout process using Tapfiliate’s REST API:
- Fetch outstanding balances for your affiliates
- Retrieve each affiliate’s payout details
- Process payments via your chosen payment provider
- Register completed payments in Tapfiliate
- Automating payouts requires developer support.
- Manual payouts with payout files are suitable for smaller programs or if you prefer not to automate.
- Ensure your payment provider supports the API operations required for automation.
- List All Balances
Retrieve all unpaid affiliate balances using this endpoint. - Retrieve a Payment (optional step for verification)
If needed, get details of a specific payment before or after processing it. - Retrieve the affiliate payout method or List the affiliate’s payout methods
Get the affiliate payment details, such as PayPal email or bank account information, to ensure smooth processing: - Complete Payments with Your Payment Provider
Use your payment provider’s API to execute the actual payments to your affiliates. Leave out affiliates whose primary payout method is a Trolley one and who have completed the setup for automated payouts: the next step creates their payment in your Trolley account, and you send it from Trolley (Step 7 of the Trolley article). Paying them with your provider as well pays them twice. After you record the payment, check the Trolley batches: a payment that isn’t in any of them wasn’t sent to Trolley (for example, when the affiliate’s Trolley payout method was added through the REST API), and it is marked Settled all the same: pay it another way or cancel it. - Create a Payment in Tapfiliate
Once a payment is completed (for affiliates paid through Trolley, without paying them first, as above), register it in Tapfiliate using this endpoint (after this step you affiliates will see the balance is settled). - Cancel a Payment (if necessary)
If a payment needs to be reversed or canceled, use this endpoint. - In addition, you can List All Payments (optional step for tracking)
You can fetch all previously created payments to check payment history.