Skip to main content

1. Get API Keys

  1. Log in to the Devdraft Console.
  2. Go to Settings > App Settings.
  3. 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>"