API reference · Communities & institutions

Rent payments

POST Pay rent

POST /rental/tenancy/{reference}/pay

Rent is received on the landlord's behalf into the market's client money account and paid out to them on the settlement cycle. The occupant sees one price; the platform fee and the tax on it come out of the landlord's side. A repeat with the same Idempotency-Key returns the original payment. Requires the transaction PIN.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Idempotency-KeyReuse the same value on every retry of this request
Content-Typeapplication/json

Path parameters

Name
reference

Example

Request body: RentPaymentRequest · Response: GenericResponseRentPaymentResponse

curl -X POST "https://api.bridgemoni.com/rental/tenancy/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/pay" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "chargeReferences": [
    "string"
  ],
  "amount": 2000000.0,
  "currencyCode": "NGN",
  "source": {
    "kind": "WALLET",
    "reference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e"
  }
}'

Responses

StatusWhen
200Rent paid successfully
400The amount does not match what the charges owe
403The transaction PIN was not validated
409Rent cannot move on this tenancy yet, or identity is not verified far enough

POST A bank account number for this tenancy's rent

POST /rental/tenancy/{reference}/payment-account

Money paid into it from any bank is recognised as rent for this tenancy exactly, by the account it arrived in. On a tenancy that cannot take rent yet, it stays in your wallet and is reported as unattributable; it never goes to a landlord nobody verified.

Headers

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

Path parameters

Name
reference

Example

Response: GenericResponseTenancyPaymentAccountResponse

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

Responses

StatusWhen
200Payment account issued successfully
409No bank issued an account number

GET Rent paid through the platform, with allocations and obligations

GET /rental/tenancy/{reference}/payments

Headers

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

Path parameters

Name
reference

Example

Response: GenericResponseListRentPaymentResponse

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

Responses

StatusWhen
200Payments retrieved successfully

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