APITaraPay
Merchant Console

Authentication

API keys, scopes, and test vs live isolation

POST— (header on every /v1/* merchant route)

Create keys in Merchant Console → Developers. The full secret is shown once. Keys are stored as prefix + SHA-256 hash only.

Authorization header
Authorization: Bearer tp_test_<prefix>.<secret>

Key prefixes

FieldTypeReqDescription
tp_test_…Key—Test ledger (livemode: false)
tp_live_…Key—Live ledger (livemode: true). Creating live keys may require MFA.

Scopes

FieldTypeReqDescription
payments:writeScope—Create intent, create payout, simulate webhook
payments:readScope—Get/list payments, get payout, balance
Test keys cannot read or mutate live intents. Live keys require ≥1 API IP allowlist entry; empty allowlist rejects all live /v1 calls. When the allowlist is non-empty, non-listed IPs are rejected for both test and live.