You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Plaid API调用时无法调出输入账号/路由号码的认证页面如何解决?

解决方案

你需要在创建link token的请求中新增专属配置触发手动账号录入流程,具体修改如下:

  • 调整createLinkToken的入参,新增auth字段指定流程类型,修改后完整代码如下:
var plaid = require('plaid'); 
const client = new plaid.Client({
    clientID: process.env.PLAID_CLIENT_ID,
    secret: process.env.PLAID_SECRET,
    env: process.env.PLAID_ENV
});

console.log('client is ',client)
app.post('/api/create_link_token', async function (req, res) {
    try{
    const response = await client.createLinkToken({
        user: {
        client_user_id: '123-test-user-id',
        },
        client_name: 'Plaid Test App',
        products: ['auth'],
        country_codes: ['US'],
        webhook: 'https://webhook.example.com',
        language: 'en',
        // 新增以下配置触发同日小额打款手动录入模式
        auth: {
            flow_type: 'same_day_micro_deposits'
        }
    })
    return res.send({link_token: response.link_token}) 
    
    } catch (error) {
    // handle error
    console.log('error',error)
    return res.send({err: error.message})
    }
});
  • 重新生成link token后初始化Plaid Link,即可直接进入姓名、路由号、账号录入界面,无需用户搜索银行、输入网银凭证。
    如果配置后仍未生效,可登录Plaid控制台检查对应client_id的Link自定义设置,确认手动账户录入功能未被禁用。

内容的提问来源于stack exchange,提问作者BoundForGlory

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.03 15:54:03