API reference · Identity & onboarding

Financial accounts

POST Register a financial account

POST /accountholder/{type}/{value}/financial/account

The full account number is accepted here and never returned. Only a masked form and a keyed hash are kept, and the hash is what stops two people claiming the same account.

Headers

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

Path parameters

Name
type
value

Example

Request body: SubjectBankAccountRequest · Response: GenericResponseSubjectBankAccountResponse

curl -X POST "https://api.bridgemoni.com/accountholder/value/value/financial/account" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "institutionCode": "string",
  "institutionName": {
    "name": "string"
  },
  "institutionCountryCode": "string",
  "accountNumber": "string",
  "accountName": {
    "name": "string"
  },
  "accountType": "main",
  "currencyCode": "string",
  "primaryAccount": "true"
}'

Responses

StatusWhen
200Financial accounts created successfully

GET List an account holder's records

GET /accountholder/{type}/{value}/financial/accounts

Headers

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

Path parameters

Name
type
value

Example

Response: GenericResponseListSubjectBankAccountResponse

curl -X GET "https://api.bridgemoni.com/accountholder/value/value/financial/accounts" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Financial accounts fetched successfully

GET Fetch one record

GET /financial/account/{id}

Headers

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

Path parameters

Name
id

Example

Response: GenericResponseSubjectBankAccountResponse

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

Responses

StatusWhen
200Financial accounts fetched successfully

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