Quickbooks API - 如何使用存储的银行帐户创建费用
Quickbooks API - How to create a charge using stored bank account
我正在使用 QuickBooks Online。使用付款 api 我已将客户的银行帐户信息存储到 Quickbooks。现在我想使用付款 api 对存储的银行帐户进行收费。我找不到办法做到这一点。我知道如何使用存储的信用卡创建费用,但在拨打 /quickbooks/v4/payments/charges
api 电话时找不到提供银行帐户信息的方法。
是否可以对存储的银行帐户进行收费?
阅读 eChecks
/ debits
上的文档:
具体来说,这部分:
Create a debit
REQUEST URL
Sandbox Base URL: https://sandbox.api.intuit.com
Production Base URL: https://api.intuit.com
Operation:
POST /quickbooks/v4/payments/echecks
Content type: application/json
To process an E-check, you create a new debit object.
它显示了这样一个例子:
{
"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
值。
我正在使用 QuickBooks Online。使用付款 api 我已将客户的银行帐户信息存储到 Quickbooks。现在我想使用付款 api 对存储的银行帐户进行收费。我找不到办法做到这一点。我知道如何使用存储的信用卡创建费用,但在拨打 /quickbooks/v4/payments/charges
api 电话时找不到提供银行帐户信息的方法。
是否可以对存储的银行帐户进行收费?
阅读 eChecks
/ debits
上的文档:
具体来说,这部分:
Create a debit
REQUEST URL
Sandbox Base URL: https://sandbox.api.intuit.com
Production Base URL: https://api.intuit.com
Operation:
POST /quickbooks/v4/payments/echecks
Content type: application/json
To process an E-check, you create a new debit object.
它显示了这样一个例子:
{
"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
值。