API reference · Communities & institutions

Credit union membership

GET Read the member roll

GET /credit-union/{reference}/member

The register of one union. A branch has no roll of its own: the roll returned is that of the society whose books the branch posts to.

Headers

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

Path parameters

Name
reference

Query parameters

NameDefault
statusOptional
classOptional
page0
size25

Example

Response: GenericResponseMemberRollPageResponse

curl -X GET "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/member?page=value&size=25" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Member roll retrieved successfully

POST Admit a member

POST /credit-union/{reference}/member

A primary society admits people. A secondary or apex admits societies and organisations, never individuals. A member joins PROSPECTIVE where the class sets a minimum shareholding, and only paying it up makes them ACTIVE.

Headers

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

Path parameters

Name
reference

Example

Request body: AdmitMemberRequest · Response: GenericResponseMemberPositionResponse

curl -X POST "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/member" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "subjectType": "PERSON",
  "subjectReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "memberNumber": "LTC/0142",
  "membershipClassCode": "REGULAR",
  "eligibilityRoute": "DIRECT",
  "derivedFromPositionReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "derivedRelationship": "spouse",
  "dateOfBirth": "1990-01-01",
  "guardianUserReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "bondEvidenceDocumentReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e"
}'

Responses

StatusWhen
200Member admitted successfully

GET Read a member position by user

GET /credit-union/{reference}/member/user/{userReference}

The same record, addressed by the person rather than by the position.

Headers

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

Path parameters

Name
reference
userReference

Example

Response: GenericResponseMemberPositionResponse

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

Responses

StatusWhen
200Member position retrieved successfully

GET Read a member position

GET /credit-union/{reference}/member/{positionReference}

A member may always read their own position. Reading anyone else's needs VIEW_MEMBER_POSITIONS at this union.

Headers

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

Path parameters

Name
reference
positionReference

Example

Response: GenericResponseMemberPositionResponse

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

Responses

StatusWhen
200Member position retrieved successfully

PUT Move a member to another class

PUT /credit-union/{reference}/member/{positionReference}/membership-class

Every transition is written to the class history with its reason. A class is never edited in place, because "when did this member become entitled to a dividend" is an AGM question.

Headers

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

Path parameters

Name
reference
positionReference

Example

Request body: AssignMembershipClassRequest · Response: GenericResponseMemberPositionResponse

curl -X PUT "https://api.bridgemoni.com/credit-union/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/member/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/membership-class" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "membershipClassCode": "LIFE",
  "reason": "QUALIFIED",
  "narrative": "string"
}'

Responses

StatusWhen
200Membership class assigned successfully

GET Read a member's class history

GET /credit-union/{reference}/member/{positionReference}/membership-class/history

Headers

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

Path parameters

Name
reference
positionReference

Example

Response: GenericResponseListMembershipClassHistoryResponse

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

Responses

StatusWhen
200Class history retrieved successfully

GET List the membership classes of a credit union

GET /credit-union/{reference}/membership-class

Seeded at activation from the template for the union's tier. A class carries rights, not permissions: what a member may do, as distinct from what an office holder may do.

Headers

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

Path parameters

Name
reference

Example

Response: GenericResponseListMembershipClassResponse

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

Responses

StatusWhen
200Membership classes retrieved successfully

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