Prerequisites
- A Moflay account and organization
- Access to the Moflay dashboard
Create an API key
Open the API Keys page
Go to API Keys in the dashboard.
Create the key
Give the key a clear name such as
checkout-service-sandbox, then assign
only the permissions your service needs.Environment-specific prefixes
mof_test_: Sandbox API keysmof_live_: Production API keys
Available permissions
The current API permission set includes:express.paycustomers.readcustomers.writetransactions.read
Use the key in your app
Use the key with raw HTTP
Verify the result
Your API key is working if you can call an endpoint successfully in the same environment where the key was created.Troubleshooting
missing_api_key: Add theAuthorization: Bearer YOUR_API_KEYheader.invalid_api_key: Check that the key is valid and copied correctly.invalid_access: The key exists, but it does not have the permission required by that endpoint.