API reference · Communities & institutions

Credit union compliance and exports

POST Raise a compliance case

POST /credit-union/{reference}/compliance-case

There is no minimum threshold for a suspicious transaction report. Every suspicion is reportable regardless of amount, including one about an operation that was refused and never posted, which is why the trigger may be a refusal.

Headers

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

Path parameters

Name
reference

Example

Request body: RaiseComplianceCaseRequest · Response: GenericResponseComplianceCaseResponse

curl -X POST "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/compliance-case" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "caseType": "STR",
  "subjectPositionReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "subjectUnionReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "triggerReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "narrative": "string"
}'

Responses

StatusWhen
200Compliance case raised successfully

POST Close a compliance case with no action

POST /credit-union/{reference}/compliance-case/{caseReference}/closure

A suspicion dismissed without a recorded reason is indistinguishable from one nobody looked at, so the reason is required.

Headers

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

Path parameters

Name
reference
caseReference

Query parameters

NameDefault
reasonOptional

Example

Response: GenericResponseComplianceCaseResponse

curl -X POST "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/compliance-case/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/closure?reason=value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Compliance case closed successfully

POST Record that the report was filed

POST /credit-union/{reference}/compliance-case/{caseReference}/filing

The module raises the case; the report is filed by the compliance officer, and the reference it was filed under is recorded so it can be traced.

Headers

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

Path parameters

Name
reference
caseReference

Query parameters

NameDefault
filedReferenceOptional

Example

Response: GenericResponseComplianceCaseResponse

curl -X POST "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/compliance-case/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/filing?filedReference=value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Compliance case filed successfully

POST Record a review of a compliance case

POST /credit-union/{reference}/compliance-case/{caseReference}/review

Headers

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

Path parameters

Name
reference
caseReference

Query parameters

NameDefault
noteOptional

Example

Response: GenericResponseComplianceCaseResponse

curl -X POST "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/compliance-case/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/review" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Compliance case reviewed successfully

GET List compliance cases

GET /credit-union/{reference}/compliance-cases

A confidential case is visible to the compliance officer and the supervisory committee and to nobody else - not the member, not the board by default, not the parent union. Anyone else sees a shorter list rather than an error.

Headers

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

Path parameters

Name
reference

Query parameters

NameDefault
statusOptional

Example

Response: GenericResponseListComplianceCaseResponse

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

Responses

StatusWhen
200Compliance cases retrieved successfully

POST Generate the auditor extract for a fiscal year

POST /credit-union/{reference}/export/auditor

Immutable: generated from the closed period and hashed, so the auditor and the society can prove they looked at the same file. Regenerating after the figures move supersedes the earlier extract rather than editing it.

Headers

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

Path parameters

Name
reference

Query parameters

NameDefault
fiscalYearOptional

Example

Response: GenericResponseUnionExportResponse

curl -X POST "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/export/auditor?fiscalYear=value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Auditor extract generated successfully

POST Export journals for a period

POST /credit-union/{reference}/export/journals

Read-only. The module is not an accounting package and does not import back.

Headers

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

Path parameters

Name
reference

Query parameters

NameDefault
fromOptional
toOptional

Example

Response: GenericResponseUnionExportResponse

curl -X POST "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/export/journals?from=value&to=value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Journals exported successfully

GET List the exports this society has generated

GET /credit-union/{reference}/exports

Their recorded hashes, never their content.

Headers

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

Path parameters

Name
reference

Example

Response: GenericResponseListUnionExportResponse

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

Responses

StatusWhen
200Exports retrieved successfully

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