API reference / Orders
/v1/ordersCreate an order
Creates an order for one package.
entry_mode defaults to full. Sending applicant returns501 not_implemented.
Idempotency-Key is required (8 to 255 characters). The same key and
the same body replay the stored response for 24 hours and setIdempotent-Replayed: true. The same key and a different body returns409 idempotency_conflict. A second request while the first is still
running returns 409 request_in_progress.
external_reference is unique per API key and client_account_id.
A duplicate returns 409 duplicate_order with existing_order_id.client_account_id must be in the key's allowed_accounts.
Authentication
Send Authorization: Bearer <key> or the X-API-Key header. A sample key starts with bk_test_. A live key starts with bk_live_.
Scopes
orders:write
Headers
Idempotency-KeystringrequiredRequired on create. 8 to 255 characters, no spaces or control characters.
Stored 24 hours with a hash of the raw body and the full response.
Request body
external_referencestringrequiredclient_account_idstringrequiredentry_modeenumOne of: full, applicant.
packagestringrequiredservicesarrayscreeningsarraytypestringrequiredqualifierstringregionstringcountystringposition_titlestringbilling_codestringrequesterobjectorganizationstringnamestringemailstring · emailapplicantobjectrequiredWhen entry_mode is full (the default), ssn and dob are required.
When entry_mode is applicant, email is required.
first_namestringrequiredmiddle_namestringlast_namestringrequiredsuffixstringssnstringdobstring · dateemailstring · emailphonestringracestringgenderstringcopy_reportbooleanaddressesarrayrequireddocumentsarraytypeenumrequiredOne of: release, other.
file_namestringcontent_base64stringrequiredDecoded body must be at most 4194304 bytes.
metadataobjectOptional notes stored with the order. At most 20 keys. Values
are strings of at most 500 characters.
Responses
201Order created 400Invalid JSON, a malformed query, or a missing Idempotency-Key. invalid_json401Missing or invalid API key. unauthenticated403Missing scope, or `client_account_id` is not allowed for this key. forbiddenaccount_not_allowed409Idempotency conflict, request in progress, duplicate external_reference, or applicant login exists. duplicate_orderidempotency_conflictrequest_in_progress413An embedded document is over 4,194,304 decoded bytes. document_too_large422One or more fields failed validation. validation_failed429Per-key rate limit, or status refresh sooner than 5 minutes. rate_limited501`entry_mode` applicant is not supported. Send `full`. not_implemented502The service could not complete the request. A 503 also sets
`Retry-After`. Retry only when that header is present.
service_unavailable503The service is busy. Retry after the indicated delay. service_unavailable504The request timed out. request_timeoutReturns the Order object.