
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:
- Log in to your account on our platform
- Navigate to the developer section on your dashboard
- 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-hereExample using cURL:
curl -H "X-API-Key: your-api-key-here" https://api.moneymotion.io/createCheckoutSessionThe 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"
}