Demo App

See for an example of how to integrate with our webhook and perform actions accordingly using the Loop SDK.


handler.js is the main entry point of the app, which will validate the webhook, do some basic error checks, and handles the webhook based on the different webhook types.


signup.js handles the AgreementSignedUp webhook. The example code will send out the initial transfer request, plus 5 subsequent transfer requests based on the item's frequency configuration.


transfer-processed.js handles the TransferProcessed webhook. The example will log the transfer if it is successful, and do one retry request if the transfer failed.

Last updated