Authentication

Learn how to authenticate with Bitmopay API

Authentication Overview

Bitmopay API uses API keys to authenticate requests. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Authentication to the API is performed via HTTP Bearer Authentication. Provide your API key as the bearer token value.

API Keys

You can manage your API keys in the Bitmopay Dashboard. Your API keys are environment-specific, so you'll have separate keys for test and live modes.

GET
/api/v1/auth/verify
Verify your API key

Headers

NameTypeRequiredDescription
Authorizationstring
Required
Bearer {your_api_key}

Response Example

{
  "valid": true,
  "user_id": "user_123456",
  "permissions": ["read", "write"]
}
Authentication Example
curl -X GET "https://api.bitmopay.com/api/v1/auth/verify" \
-H "Authorization: Bearer your_api_key_here"