/
Authentication
Every request needs both halves of your API key: the client key in the X-Dime-Client header, and its secret key as a Bearer token.
X-Dime-Client: ck_your_sandbox_key
Authorization: Bearer sk_your_sandbox_secretBoth must belong to the same key. A request with only one of them, or with a pair that does not match, returns 401.
The secret key is for your server only. Never put it in a browser, a mobile app or source control. The client key is the public half: it identifies you in Dime's client SDKs and cannot call this API on its own. If a secret key may have leaked, roll the key in the Dime dashboard.
Sandbox and production are separate environments with separate data. A key works only in the environment that issued it. Keys look the same in both (ck_… and sk_…), so label them where you store them.