TabEdge Developers

API Documentation

Integrate secure payments into your website or application.

Authentication

TabEdge uses secret API keys to authenticate requests to the Developer API. Every key belongs to one Business and must be sent in the Authorization header.

Authorization Header

Authorization: Bearer tb_sk_live_YOUR_API_KEY

Replace the placeholder with your actual secret API key.

API Key Environments

EnvironmentKey Prefix
Livetb_sk_live_
Testtb_sk_test_

The API key environment must match the associated Business environment. Environment mismatches return HTTP 409.

Business-scoped Keys

Each API key is bound to one Business. TabEdge verifies that the Business exists and belongs to the key owner. You do not need to send a separate businessId in Checkout API requests.

Legacy merchantId-only keys are not accepted by the Business-aware Developer API.

Example Request

curl https://www.tabedge.com/api/platform/v1/checkouts/CHECKOUT_ID \
  -H "Authorization: Bearer tb_sk_live_YOUR_API_KEY"

Authentication Errors

HTTPReason
401Missing or malformed API key
401Invalid API key format or unknown key
401Revoked API key
401API key is not bound to a valid Business
401Business ownership mismatch
409API key environment does not match Business environment

Protect Your API Keys

Never expose secret API keys in browser JavaScript, public repositories, or client-side WordPress code. Store keys in secure server-side environment variables. Revoke compromised keys from the dashboard.

Next: Checkout API →