我试图在visualforce页面中集成Plaid和salesforce,我已经完成了所有的过程,我唯一的问题是,当响应被返回时,返回的响应中没有事务,是否有任何特定的参数需要添加,以便事务出现在响应中。
const request: TransactionsGetRequest = {
client_id: client_id,
secret: secret
access_token: access_token
start_date: '2018-01-01',
end_date: '2020-02-01',
options: {
count: 250,
offset: 0,
}响应示例
{
"accounts": [
{
"account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",
"balances": {
"available": 110,
"current": 110,
"iso_currency_code": "USD",
"limit": null,
"unofficial_currency_code": null
},
"mask": "0000",
"name": "Plaid Checking",
"official_name": "Plaid Gold Standard 0% Interest Checking",
"subtype": "checking",
"type": "depository"
}
],
"transactions": [],
"item": {
"available_products": [
"balance",
"credit_details",
"identity",
"investments"
],
"billed_products": ["assets", "auth", "liabilities", "transactions"],
"consent_expiration_time": null,
"error": null,
"institution_id": "ins_3",
"item_id": "eVBnVMp7zdTJLkRNr33Rs6zr7KNJqBFL9DrE6",
"webhook": "https://www.genericwebhookurl.com/webhook"
},
"total_transactions": 0,
"request_id": "45QSn"
}发布于 2021-07-29 02:41:20
感谢您发布您的查询。我认为问题只是您用于测试查询的日期对于Sandbox测试环境来说太旧了--我认为Sandbox在过去不会加载那么远的事务数据。你能试一下今年的一组日期吗?
编辑:或者这可能是一个时间问题/事务尚未加载,这似乎很可能是因为它在Postman中为您工作,而不是在Salesforce中。
https://stackoverflow.com/questions/68544706
复制相似问题