API Keys

Securely authenticate your requests to the TriBridge API.

Key Types

Public Keys

pk_test_... / pk_live_...

Used in client-side code (frontend) to initialize the payment gateway or SDK. Safe to include in your HTML/JS.

Secret Keys

sk_test_... / sk_live_...

Used for server-to-server requests. Should never be shared or committed to version control.

Security Best Practices

Always use environment variables for your secret keys. If a key is compromised, revoke it immediately from your merchant dashboard.