API reference · Accounts & ledger

External Accounts

POST Resolve the account-holder name behind an external account

POST /account/external/enquiry

Forwards accountNumber/providerCode/countryCode to the mediation service, which owns provider routing entirely - this endpoint never knows or picks a provider. The resolved name is cached permanently, shared across every tenant (not tenant-scoped); a request already answered before is served from that cache with no mediation-service call at all.

Headers

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

Example

Request body: ExternalAccountEnquiryRequest · Response: ExternalAccountEnquiryResponse

curl -X POST "https://api.bridgemoni.com/account/external/enquiry" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "accountNumber": "0123456789",
    "providerCode": "provider code",
    "countryCode": "NG"
  }'

Responses

StatusWhen
200Account enquiry resolved

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