⚑Blinks

Sell your digital collectible or merchandise directly from an X post

Set up a Blink (Blockchain link on Solana) effortlessly via the Helio dashboard to sell your product or service directly on the place where most crypto enthusiasts hang out and that's on Crypto Twitter or X. Blinks also make Pre-Sales easier by converting Solana Actions into shareable, interactive links that initiate on-chain transactions directly from any webpage, app, or platform.

You can check out our first ever Pre-Sale Blink for SUPERBASEDD that sold out within 24 hrs!

  • Login to the Helio dashboard -> Pay Links -> Create payment -> Blinks

  • Customise your Pre-Sale Blink by selecting the fields you'd like to display.

  • Set the price per pre-sale spot, configure the user information you’d like to collect, and limit the total number of pre-sale spots. The payment button will automatically disable once the limit is reached.

  • You can easily download a CSV of all successful transactions on the blink through our dashboard.

You can set up Blinks to automatically create orders in your Shopify store using our webhooks and Zapier integration.

  1. Create a Zap in Zapier.

  1. Add 'Webhooks by Zapier' trigger:

β€’ Set the trigger event as 'Catch Hook' and copy the generated webhook URL.

  1. Create a Blink in the Helio Dashboard

Refer to our Blinks documentation for detailed instructions on how to setup a Blink.

  1. Create the Webhook for the Blink.

Use our API documentation for guidance on our API.

API Endpoint: https://api.hel.io/v1/webhook/blink/transaction?apiKey=

HTTP Method: POST

Required Query Parameters: ?apiKey={{Your public key here}}

Required Headers: Authorization: Bearer {{Your API Token here}}

Example JSON request body:

{
  "blinkId": "BLINKIDHERE",
  "targetUrl": "ZAPIERURLHERE",
  "events": ["CREATED"]
}

Example query:

curl -X POST \
 'https://api.hel.io/v1/webhook/blink/transaction?apiKey=APIKEYHERE' \
 -H 'Accept: application/json' \
 -H 'Content-Type: application/json' \
 -H 'Authorization: Bearer BEARERTOKENHERE' \
 -H 'cache-control: no-cache' \
 -d '{
   "blinkId": "BLINKIDHERE",
   "targetUrl": "ZAPIERURLHERE",
   "events": ["CREATED"]
 }'
  • Retrieve the blinkId from the end of the Blink URL

  • Use the webhook URL copied from the Zapier trigger as the targetUrl

Example response body:

{
    "blink": "66fbb2d3be3d3152461a08ed",
    "inactive": false,
    "company": "667c1f9352919e407156128c",
    "targetUrl": "https://hooks.zapier.com/hooks/catch/20066266/2mogoex/",
    "events": [
        "CREATED"
    ],
    "sharedToken": "jNMO/1PPQdW3/dTq1mZ0GH2YNuOMxeLMtjPqEGW2j9DQUDSrbwIHHP2c8JhEhRfq4aCLm43Ga0CcyH9fQH/HGPl9B7WiqTEKs5j5eb+mFR6w5R+i/xyCkEv+54os9g7T"
}
  1. Add a Shopify action:

  • Set the action event to 'Create Order' and connect your Shopify account.

  1. Configure the Shopify Action

  • Map the fields to use data from the Blink webhook, such as Email, Full Name, Address, Phone Number, blinkId, and Transaction Signature.

  • Manually set other fields like Product, Quantity, and Pricing

  • Set β€˜Financial Status’ to β€˜Paid’ so the order is marked as paid in Shopify.

  1. Complete the Zap:

  • Once a purchase is completed through a Blink, the webhook listens for the event, and an order will be automatically created in your Shopify store with the data passed from the Blink.

Last updated