1. Get API Keys
- Log in to the Devdraft Console.
- Go to Settings > App Settings.
- Create a New API Key.
Store your Secret Key securely. It is only shown once.
2. Authenticate
Include your keys in the header of every request:
x-client-key: <YOUR_API_KEY>
x-client-secret: <YOUR_API_SECRET>
3. Make a Request
Send a test request to verify your keys:
curl https://api.devdraft.ai/v0/payment-intents \
-H "x-client-key: <YOUR_KEY>" \
-H "x-client-secret: <YOUR_SECRET>"