Making authenticated requests
Include your API key in theAuthorization header of every request, as a Bearer token. Use your Sandbox key against the Sandbox base URL while testing (see Sandbox vs Live):
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to authenticate your API requests
Authorization header of every request, as a Bearer token. Use your Sandbox key against the Sandbox base URL while testing (see Sandbox vs Live):
curl https://sandbox-api.luminpay.co/charges \
-H "Authorization: Bearer YOUR_TEST_API_KEY"
curl https://api.luminpay.co/charges \
-H "Authorization: Bearer YOUR_LIVE_API_KEY"
curl -X PATCH https://api.luminpay.co/api-keys/{id}/revoke \
-H "Authorization: Bearer YOUR_API_KEY"