Neon Pay sends webhook notifications to alert applications when data is created or updated. These notifications contain useful data; your application should listen for these and update their own records as appropriate.
Webhook notifications are sent as a POST request with a JSON body to the Webhook URL you specify. The body of these webhooks does not contain the details of the webhook; merely that the trigger has occurred. Here's an example of the body:
"created_at": "2019-02-11 15:13:38"
An application listens for webhooks, then query Neon Pay’s Notifications API to retrieve the details using the
notification_id provided in the webhook body.
The Notifications API can also be queried at any time to retrieve any past notifications. If desired, an application can ignore the webhooks entirely and simply poll the Notifications API for updates.
Types of Webhooks
|A bank account has been created.
|A bank account has been updated.
|A bank account has been deleted.
|A charge was successfully processed.
|A charge was updated (includes becoming authorized or captured).
|A charge was requested (not yet authorized or captured).
|A previously authorized charge was captured.
|A previously authorized charge was canceled.
|A charge has been updated.
|A charge has been refunded.
|A refund has been requested.
|A refund has been updated.
|A refund is processing.
|A refund has been completed.
|A refund has failed.
|A dispute has been created.
|A dispute has been resolved and closed.
|A dispute has been resolved and won on behalf of the merchant.
|A dispute has been resolved and lost on behalf of the merchant.
|A dispute has been updated. Typically this happens when evidence is provided or a processor submits new information.
|A payout has been created.
|A payout has failed.
|A payout was attempted but failed/returned to merchant.
|A payout was successful and paid out to the merchant.
|A new merchant account was created.
|A merchant account was updated.
|A merchant account could not be verified and requires additional information to be submitted.
|A merchant account is verified and ready to transact.
|An organization has been created with a referrer_id in the /organization/register route. This webhook will include the client_id and state if passed in the URL to /register.
|A payment token's information was updated. Namely useful for recurring charges.