Skip to main content

Prerequisites

  • A Tribridge merchant account (free, created below).
  • A server or backend that can make HTTPS requests and keep secrets (API keys must never live in frontend code).
  • An HTTPS endpoint of your own if you want to receive webhooks (for local development, a tunnel like ngrok works).
1

Create an account

Sign up at tribridge.tech/signup and verify your email. This unlocks the merchant dashboard.Then add a payout wallet for each chain you want to accept — this is the destination address where your settled funds are paid out. Your payout wallet remains a destination only you control.
2

Generate your API keypair

In the dashboard, open API Keys and generate a keypair. You receive two keys at once, each shown exactly once:Save both somewhere safe — a secrets manager or environment variables, never in git:
.env
3

Create your first test payment

Call POST /payments with your test key. A success response contains a checkout_url:
cURL
Open the returned checkout_url (it looks like https://tribridge.onrender.com/gateway?payment_id=...), pick a chain, and click the Simulate Payment button — test mode only. The payment drives straight to completed and Tribridge fires your test webhook, exactly like a live payment would.
4

Go live

Once your webhook handler verifies correctly in test mode:
  1. Swap tri_test_... for tri_live_... in your server config.
  2. Register a live webhook endpoint (POST /webhooks with is_test: false).
  3. Accept your first real payment.
No code changes beyond the key swap are needed.

Next steps

Creating Payments

Full reference for POST /payments — headers, fields, and responses.

Webhooks

Register endpoints and verify signatures before going live.