API reference · Identity & onboarding

Identifications

POST Add an identification document to an account holder

POST /accountholder/{type}/{value}/identification

Registers an unverified identification document.

Headers

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

Path parameters

Name
type
value

Example

Request body: IdentificationRequest · Response: IdentificationResponse

curl -X POST "https://api.bridgemoni.com/accountholder/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/identification" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "identificationType": "PASSPORT",
    "identificationNumber": "identification number",
    "issuingCountryCode": "NG",
    "issuingAuthority": "Ada Obi",
    "issueDate": "2027-03-14",
    "expiryDate": "2027-03-14",
    "identifier": "identification number",
    "frontImageUrl": "unified resource identifier",
    "backImageUrl": "unified resource identifier"
  }'

Responses

StatusWhen
200Identification created successfully

GET List identification documents for an account holder

GET /accountholder/{type}/{value}/identifications

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
type
value

Example

Response: List<IdentificationResponse>

curl -X GET "https://api.bridgemoni.com/accountholder/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/identifications" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Identifications fetched successfully

GET Fetch an identification document by reference

GET /identification/{id}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
id

Example

Response: IdentificationResponse

curl -X GET "https://api.bridgemoni.com/identification/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Identification fetched successfully
404No identification exists for the given reference

PUT Update an identification document

PUT /identification/{id}

Partially updates an identification document. Only non-null fields in the request body are applied.

Headers

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

Path parameters

Name
id

Example

Request body: UpdateIdentificationRequest · Response: IdentificationResponse

curl -X PUT "https://api.bridgemoni.com/identification/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "identificationType": "PASSPORT",
    "identificationNumber": "identification number",
    "issuingCountryCode": "NG",
    "issuingAuthority": "Ada Obi",
    "issueDate": "2027-03-14",
    "expiryDate": "2027-03-14",
    "identifier": "identification number",
    "frontImageUrl": "unified resource identifier",
    "backImageUrl": "unified resource identifier"
  }'

Responses

StatusWhen
200Identification updated successfully
404No identification exists for the given reference

POST Upload a front/back document image for an identification

POST /identification/{id}/document/{side}

Stores the uploaded file via the document module and attaches its reference to the identification's front or back side.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-TypeMULTIPART

Path parameters

Name
id
side

Query parameters

NameDefault
fileOptional

Example

Response: IdentificationResponse

curl -X POST "https://api.bridgemoni.com/identification/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/document/FRONT?file=value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: multipart/form-data" \
  -F "file=@/path/to/document.png"

Responses

StatusWhen
200Document uploaded successfully
404No identification exists for the given reference

GET Fetch a short-lived download URL for an identification's front/back document

GET /identification/{id}/document/{side}/url

Returns a presigned URL (valid for a limited time) for the requested side.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
id
side

Example

Response: String

curl -X GET "https://api.bridgemoni.com/identification/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/document/FRONT/url" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Document URL fetched successfully
404No document has been uploaded for this side yet

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