Sign in

Deduct from ambassador balance

documented

Deducts from the running commission balance of an ambassador.

POST /api/v2/{username}/{token}/json/balance/deduct/Ambassadorsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.getambassador.com/api/v2/{{$username}}/{{$token}}/json/balance/deduct/" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"amount": {{$amount}}, "currency": "{{$currency}}", "notes": "{{$notes}}"}'