Resume after payment

If credits run out mid-flight, the project parks at status awaiting_payment. It does not fail. Top up in the arbitr UI, then resume.

Scope: verify:submit. There is no public “add credits” API.

abr_test_… keys never park. Test-mode projects do not consume credits, so you will not see this path in test mode — see Test mode.

Which route

Poll GET /v1/projects/{id} and look at assessment.credits:

Hold Call
Intelligence / AI stage (credits.intelligence.sufficient is false) POST /v1/projects/{id}/resumptions
Trust / human stage (credits.trust present and not sufficient) POST /v1/projects/{id}/review/resumptions

The wrong resume returns 409.

Intelligence (AI)

curl -s -X POST https://api-arbitr.straker.ai/v1/projects/3f2a9c1e-4b7d-4c8a-9f10-2d6e5b7c8a91/resumptions \
  -H "X-API-Key: abr_live_…"

Still short — flat 402, no error object:

{
  "detail": "Insufficient credits",
  "required": 100,
  "available": 30,
  "shortfall": 70
}

Not parked — flat 409:

{
  "detail": "Project is not awaiting payment",
  "current_status": "translating"
}

Trust (human stage)

curl -s -X POST https://api-arbitr.straker.ai/v1/projects/3f2a9c1e-4b7d-4c8a-9f10-2d6e5b7c8a91/review/resumptions \
  -H "X-API-Key: abr_live_…"

Still short — normal envelope, 402 payment_required, plus required / available / shortfall on error.

Not parked — 409.

After 200

Poll again. When status is completed, download deliverables.

See Workflows & credits and Errors.