Skip to content
POST Dwolla webhooks to partner APIs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
scripts
src
test initial commit Mar 26, 2019
.editorconfig
.gitignore
.nvmrc
LICENSE initial commit Mar 26, 2019
PITCHME.md
PITCHME.yaml
README.md
package-lock.json
package.json
serverless.js
tsconfig.json
tslint.yml
webpack.config.js initial commit Mar 26, 2019

README.md

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. For details, see the GitPitch deck.

Setup

  • Clone the repository and run npm install
  • Ensure your AWS credentials are available
  • 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.
You can’t perform that action at this time.