Authentication (API Keys)

Secure your API requests with API keys and optional bearer tokens.

Authentication Methods

  1. API Key (Required for all requests): Example cURL request:

    curl -X GET https://api.monei.cc/api/v1/wallet/me -H "X-API-KEY: your_api_key_here"

Key Management

  1. Generate keys in the Developer Portal

  2. Set appropriate permissions/scopes

  3. Rotate keys quarterly

  4. Never expose keys in client-side code

Error Responses Example error response:

{
  "message": "Unauthorized",
  "error": "Unauthorized",
  "statusCode": 401
}

Last updated