Developers / Trust & billing / Billing & credits
Billing & credits
How Synapse Credits are spent and what to do when a request is refused.
Paths, headers and fields mirror The IDIA Hub's Protocol API implementation, checked November 7, 2026. Keys and credit rates are issued per organization inside the Hub; source review is not an independent production assessment.
Spending credits
Credits are charged for eligible work (authorized matches, accepted batches and newly started hourly feature sessions) and appear on your credit ledger. Check your balance with GET /v1/billing/balance, GET /v1/auth/provision-status or on the Trading Desk.
Error responses
See the dedicated Error & status catalog for the source-checked remediation matrix, including feature access failures, billing_failed, ingest_rejected and quarantine exceptions. This compact table is a starting reference, not the full catalog.
| Status | Code | What to do |
|---|---|---|
| 200 / 202 | success, accepted_for_sanitization | Done. 202 means the Vulture batch is committed and waiting for the hourly anchor |
| 400 | invalid_request, invalid_target_type, invalid_target_hash, unsupported_hash_algorithm, idempotency_key_required, invalid_receipt_id, invalid_batch_id | Fix the request body, ID format or add the Idempotency-Key header |
| 400 | invalid_limit, invalid_cursor, invalid_date, invalid_status | Receipt history: use limit 1–100, only one issued direction cursor, valid since/until timestamps and anchored_l2 or ledger_recorded |
| 401 | missing_api_key, invalid_api_key | Send a valid key in x-api-key; check it has not been revoked or expired |
| 402 | insufficient_funds | Top up Synapse Credits. details carries required_credits, available_credits and shortfall; resolution_url opens Hub billing |
| 403 | not_provisioned | Ask your organization's administrator to turn the service on |
| 404 | receipt_not_found, batch_not_found, webhook_not_found, route_not_found | Use an ID that belongs to your organization and check the method and path |
| 413 | batch_too_large | Split into batches (1,000 targets or 500 records / 5 MB) |
| 422 | quarantined (Vulture) | The batch failed sanitization; check reason_code and raw_hash |
| 429 | rate_limit_exceeded | Wait Retry-After seconds; details contains limit: 120, retry_after and reset_at. Preserve Idempotency-Key on validation retries |
| 500 | internal_error, proof_mismatch | Retry with the same Idempotency-Key; report the trace_id if it persists |
| 503 | ingest_rejected (Vulture) | Forwarded gateway rejection; inspect message and confirm retry conditions |
{
"error": {
"code": "insufficient_funds",
"message": "Synapse Credit balance is insufficient for this batch.",
"details": { "required_credits": 0.0, "available_credits": 0.0, "shortfall": 0.0 },
"resolution_url": "https://hub.thebigidia.com/billing",
"trace_id": "ProtocolAPI.1a2b3c4d"
}
}Diagnostics and trace IDs
Protocol API error envelopes and Vulture ingestion responses carry a trace_id such as ProtocolAPI.1a2b3c4d. On IDIA's side each request writes paired start and end log lines for every step (key check, idempotency replay, payload check, charge, forward), tagged with that trace_id.
A step that has a start line but no end line is where a request stalled. Log the trace_id with your own request ID and send it to IDIA when something hangs or fails, so the exact step can be found.
Checking your balance
GET /v1/billing/balance returns wallet.synapse_credits_available (rounded to four decimals), wallet.currency: CRD, organization (organization_id and organization_name), rate_cards.identity_verification and rate_cards.vulture, and as_of (ISO-8601). Each rate card contains provisioned, rate_cr and unit: authorized_target or batch respectively. This is a read; it does not deduct credits. Rates are organization-specific, not a public price list.