我在网上使用QuickBooks。使用支付api,我已经将客户的银行账户信息存储到Quickbook。现在,我想使用支付api从存储的银行帐户中创建一个费用。我找不到办法做到这一点。我知道如何使用存储的信用卡创建一个收费,但我无法找到一种方法来提供银行帐户信息,同时进行/quickbooks/v4/payments/charges api调用。
是否可以从储存的银行帐户中收取费用?
发布于 2017-12-28 04:04:39
阅读eChecks /debits上的文档:
具体而言,本节:
创建借方 请求URL 沙箱基网址:https://sandbox.api.intuit.com 生产基础网址:https://api.intuit.com 操作: POST /quickbooks/v4/payments/echecks 内容类型: application/json 要处理电子支票,您需要创建一个新的借方对象.
它展示了一个这样的例子:
{
"amount":"1.11",
"bankAccount":{
"name":"Fname LName",
"routingNumber":"490000018",
"accountNumber":"11000000333456781",
"accountType":"PERSONAL_CHECKING",
"phone":"1234567890"
},
"context":{
"deviceInfo":{
"id":"1",
"type":"type",
"longitude":"longitude",
"latitude":"",
"phoneNumber":"phonenu",
"macAddress":"macaddress",
"ipAddress":"34"
}
},
"paymentMode":"WEB",
"checkNumber":"12345678",
"description":"Check Auth test call"
}连同一张纸条,上面写着:
bankAccountOnFile:
required if neither bankAccount nor token are specified
string
The bank account details that have been previously stored on file.TLDR:使用create a debit端点并在请求中指定bankAccountOnFile id值。
https://stackoverflow.com/questions/47991672
复制相似问题