Skip to main content
All CollectionsPlatform IntegrationsOther Integrations
Integration for Stripe API Endpoint Users
Integration for Stripe API Endpoint Users

Stripe API endpoint integration

Charles Rosel avatar
Written by Charles Rosel
Updated this week

Stripe allows you to create Stripe customer records (or known as Stripe customer object) separately even if the customers have not yet added their payment information. Usually, this is implemented by your developers.

If your developers used this method, this is how you will be integrating Rewardful via the use of the Stripe API endpoint to create customers or update customer records:

  1. Install the STEP 1 script (https://app.getrewardful.com/setup/code?platform=javascript_browser) on all pages in your root domain and subdomain pages. IGNORE THE STEP 2 code in the instruction page (NOT STEP 2 of this instruction set).

    For Google Tag Manager (GTM) users, please use the STEP 1 on this page: https://app.getrewardful.com/setup/code?platform=gtm. Please ignore STEP 2 (NOT STEP 2 of this page).

  2. In the checkout, your team should retrieve the referral ID generated by the tracking script if it detects that a visit is via an affiliate link. Retrieve it by using the method of our tracking script, Rewardful.referral: https://developers.rewardful.com/javascript-api/overview#referral

  3. The value of Rewardful.referral should be assigned as metadata of the Stripe customer record. It should be assigned to the key referral.

Once you're done, do the following:

  1. Click the Ok I've completed this button.

  2. Then try opening the link that has a ?via=install in an incognito window that has no adblocker extensions. Let your site fully load.

  3. Then go back to your Rewardful dashboard and refresh the page. If the tracking script is loading correctly, your setup will confirm.

Did this answer your question?