Introduction

Welcome to Stablepay! This quickstart guide will help you set up your development environment and get started with integrating Stablepay into your application. Whether you’re a Wallet Issuer or an Acquirer, this guide will provide you with the essential steps to begin your journey with Stablepay.

Prerequisites

Before you begin, ensure you have:

  • Basic knowledge of blockchain technology and Solana
  • Familiarity with RESTful APIs
  • A development environment set up for your preferred programming language

Setup Requirements

For Wallet Issuers

  1. API Access: Request API access from Stablepay.
  2. Deep Linking: Register your Issuer app for deep linking capabilities.
  3. Interchange Payments: Register a SOL wallet address for receiving interchange payments.

For Acquirers

  1. API Access: Request API access from Stablepay.

Detailed Setup Process

Step 1: Request API Access

  1. Send an email to hello@stablepay.ai.
  1. Our team will review your request and provide you with API credentials, typically within 1-2 business days.

Step 2: Register for Deep Linking (Wallet Issuers Only)

  1. Log in to the Stablepay Developer Portal.
  2. Navigate to “App Settings” > “Deep Linking”.
  3. Follow the instructions to register your app’s URL scheme or universal links.
  4. Test the deep linking setup using the provided testing tools.

Step 3: Register SOL Wallet for Interchange Payments (Wallet Issuers Only)

  1. Register the the Solana wallet address upon receiving the API-KEY

Step 4: Obtain a Native SOL Address

Both Issuers and Acquirers need a solana address to receive payments:

  1. Option 1: Through Solana Wallets
    • Download Solana wallets like Phantom and Coinbase.
    • Navigate to “Create New Wallet”.
    • The wallet will provide you with a SOL address.
  2. Option 2: Through Local Exchanges
    • Contact your preferred local exchange that supports Solana.
    • The wallet will provide you with a SOL address.
  3. Option 3: Create Your Own
    • Use Solana’s @solana/web3.js to generate a new keypair.
    • Ensure you securely store the private key.
    • The public key will serve as your native SOL address.

Next Steps

Once you’ve completed the setup process:

  1. Explore the API Documentation: Visit our comprehensive API docs to understand the available endpoints and how to interact with them.
  2. Test out endpoints: We offer API enviroments in various programming languages to simplify your integration process. Find them in the “Downloads” section of the API Portal.

Best Practices

  • Keep your API credentials and wallet private keys secure.
  • Implement proper error handling in your integration.
  • Stay updated with our changelog for any API updates or new features.
  • Implement webhooks for real-time notifications about transaction statuses.

Support

If you encounter any issues or have questions during the setup process, please don’t hesitate to reach out:

Conclusion

Congratulations! You’re now set up to start receiving payments with Stablepay. We’re excited to see what you’ll create. Remember, this is just the beginning – explore our full documentation for more advanced features and optimizations.

Happy building with Stablepay!