Skip to main content
POST
Resolve payer names against a schema's required inputs

Authorizations

Authorization
string
header
required

Bearer token obtained from the /v1/auth endpoint

Path Parameters

schemaId
string
required

The schema ID (from GET /v1/schemas). Must be non-blank, ≤1500 characters, contain no /, and must not start with _ or ..

Body

application/json

Request body for POST /v1/schemas/{schemaId}/required-payer-inputs.

payerNames
string[]
required

Payer names to resolve, 1–50 per request. Resolved independently, in order, with no de-duplication. The response's payers array is positionally aligned 1:1 with this array. More than 50 entries returns 400 INVALID_REQUEST (no truncation). A blank/whitespace-only entry is not a whole-request error. It comes back as a per-payer INVALID_PAYER_NAME entry in payers.

Required array length: 1 - 50 elements

Response

Schema required/optional inputs plus one payers entry per requested name.

Success body from POST /v1/schemas/{schemaId}/required-payer-inputs. Carries the schema's own requiredInputs/optionalInputs (identical shape and semantics to GET /v1/schemas/{schemaId}/required-inputs) plus a payers array with one entry per requested name.

schemaId
string
required

Echoes the path parameter.

requiredInputs
object
required
optionalInputs
object
required
payers
object[]
required

One entry per payerNames entry, in input order, with no de-duplication (positionally aligned 1:1 with the request). Each item is either a MatchedPayerEntry or a PayerInputError. Discriminate on the presence of errorCode.

A payers[] entry for a name that resolved to a canonical payer. The resolved phone number is intentionally omitted: dialing happens server-side and is never echoed back.