Development & Production

    Sandbox & Live Environments

    Test your integration safely in sandbox before going live with real customer data.

    Sandbox
    Test Environment
    Live
    Production Ready
    Secure
    API Key Protected

    Sandbox Environment

    A safe testing environment with simulated data. Perfect for development and integration testing without affecting real customers.

    • Test with fake data
    • No real transactions
    • Simulated webhooks
    • Data resets weekly
    https://sandbox.api.loyalproapp.com

    Live Environment

    Production environment for real customer data and transactions. Use this after thoroughly testing in sandbox.

    • Real customer data
    • Live transactions
    • Real-time webhooks
    • Persistent data
    https://api.loyalproapp.com

    Environment Comparison

    FeatureSandboxLive
    Base URLhttps://sandbox.api.loyalproapp.comhttps://api.loyalproapp.com
    PurposeTesting and developmentProduction transactions
    DataTest data only, reset weeklyReal customer data
    Rate Limits100 requests/minuteBased on your plan
    WebhooksSimulated eventsReal-time events
    PaymentsTest card numbers onlyReal payment processing

    Get Started with Sandbox

    1

    Create a Sandbox Account

    Sign up for a free LoyalPro account to get instant access to your sandbox environment.

    2

    Get Your Sandbox API Keys

    Navigate to your dashboard and copy your sandbox API keys.

    sk_sandbox_xxxxxxxxxxxxxxxxxxxx
    3

    Test Core Flows

    Use these example requests to test member creation and point transactions.

    curl -X POST https://sandbox.api.loyalproapp.com/v1/members \
      -H "Authorization: Bearer sk_sandbox_xxx" \
      -H "Content-Type: application/json" \
      -d '{"email": "test@example.com", "name": "Test User"}'
    4

    Verify Webhook Integration

    Set up a webhook endpoint and test event delivery in sandbox mode.

    5

    Go Live

    Once testing is complete, switch to your live API keys and start processing real data.

    Test Card Numbers

    Use these test card numbers in sandbox mode to simulate different payment scenarios.

    4242 4242 4242 4242

    Successful payment

    4000 0000 0000 0002

    Card declined

    4000 0000 0000 9995

    Insufficient funds

    Important: Live Environment Caution

    The Live environment manages real customer data and transactions. Use with extreme caution. Always thoroughly test your integration in Sandbox before switching to Live. Ensure your application handles errors gracefully and has proper logging in place.

    Ready to Start Testing?

    Create your free account and get instant access to the sandbox environment.