Proxies, credits and limits

Proxies

Chats run through proxies you supply. Without working proxies, launches return 424 (proxy_unhealthy).

curl https://api.refundhunter.io/api/proxies \
  -H "Authorization: Bearer $CHATTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "proxies": ["host1.example.com:8000:user:pass", "host2.example.com:8000:user:pass"] }'
ActionEndpoint
ListGET /api/proxies
Add one or many (up to 500)POST /api/proxies with proxy or proxies
Replace the whole listPUT /api/proxies with proxies
Remove oneDELETE /api/proxies/{index}, where the index is its position in the list, from 0
Remove allDELETE /api/proxies

Each proxy is written host:port:user:pass.

If many chats suddenly fail to start, the usual cause is proxies that are blocked or out of data. Replace them and launch again.

Credits

Credits are spent as the AI works a chat. Longer chats use more.

curl https://api.refundhunter.io/api/billing/summary \
  -H "Authorization: Bearer $CHATTER_API_KEY"

billing.balance is what you have left, billing.plan is your plan, and creditsUsed is what you have used this period. GET /api/overview gives the balance too, as account.credits.

GET /api/billing/usage lists credits used per chat for a month. Pass period=YYYY-MM for an earlier month.

When the balance reaches zero, anything that would spend credits returns 402 (insufficient_credits): launching, restarting, following up, resuming the AI, sending messages and answering help requests. Pausing and cancelling always work.

Buy more credits

curl https://api.refundhunter.io/api/billing/topup \
  -H "Authorization: Bearer $CHATTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "packId": "starter" }'
{ "url": "https://checkout.stripe.com/..." }

This returns a checkout link. Nothing is charged until a person opens it and pays, so an agent can fetch the link for you but cannot spend money. Packs: starter (200 credits) and plus (375 credits). Credits are added as soon as the payment goes through.

Changing plan, cards, invoices and cancelling are handled in the dashboard.

How many chats run at once

PlanChats at once
Pro25
Scale50

Launch as many as you like. Whatever is over the limit waits in a queue (up to 10,000) and starts as slots free up. GET /api/overview shows capacity.freeSlots and capacity.queued.

Chat hours

Best Buy live chat is staffed 8 AM to 9 PM Central. Outside those hours an immediate launch returns 423 (chat_closed) with nextOpenAt. Pass that as scheduledAt and the chat starts when the window opens. Up to 500 chats can be scheduled.