Applications can receive real-time notifications whenever a transaction is processed or updated via the InstaMed Webhook interface.
With webhooks enabled, InstaMed sends a simple HTTP POST containing the relevant transaction information (i.e. Patient info, Amount, Transaction Date, TransactionID, etc) to the application URL in the requested format (JSON, XML, NVP).
Response and Error Handling
Return a HTTP status code 200 only if you successfully store the webhook message.
If the initial webhook post is unsuccessful, InstaMed retries the webhook post every 30 minutes for up to five attempts. InstaMed assigns the transaction a pending posting retry workflow status when a message is being re-attempted. If after five attempts the terminal message is unsuccessful, InstaMed assigns a posting error workflow status.
In order to secure a webhook end point, it is recommended that the following InstaMed IP addresses be whitelisted:
Authentication is an optional security method. The options are:
- Certificate-based (public key) authentication
- Basic authentication (username/password)
PLEASE NOTE: Authentication is not available for Member Payments when using the InstaMed Webhook interface
Notifications Available via Webhook
Webhook supports all messages including asynchronous messages and messages generated from the InstaMed platform, including:
Payment Plan Triggers
Note: The TransactionID received via the real-time notification can be used to process a void or simple refund via InstaMed Connect Web Services.
Webhook Samples Wizard