API reference · Identity & onboarding

Persons

GET Fetch an account holder's person profile

GET /accountholder/{type}/{value}/person

Headers

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

Path parameters

Name
type
value

Example

Response: PersonResponse

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

Responses

StatusWhen
200Person fetched successfully
404No person exists for the given user reference

POST Set an account holder's person profile

POST /accountholder/{type}/{value}/person

Creates the person profile for an account holder, cascading creation of the nested name and any supplied tax residences.

Headers

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

Path parameters

Name
type
value

Example

Request body: PersonRequest · Response: PersonResponse

curl -X POST "https://api.bridgemoni.com/accountholder/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/person" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "name": {
      "firstName": "first name",
      "lastName": "last name",
      "middleName": "middle name",
      "fullName": "Ada Obi",
      "maidenName": "Ada Obi"
    },
    "birthDate": "2027-03-14",
    "birthCity": "Lagos",
    "birthCountryCode": "NG",
    "genderCode": "MALE",
    "maritalStatus": "SINGLE",
    "nationalityCountryCode": "NG",
    "residentCountryCode": "NG",
    "taxResidences": [
      {
        "taxIdentificationNumber": "identification number",
        "countryCode": "NG",
        "taxIdentificationType": "TIN"
      }
    ]
  }'

Responses

StatusWhen
200Person created successfully

PUT Update an account holder's person profile

PUT /accountholder/{type}/{value}/person

Partially updates the person's own scalar fields (birth details, gender, marital status, nationality, residency). 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
type
value

Example

Request body: UpdatePersonRequest · Response: PersonResponse

curl -X PUT "https://api.bridgemoni.com/accountholder/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/person" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "birthDate": "2027-03-14",
    "birthCity": "Lagos",
    "birthCountryCode": "NG",
    "genderCode": "MALE",
    "maritalStatus": "SINGLE",
    "nationalityCountryCode": "NG",
    "residentCountryCode": "NG"
  }'

Responses

StatusWhen
200Person updated successfully
404No person exists for the given user reference

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