Quick Start
Follow these steps to integrate Bead’s Hosted Payment Page in the sandbox. You will: request credentials → authenticate → create a payment → verify status → test end-to-end.
Step 1: Request sandbox access
Email developers@bead.xyz
. You will receive:
API Key and API Secret
Terminal credentials for sandbox testing
Step 2: Authenticate
Use the access_token
as a Bearer token for all API calls.
Step 3: Create a payment
Important • If you include any field inside
customer
, all of these fields become required:firstName
,lastName
,address
,address2
,city
,state
,postalCode
,countryCode
. • Omitting a required field returns HTTP 400 – ValidationError. • If you omit the entirecustomer
object, the hosted page first collects the shopper’s name and address (two short screens) and then shows the payment-method selection screen.
Redirect the shopper to paymentUrls.url
.
Step 4: Verify payment status
Bead provides two options:
Option A – Webhook notifications (recommended)
Register a webhook URL (via Bead support or the Terminal Management API).
Your server receives real-time status updates.
Return HTTP 200 to acknowledge each webhook.
Option B – Polling
Response structure matches webhook payloads.
Step 5: Test the flow
Use a crypto test-net wallet to complete a sandbox transaction.
Confirm that the shopper is redirected correctly.
Verify that your webhook (or polling logic) records the final status.
Next steps
Request production credentials from Bead.
Switch your base URLs to the production endpoints.
Questions? Email
developers@bead.xyz
.
Last updated