Skip to main content
This walks you from credentials to a completed payee evaluation against the sandbox (https://api.antonpayments.dev). It works for every account tier — including AI-compliance-only accounts, whose credentials carry the intelligence scope by default.

Before you start

  • Sandbox OAuth credentials with the intelligence scope (every default credential has it) — see Authentication for minting a DPoP-bound access token.
  • The examples show Authorization: DPoP $ANTON_ACCESS_TOKEN; the per-request DPoP: <proof> header is implied throughout.
All names, dates, and account numbers below are fabricated test data. In sandbox, evaluations run against the same strict contract and scoring pipeline as production.

Step 1: Validate your request shape (optional)

POST /v1/intelligence/evaluations/validate checks the strict contract without creating or persisting anything — useful in CI:

Step 2: Create the evaluation

The Idempotency-Key header is required on the authenticated surface — a retry with the same key returns the original result instead of re-running the evaluation.
The response is the full evaluation, persisted under your merchant account:
Branch on decision (approve, review_auto, review_manual, decline) and next_action — see Decisions and Next Actions. The exact scores, peers, and identifiers you receive will differ; treat IDs as opaque.

Step 3: Read it back

Evaluations are strictly scoped to your merchant account. A foreign or unknown evaluation_id returns 404 — indistinguishable from a nonexistent one.
The list endpoint returns the standard { data, has_more, next_cursor } page shape — see Pagination.

Step 4: Retrieve evidence

For decisions you need to justify — to a reviewer, an auditor, or your own case management — fetch the expanded, PII-free evidence. Each evidence view is recorded as an audit event.
Evidence is provider-neutral and redacted — no raw provider payloads, no raw request bodies, no raw PII. See Evidence Retrieval.

Errors you may hit

Going further

Payee registration

Field rules for person and business payees.

Instrument screening

Bank accounts, IBANs, cards, and crypto wallets.

PII and vault tokens

Send direct PII or enrich from your Basis Theory vault tokens.

Idempotency and retries

Retry semantics on the create endpoint.