https://github.com/dwolla/webhook-handler
POST Dwolla webhooks to partner APIs
https://github.com/dwolla/webhook-handler
dwolla lambda serverless webhooks
Last synced: about 2 months ago
JSON representation
POST Dwolla webhooks to partner APIs
- Host: GitHub
- URL: https://github.com/dwolla/webhook-handler
- Owner: Dwolla
- License: mit
- Created: 2019-03-22T13:11:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-02T06:12:54.000Z (4 months ago)
- Last Synced: 2025-03-22T09:11:52.671Z (2 months ago)
- Topics: dwolla, lambda, serverless, webhooks
- Language: TypeScript
- Size: 2.73 MB
- Stars: 15
- Watchers: 15
- Forks: 2
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webhook-handler
An AWS Lambda function that POSTs Dwolla webhook `Events` to partner APIs and sends the result to SQS. If the API doesn't return as expected, the `Event` is requeued and retried via our [backoff schedule](https://docs.dwolla.com/#webhook-subscriptions). For details, see the [GitPitch Deck](https://gitpitch.com/dwolla/webhook-handler).
## Setup
- Clone the repository and run `npm install`
- Ensure your [AWS credentials are available](https://serverless.com/framework/docs/providers/aws/guide/credentials/)
- Deploy with `ENVIRONMENT=your-env DEPLOYMENT_BUCKET=your-bucket npm run deploy`
- Export `PARTNER_QUEUE_URL`, `RESULT_QUEUE_URL`, and `ERROR_QUEUE_URL` with the queue URLs created in AWS.## Developing
- Run tests, `npm test`
- Invoke locally by editing `genEvent.ts` to your liking, running `npm run start`, and browsing to the localhost port logged.