阅读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 值。