Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2
Receiving Webhooks

...

An action like pay charge (https://demo.openmf.org/mifosng-provider/api/v1/savingsaccounts/382/charges/241?command=paycharge) will generate the response {"officeId":187,"clientId":7,"savingsId":382,"resourceId":241}.

See the fields in https://github.com/openMF/mifosx/blob/develop/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/CommandProcessingResult.java.

Along with that MifosX will send the following headers.

Webhook Headers

MifosX will send along a few HTTP headers to differentiate between event types.

NameDescription
X-Mifos-EntityThe entity type that was triggered.
X-Mifos-ActionThe action triggered on the entity type.
X-Mifos-Platform-TenantId

The tenant which experienced the event.

...