Documentation / API reference
POST /v1/billing/reconcile
- Auth
- Bearer API key; 100 free requests with a verified email, then add a card
Request body
| Field | Type | Default | Notes |
|---|---|---|---|
session_id * | string |
curl -s https://stockfishapi.com/v1/billing/reconcile \
-H "Authorization: Bearer $STOCKFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{}' const res = await fetch("https://stockfishapi.com/v1/billing/reconcile", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.STOCKFISH_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({}),
});
const data = await res.json(); import os, requests
r = requests.post(
"https://stockfishapi.com/v1/billing/reconcile",
headers={"Authorization": f"Bearer {os.environ['STOCKFISH_API_KEY']}"},
json={},
)
data = r.json() Responses
| Status | Meaning |
|---|---|
200 | Verified subscription |
Errors follow problem+json with next_action.