Getting started

Get your secret API key from the dashboard.

Send it as a Bearer token in the Authorization header. Never put it in the URL.

curl https://api.aikloop.example/v3/payments \
  -H "Authorization: Bearer $AIKLOOP_SECRET_KEY" \
  -H "Idempotency-Key: 8e03978e-40d5-43e8-bc93-6894a57f9324" \
  -d amount_minor=1050 -d currency=eur -d payment_method=pm_123

That’s it! You’ve created your first payment. Next, read Accept a payment and Handle webhooks.