Module: Webhookdb::Plaid
- Includes:
- Appydays::Configurable
- Defined in:
- lib/webhookdb/plaid.rb
Constant Summary collapse
- DOCUMENTATION_URL =
Manual backfilling is not supported on Plaid integrations. If a manual backfill is attempted, direct customer to this url.
"https://docs.webhookdb.com/guides/plaid/"
Class Method Summary collapse
Class Method Details
.webhook_response(request, webhook_secret) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/webhookdb/plaid.rb', line 17 def self.webhook_response(request, webhook_secret) # Eventually we can figure out how to verify Plaid webhooks, # but it's sort of crazy so ignore it for now. return Webhookdb::WebhookResponse.ok(status: 202) if request.env["HTTP_PLAID_VERIFICATION"] return Webhookdb::WebhookResponse.for_standard_secret(request, webhook_secret, ok_status: 200) end |