Hands In
Authentication

Environments

Learn about the differences between sandbox and live environments

Get Markdown

๐ŸŒ Our API Environments

Hands In provides two separate environments for API integration:

  • Sandbox โ€“ a safe testing environment that simulates payments
  • Live โ€“ the production system where real transactions occur

Understanding the difference between these environments is essential for a smooth integration process.

๐Ÿ” Key Differences: Sandbox vs Live

FeatureSandboxLive
Base URLhttps://api.sandbox.handsin.com/v1https://api.handsin.com/v1
API KeysSeparate Sandbox API KeySeparate Live API Key
TransactionsSimulated (no real payments)Real transactions and charges
WebhooksSent to sandbox-specific webhook URLsSent to live-specific webhook URLs
Gateway ConnectionsMust connect test credentials separatelyMust connect live credentials separately
API BehaviorIdentical structure, requests, and responsesIdentical structure, requests, and responses

Your API keys and base URL must match the environment. A sandbox key won't work on the live API, and vice versa.

๐Ÿงช Testing in Sandbox

The Sandbox environment is designed for development and testing. Use it to:

  • Test payment creation, group payments, declines, refunds, and 3DS flows
  • Simulate success/failure scenarios using test card numbers
  • Confirm webhook event handling (set up separate endpoints)

Sandbox transactions do not move real money and are safe for repeated testing.


๐Ÿš€ Switching to Live

Once your integration is complete and tested:

  1. Change your base URL to https://api.handsin.com/v1
  2. Use your Live API key
  3. Configure your Live webhooks in the dashboard
  4. Configure your Live payment processor in the dashboard

Everything else โ€” endpoints, formats, and headers โ€” remains exactly the same.

On this page