Blink

Blink

    ›Getting started

    Getting started

    • Overview
    • Quick Start
    • Environments
    • Support

    Panels

    • Basics
    • Panel options
    • Custom content

    User Journeys

    • The basics
    • Conditions
    • Actions
    • Throttles
    • Journey Groups
    • Complete Examples

    Guides

    • How to enable donations

    Blink Javascript SDK

    • Load the SDK
    • Blink managed functions
    • Blink managed variables
    • Reference

      • showDonationModal()
      • promptDonationPopup()
      • promptSubscriptionPopup()
      • isSubscribed()
      • getSubscription()
      • onSubscriptionChange()

    Blink notifications

    • Webhooks
    • Events

      • Subscription created
      • Subscription canceled
      • Subscription reactivated
      • Subscription unpaid
      • Subscription finished
      • Payment created
      • Payment refunded

      Objects

      • Event
      • Subscription
      • Donation
      • Payment
      • Amount
      • User
      • Merchant

    Quick Start

    1. Load Blink SDK for Javascript

    The first step to integrating the Blink services is loading the Blink SDK into the webpage. The Blink SDK is a small Javascript file, compatible with all modern platforms and browsers.

    We recommend serving the SDK from our own hosting service, by including the following script tag in the head of the webpage:

    <script src="https://test.blink.net/1.0/blink-sdk.js?clientId=YOUR_CLIENT_ID" type="text/javascript"></script>
    

    The SDK script is completely self-managed, requiring no manual initialization or configuration after adding the initial script tag.

    If you don't have a clientId for our test environment set up yet, contact us at integration@blink.net and we'll get you one.

    2. Next steps

    From this point you can check out how to enable donations.

    ← OverviewEnvironments →
    Blink
    Docs
    Getting StartedPublic API
    Integration
    Donation
    Blink
    Copyright © 2021 Blink Ledger Systems Inc. All rights reserved