我正在尝试使用Zapier更新谷歌表格与GoCardless的支付信息。不过,在接收到的事件webhook中,我看不到任何可以用来将付款与客户匹配的东西。
events:
1:
id: EVTExxx8B
created_at: 2021-03-29T21:57:38.658Z
resource_type: payments
action: confirmed
links:
payment: indxxx23
details
origin: gocardless
cause: payment_confirmed
bank_account_id: BA00xxx9N
description: Enough time has passed since the payment was submitted for the banks to
return an error, so this payment is now confirmed.
metadata:
meta:
webhook_id: WB00xxxQTY
querystring:我假设我需要通过API将这些ID中的一个与客户列表进行匹配,但我有点卡住了,不知道如何使用Zapier来实现这一点。我在文档中找不到任何帮助(至少我能理解)。请问有没有人能做到类似的事情?非常感谢。
发布于 2021-03-31 06:33:41
不是一个完整的答案,因为我不熟悉Zapier的细节,但这可能会为你指明正确的方向。
您可以使用API链接(API)从他们的payment获取支付资源,它将有一个mandate链接,您可能已经将其保存在某个地方。如果没有保存,您将需要对mandate执行另一个查询,该查询将为您提供相关的customer。
https://stackoverflow.com/questions/66878774
复制相似问题