Bead Developers
  • Introduction
  • Quick Start
  • Authentication
  • Payments
    • Create Payment
    • Payment Statuses
    • Payment Webhooks
    • Test Transactions - Crypto
    • Changelog
  • Entity Management
    • Onboarding
    • Merchant Management
      • Get Merchant
      • Changelog
    • Location Management
      • Create Location
      • Get Location
      • List Locations
      • Update Location
      • Delete Location
      • Changelog
    • Terminal Management
      • Terminal Lifecycle (Concepts)
      • Create Terminal
      • Get Terminal
      • List Terminals
      • Update Terminal
      • Delete Terminal
      • Webhook Management
      • Changelog
  • Settlement
    • Batches
    • Settlement Details
  • Reporting
    • Payment History Concepts
      • Pagination and Sorting
    • Partner Payments
    • Merchant Payments
    • Terminal Payments
    • Changelog
  • Reference Guide
    • Core Concepts
      • Environments & Base URLs
      • Authentication
      • Error Codes
    • Enumerations & Schemas
      • Tender Types
        • Crypto
        • Alternative Payments
      • Settlement Currencies
      • Common Field Types
    • Endpoint Index
      • Table View (All APIs)
      • Download OpenAPI / Postman
    • Payment Scenarios
      • Under- and Over-Payment Handling
      • Reclaiming Unconverted Crypto
    • Operational Guides
      • Compatible Crypto Wallets
      • Webhook Event Reference
    • Support & Contacts
      • Integration Support
      • Escalation Contacts
    • Changelog
  • FAQs & Troubleshooting
    • Authentication FAQs
    • Payments FAQs
      • Resolving “403 Forbidden” When Creating Payments
    • Environment & Testing
      • How to Test Klarna Payments
      • How to Prepare for USDC Testing
      • How to Test Klarna Payments
    • Webhooks & Error Codes
Powered by GitBook
On this page
  1. Reference Guide
  2. Core Concepts

Environments & Base URLs

PreviousCore ConceptsNextAuthentication

Last updated 2 days ago

Bead offers two runtime environments—Sandbox and Production—so you can develop safely and then move to live traffic with a simple base-URL switch.

Environment
Purpose
REST API base URL
OAuth token URL*
Notes

Sandbox

Functional testing, staging data, integration QA

https://api.test.devs.beadpay.io

https://identity.test.devs.beadpay.io/oauth/token

Lower rate limits; crypto endpoints settle to testnets; data wiped every 30 days.

Production

Live merchant traffic, real settlement

https://api.beadpay.io

https://identity.beadpay.io/oauth/token

Full monitoring & alerting; irreversible monetary movement.

*OAuth URLs assume you are using the client-credentials flow described in the guide.

Switching environments

  1. Point your OAuth client at the matching token URL (sandbox vs. prod).

  2. Change the API host in your HTTP client.

  3. Keep all paths (/Merchants/..., /Locations/..., etc.) identical—no version suffixes or query toggles required.

# Sandbox example
export BEAD_API=https://api.test.devs.beadpay.io
export TOKEN_URL=https://identity.test.devs.beadpay.io/oauth/token

# Production example
# export BEAD_API=https://api.beadpay.io
# export TOKEN_URL=https://identity.beadpay.io/oauth/token

All SDK samples in this guide default to Sandbox. Replace the host strings to go live.

TLS & firewall rules

  • Only HTTPS (TCP 443) is accepted; plain HTTP is rejected.

  • Certificates use RSA-2048 and modern ciphersuites; minimum TLS 1.2.

  • Outbound webhook IP ranges are published in the page.

Environment-specific differences

Area
Sandbox
Production

Rate limits

2× higher burst allowance for fast QA

Stricter; can be raised per contract

Tender types

Includes test-only crypto networks

Mainnet and real card rails only

Data retention

Auto-purged after 180 days

Full audit history

Refer to each endpoint’s detail page for any additional caveats.

Next steps

  • Obtain separate OAuth credentials for each environment.

  • Whitelist the production IP ranges in your firewall before go-live.

Review the page to verify your integration handles 429 responses gracefully.

Authentication
Webhook Event Reference
Rate Limits & Throttling