API reference · Identity & onboarding
Expected Activity
GET List expected activity records for an account holder
GET /accountholder/{type}/{value}/activities
Headers
| Name | Notes |
Authorization | Bearer token |
X-Tenant | Your tenant |
X-Environment | test or live |
Path parameters
Example
Response: List<ExpectedActivityResponse>
curl -X GET "https://api.bridgemoni.com/accountholder/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/activities" \
-H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
-H "X-Tenant: $BRIDGEMONI_TENANT" \
-H "X-Environment: $BRIDGEMONI_ENV"
{
"data": [
{
"reference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
}
],
"description": "List expected activity records for an account holder"
}
Responses
| Status | When |
200 | Expected activity records fetched successfully |
POST Add expected activity to an account holder
POST /accountholder/{type}/{value}/activity
Headers
| Name | Notes |
Authorization | Bearer token |
X-Tenant | Your tenant |
X-Environment | test or live |
Content-Type | application/json |
Path parameters
Example
Request body: ExpectedActivityRequest · Response: ExpectedActivityResponse
curl -X POST "https://api.bridgemoni.com/accountholder/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/activity" \
-H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
-H "X-Tenant: $BRIDGEMONI_TENANT" \
-H "X-Environment: $BRIDGEMONI_ENV" \
-H "Content-Type: application/json" \
-d '{
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
}'
{
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
}
{
"data": {
"reference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
},
"description": "Add expected activity to an account holder"
}
Responses
| Status | When |
200 | Expected activity created successfully |
GET Fetch an expected activity record by reference
GET /activity/{id}
Headers
| Name | Notes |
Authorization | Bearer token |
X-Tenant | Your tenant |
X-Environment | test or live |
Path parameters
Example
Response: ExpectedActivityResponse
curl -X GET "https://api.bridgemoni.com/activity/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
-H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
-H "X-Tenant: $BRIDGEMONI_TENANT" \
-H "X-Environment: $BRIDGEMONI_ENV"
{
"data": {
"reference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
},
"description": "Fetch an expected activity record by reference"
}
Responses
| Status | When |
200 | Expected activity fetched successfully |
404 | No expected activity record exists for the given reference |
PUT Update an expected activity record
PUT /activity/{id}
Partially updates an expected activity record. Only non-null fields in the request body are applied.
Headers
| Name | Notes |
Authorization | Bearer token |
X-Tenant | Your tenant |
X-Environment | test or live |
Content-Type | application/json |
Path parameters
Example
Request body: UpdateExpectedActivityRequest · Response: ExpectedActivityResponse
curl -X PUT "https://api.bridgemoni.com/activity/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 '{
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
}'
{
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
}
{
"data": {
"reference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
"monthlyVolume": 250000.0,
"currencyCode": "NGN",
"purpose": "March payroll"
},
"description": "Update an expected activity record"
}
Responses
| Status | When |
200 | Expected activity updated successfully |
404 | No expected activity record exists for the given reference |