Sign in

Add to ambassador balance

documented

Adds to the running commission balance of an ambassador.

POST /api/v2/{username}/{token}/json/balance/add/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/add/" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-Api-Key: {{GETAMBASSADOR_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"amount": {{$amount}}, "currency": "{{$currency}}", "note": "{{$note}}"}'