Plaid Integration - No Clue!

I think I’m beginning to get it - the endpoint doesn’t need to be ‘triggered’ within the app - it triggers on its own as soon as the webhook receives the info. By that logic, as soon as info is sent to webhook, the below endpoint should save the data into the Plaid_Webhook table:


The thing is, it doesn’t… So, I’m either doing something wrong (most likely), Plaid doesn’t send webhooks for a sandbox version or I’m using the wrong webhook.

I’ve noticed that you gave the following url: https://yourapp.yourbubble.com/version-test/api/1.1/wf/plaid_hook

What would the url look like for app called ABCsite? https://ABCsite.yourbubble.com/version-test/api/1.1/wf/plaid_hook ?

I also found this url in the Bubble manual: https://yourapp.bubbleapps.io/version-test/api/1.1/wf/plaid_hook

Do you know what the difference between the two is?

Thank you very much for your help!

Sorry, my example threw you off.

Tbe domain portion of the url will be the same as if you preview a page in a browser (like index). If you have not attached your own domain, it will be yourapp.bubbleapps.io. If you have attached your own domain, then use that. And yes, the whole thing breaks if that is not correct.

1 Like

I don’t seem to be getting webhooks even after I updated the url. What’s the best way to troubleshoot this? Is there a way to see what webhooks were sent to that url?

I used the “Retrieve Item” API call and I can see that the webhook has been properly updated for that item. I also checked the url and the root of it leads me to the website (which lets me do believe the url is correct), but I can’t see how I can troubleshoot further.

If you want to set your app to public viewing, and direct message me the url, I can take a look for you.

I change the settings as follows - is that what’s meant by public viewing?

Hi, I have tried using the Plaid plugin as well as the API plugin to get the user’s bank account details. However, after I sign in to my bank and select my account (Lets say I only select checking.) I am receiving both my checking and savings accounts even though I only selected one account. Is this normal behavior? How can I limit the API call to only return the 1 account?

Hey @adepew. The Get bank account details action uses this api call with plaid: API - Overview | Plaid Docs, which through the plugin gets all accounts for the item provided. So that is working as designed. You have a couple options:

  1. Keep track of the desired accounts within your bubble db, and filter out what you don’t want to process. In my case, I store the plaid item in a thing, and then store the plaid accounts in another thing. Then I put the accounts in a list on the plaid item. The accounts have a simple yes/no flag to delineate which accounts are used within the app. When I get webhooks or the user initiates activity, I only process the accounts with include set to “yes”. I take this approach so that users can add other accounts later without having to reconnect with plaid.

  2. An alternative is to create an API call that uses the same plaid api call linked above, but adds the option to retrieve only one account. I do this on a transactions call, but the same format will apply here on your /auth/get.

Your json body would look like this:

    {
    "client_id": "<Client ID>",
    "secret": "<Secret Key>",
    "access_token": "<Access Token>",
    "options": 
        {
          "account_ids": ["<account_ids>"]
        }

   }

And here is the api call – give this a try:

What is shown above is the call inside of a plugin, which is how I now handle all my auxiliary calls so that the client id and secret are not sent to the client, but allow me to have different dev and live values. But you can do the same thing within the api connector.

Hope this helps!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.