Get set up

Time: 5 minutes

There are 2 steps:

  1. Create your account in Loop (reach out to Loop at [email protected])
  2. Link Loop and Stripe (directions below)

For Demo environments, make sure your Stripe account is in Test mode or you are in a Sandbox environment within Stripe before you create the API key.


Link Loop and Stripe

To link Loop and Stripe you need to create and pass to Loop a restricted API Key. Here's a quick video on the process, or you can simply follow the steps below. It should take about 2 minutes.


Create a restricted API key in Stripe

  • Go to the “developer” tab in the top right corner, click on API key, and create a new “restricted” key
  • Select Providing this key to another website.
  • Enter the key name, Loop's website (https://www.loopcrypto.xyz/), and check Customize permissions for this key.
  • By default, the key should have all the Read and Write permissions listed below, but please double check.
    • Write permissions
      • Customers
      • Products
      • Invoices
      • Prices
      • Subscriptions
      • Webhook Endpoints
      • Checkout Sessions
    • Read Permissions
      • Events
  • Click Create key
  • Copy the key which should start with "rk_test", encrypt it with Foxcrypt, and then email the Foxcrypt link back to us.
    • Securely send Loop this key using foxcrypt (https://foxcry.pt/). Enter the key as the message, and foxcrypt will generate a one-time URL that Loop will use to view the key.

ℹ️

Your restricted key should start with "rk_" on production and "rk_test" on Test mode.

What happens next?

Loop will then programmatically create a webhook to consume status updates from Stripe. No action is required in this step.

Some reference information about the webhook event types that Loop consumes:

  • product.updated, product.deleted, product.created
    • Product fields in Stripe that we use for part of our item
  • price.updated, price.deleted, price.created
    • Price fields in Stripe that we use for part of our item
  • invoice.created, invoice.finalized
    • Invoice flow for creating transfers