/v2/registerRegister a merchant account — no key required — returns a live key and a test key
Authentication: None (public)
Body (JSON)
| Field | Type | Required |
|---|---|---|
name | string | yes |
ownerEmail | string | yes |
Responses
| Status | Meaning |
|---|---|
| 200 | { merchantId, key: mk_live_… shown once, planId, paymentsPerMonth } |
| 409 | MERCHANT_ALREADY_REGISTERED |
Example
curl -sX POST https://t3rnel-wavepay-production.t3ratech.workers.dev/v2/register \
-H 'content-type: application/json' \
-d '{"name":"…","ownerEmail":"…"}'