API reference · Credit

Credit subjects

POST Link this tenant's user to a credit subject

POST /credit-scoring/subject/link

Establishes that a user in this tenant is a particular person, on the evidence of an identification this tenant has already had verified. If that person is already known to the platform the existing subject is joined; if not, one is created. The response is identical either way, because a caller able to tell them apart would learn whether a given person is known elsewhere on the platform.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Example

Request body: CreditSubjectLinkRequest · Response: CreditSubjectLinkResponse

curl -X POST "https://api.bridgemoni.com/credit-scoring/subject/link" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "userReference": "text",
    "identificationReference": "text"
  }'

Responses

StatusWhen
200Linked
400The identification belongs to a different user, or is not an accepted type
409Not verified, assurance below the floor, or this user is already linked

Generated from the OpenAPI document. Branch on the HTTP status: there is no machine-readable error code on the wire. Errors