Embedded finance guides
Implementing a Referral Button
A Referral Button is a clickable element you embed in your platform that links to your Referral Page while passing customer information through to speed up onboarding.
Technical skill required
Low. A basic implementation is copy-paste. Populating the customer data attributes so referrals arrive pre-filled requires a bit more work from your development team.
For engineering/integration teams: the values below are ported as published on FundThrough's partner documentation. Confirm the current script URL, required data attributes, and activation method with your FundThrough integration contact before implementing — treat this as a starting reference, not a verified-current spec.
Setup
- Add your Referral Page (see the Referral Page guide) as the destination the button will send customers to.
- Load the FundThrough partner script on the page where the button will live.
- Add the button markup with the
ft-referral-buttonclass and your customer data attributes. - Call the activation method so the script binds click behavior to the button.
Adding the button
Load the partner JS library:
<script src="https://partnerstatic-staging.fundthrough.com/index-0.0.10.js"></script> Mark your button element with the required class:
class="ft-referral-button" Then activate it:
FTPayMeNow.enableReferralButton(); Required data attributes for pre-populating the referred customer's information are name, last-name, email, and phone. The button also accepts optional attributes for company name, address fields, and country, following the same field names used by the Referral Page's sign-up payload — the exact attribute markup wasn't captured in full during this migration, so confirm the complete attribute list with your FundThrough integration contact before wiring up pre-population.
The button ultimately links through to the FundThrough sign-up flow:
https://invoices.fundthrough.com/signup Modify your Referral Page
If your Referral Page includes its own contact form, no further changes are needed — the button simply directs traffic there. If your Referral Page does not include a contact form, work with your FundThrough integration contact to confirm how customer data passed by the button should be received and displayed on that page.
Explore fast payments with an experienced fintech
Interested in implementing a Referral Button? Let's connect.
Let's talk