logomoneymotion
background
moneymotion Docs
moneymotion Docs
Authentication

All API endpoints require authentication using an API key which can be readily obtained from your store dashboard.

Obtaining an API Key

To obtain an API key:

  1. Log in to your account on our platform
  2. Navigate to the developer section on your dashboard
  3. Generate a new API key

Keep your API key secure and do not share it publicly.

Using Your API Key

X-API-Key Header

Do not use Bearer in your X-API-Key header. The API key should be used as-is.

Include your API key in the X-API-Key header of each request:

X-API-Key: your-api-key-here

Example using cURL:

curl -H "X-API-Key: your-api-key-here" https://api.moneymotion.io/createCheckoutSession

The server will use the provided API key to determine the associated store ID internally.

Error Responses

If authentication fails, you will receive a 401 Unauthorized response:

401 Unauthorized
{
  "error": "Unauthorized",
  "message": "Invalid or missing API key"
}