API reference · Identity & onboarding

Tax Residences

POST Add a tax residence to an account holder

POST /accountholder/{type}/{value}/tax/residence

Headers

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

Path parameters

Name
type
value

Example

Request body: TaxResidenceRequest · Response: TaxResidenceResponse

curl -X POST "https://api.bridgemoni.com/accountholder/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/tax/residence" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "taxIdentificationNumber": "identification number",
    "countryCode": "NG",
    "taxIdentificationType": "TIN"
  }'

Responses

StatusWhen
200Tax residence created successfully

GET List tax residences for an account holder

GET /accountholder/{type}/{value}/tax/residences

Headers

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

Path parameters

Name
type
value

Example

Response: List<TaxResidenceResponse>

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

Responses

StatusWhen
200Tax residences fetched successfully

GET Fetch a tax residence by reference

GET /tax/residence/{id}

Headers

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

Path parameters

Name
id

Example

Response: TaxResidenceResponse

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

Responses

StatusWhen
200Tax residence fetched successfully
404No tax residence exists for the given reference

PUT Update a tax residence

PUT /tax/residence/{id}

Partially updates a tax residence. 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: UpdateTaxResidenceRequest · Response: TaxResidenceResponse

curl -X PUT "https://api.bridgemoni.com/tax/residence/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 '{
    "taxIdentificationNumber": "identification number",
    "countryCode": "NG",
    "taxIdentificationType": "TIN"
  }'

Responses

StatusWhen
200Tax residence updated successfully
404No tax residence exists for the given reference

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