Submit a case
Submit a new case. Requires the cases:write scope.
The case is routed through the tenant-defined workflow you target and
produces a decision (approved, declined, or in_review).
If idempotencyKey is supplied and a case with the same key already
exists, the existing case is returned with 200 OK instead of
201 Created.
Authorizations
A tenant-scoped API key provisioned by Frayme.
Body
The workflow to route this case through. Provisioned for you by Frayme.
The case type. Determines which subject sub-struct is required.
KYC, KYB, Transaction Validated against the workflow's input schema. Fields and types are dictated by the workflow you target; a payload that does not match the schema returns 400.
Typed business attributes used for entity resolution and review. Set exactly one sub-struct, and it must match type: transaction for Transaction, person for KYC, business for KYB.
Pin the version your client expects. If omitted, the workflow's current published version is used.
Free-form audit fields; surfaced in the portal and event log.
If provided and a case with the same key already exists, the existing case is returned with 200 OK instead of 201 Created.
ISO-8601 timestamp of the originating business event.