Developer Sandbox
Get setup on your own to test in our Sandbox environment
Developer Sandbox
Loop allows merchants to self-serve to our developer sandbox environment.
For production accounts, please reach out to Loop at [email protected].
Requirements
- You will need a Restricted API key from Stripe. Here are directions on how to create one.
- Sepolia wallet address
Networks & Tokens
On our Sandbox/Demo environment, only Sepolia is supported. You can find a list of supported tokens here. On Production Loop support any EVM Network and Solana.
Environments
Environment | API URL |
---|---|
Production | https://api.loopcrypto.xyz |
Demo | https://demo.api.loopcrypto.xyz |
Directions
Steps:
- Create your Loop Account using the Create entity endpoint.
- paymentTypes` refers to the networks and tokens you are willing to to accept
- Only the Sepolia network (11155111) is supported in Sandbox.
- You must set at least one token. You will be able to add more tokens later
- Added tokens will automatically be added to your
Default payment types
list and be applied to all payment links, unless specified otherwise.
- The
payoutDestinations
configures where funds will be sent- You will need a wallet address to receive funds (on Production you will be able to configure payout in fiat). If you do not have a wallet on Sepolia, you can use
0x5b3490b355Ee284D6567dc6168b4536411a1Fb57
. You will not have access this wallet, but you will be able to see the transactions onchain to confirm that everything is working as expected. - Fiat payouts are not supported for testing on Sepolia
- You will need a wallet address to receive funds (on Production you will be able to configure payout in fiat). If you do not have a wallet on Sepolia, you can use
- The user name you use here will be the email you use to log into Loop's Dashboard. You will need access to this email as logging in requires getting a code via email.
From the response, save the API Key
and Entity ID
, you will need both to make the rest of the calls below. This key will be named Default Admin Key
. You can use the List API Keys endpoint to see the permissions it has.
- Connect Loop & Stripe
- Use the Connect Stripe endpoint under Stripe Integrations and pass in the Restricted API key you created
You're all set! Loop has now been added as a payment method for your Stripe account
(optional) Configure default tokens
You can set a list of tokens that will automatically be applied to all payment links, unless configured otherwise. You can do this using the Default payment types
endpoint. Directions are here.
(optional) Add other users.
You can add other users to your dashboard using this endpoint with the following roles:
company
- Will have admin privilegescompany_read
- Can only read data on the dashboard
Please note, the user will not be notified that they have been added. You will need to tell them to login to the company dashboard with the email address you provided.
(optional) Set up Loop's Webhooks
One of the great features of Loop's integration with Stripe is that you can continue to use Stripe's webhooks for any automations you have. Since Loop updates the Customer and Invoice record automatically, Stripe webhooks continue to fire. However, for some cases, Merchants opt to listen to Loop's webhooks. You can read more about our webhooks here.
Next step
- Login and explore the Company Dashboard's sandbox environment at demo.admin.loopcrypto.xyz. The first time you login you will be asked to set up 2FA
- Learn how to create your first payment link
- Learn how what happens after a payment takes place
- Learn how to handle upgrades, downgrades, and cancellations
- Learn how Loop handles renew payments
- Learn about how Loop helps you collect payments with our customer notifications
- Learn how refunds are handled
- Learn how you can settle in fiat
Updated 3 days ago