API reference · Communities & institutions

Rentals bills

POST Pay a household bill for this tenancy

POST /rental/tenancy/{reference}/bill

Paid through the bills module from your main wallet and tagged to the tenancy, so the unit's real monthly cost can include it. Requires the transaction PIN.

Headers

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

Path parameters

Name
reference

Example

Request body: TenancyBillPaymentRequest · Response: GenericResponseTenancyBillPaymentResponse

curl -X POST "https://api.bridgemoni.com/rental/tenancy/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/bill" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "productCode": "IKEDC-PREPAID",
  "customerIdentifier": "04123456789",
  "amount": 15000.0,
  "currencyCode": "NGN",
  "validationReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "extraParameters": {},
  "idempotencyKey": "string"
}'

Responses

StatusWhen
200Bill paid successfully

GET Bills paid for this tenancy

GET /rental/tenancy/{reference}/bills

Headers

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

Path parameters

Name
reference

Example

Response: GenericResponseListTenancyBillPaymentResponse

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

Responses

StatusWhen
200Bills retrieved successfully

GET What a unit really costs a month

GET /rental/unit/{reference}/cost

Rent per month, the estate's charges per month, and the bills actually paid for the unit, each with where it comes from. No figure names a person.

Headers

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

Path parameters

Name
reference

Example

Response: GenericResponseUnitCostResponse

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

Responses

StatusWhen
200Unit cost retrieved successfully

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