Aller au contenu
Neurogatty Neurogatty
Français

Traffic allocation

https://neurogatty.com/api/v1

POST /sub-accounts/{uuid}/traffic

curl -X POST https://neurogatty.com/api/v1/sub-accounts/UUID/traffic \
  -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: alloc-001" \
  -H "Content-Type: application/json" \
  -d '{"gb":25}'

Debits API balance at $2.70 × GB and provisions traffic on the sub-account. Optional Idempotency-Key header prevents double charges on retries.

HTTP 402 means insufficient API balance.