QBO Payments
Script: New Credit Card Card Charge Window
Opens a New Window to allow a user to enter and charge a credit card. This script doesn't return any results. The results of the charge are retrieved using Get Charge Result script, usually by using a "Handler Script"
FileMaker Script Folder Path
/Modules/QBO Payments/Public/New Credit Card Card Charge Window
Parameters
none
Success Return
none given
Error Return
none given
- Modification Count: 23
- TimeStamp: 2020-06-05 14:31:22
Script: Get Card Charge Result
Retrieves the results of the last charge performed by this user
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Get Card Charge Result
Parameters
none
Success Return
none given
Error Return
none given
- Modification Count: 11
- TimeStamp: 2020-05-25 23:36:57
Script: New Bank Account Card Window
Opens a New Window to allow a user to enter and charge a Bank Account. This script doesn't return any results. The results of the charge are retrieved using Get Bank Account Charge Result script, usually by using a "Handler Script"
FileMaker Script Folder Path
/Modules/QBO Payments/Public/New Bank Account Card Window
Parameters
none
Success Return
none given
Error Return
none given
- Modification Count: 24
- TimeStamp: 2020-06-05 14:18:12
Script: Get Bank Account Charge Result
Retrieves the results of the last bank withdrawal performed by this user
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Get Bank Account Charge Result
Parameters
none
Success Return
none given
Error Return
none given
- Modification Count: 11
- TimeStamp: 2020-06-05 14:18:22
Script: Charge Card ( {card, amount, currency} )
exchanges card details for a token then charges the card/rusing the token instead of the card
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Charge Card ( {card, amount, currency} )
Parameters
Type | Name | Description | Optional | Default |
---|---|---|---|---|
object | params | |||
string | params.amount | Amount of the transaction. Valid values range 0.00 through 99999.99. | ||
string | params.currencyCode | three-letter ISO 4217 currency code representing the currency in which the charge was made. | ✅ | USD |
object | params.card | card object | ||
object | params.context | context object | ||
boolean | params.context.mobile | true if the charge occurs on a mobile device | ||
boolean | params.context.isEcommerce | true if it is a web Charge |
Success Return
[
{
"type": "object",
"name": "response",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.created",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.amount",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.token",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.id",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "authCode.id",
"description": "",
"optional": false,
"default": ""
}
]
Error Return
none given
- Modification Count: 44
- TimeStamp: 2020-05-25 23:36:57
Script: Debit Bank Account ( { bankaccount, amount, paymentMode})
Debit a Bank Account
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Debit Bank Account ( { bankaccount, amount, paymentMode})
Parameters
Type | Name | Description | Optional | Default |
---|---|---|---|---|
object | params | |||
string | params.amount | |||
string | params.bankaccount.accountNumber | |||
string | params.bankaccount.accountType | |||
string | params.bankaccount.name | |||
string | params.bankaccount.phone | |||
string | params.bankaccount.routingNumber | |||
string | params.checkNumber | ✅ | ||
string | params.context.deviceInfo.id | ✅ | ||
string | params.context.deviceInfo.ipAddress | ✅ | ||
string | params.context.deviceInfo.latitude | ✅ | ||
string | params.context.deviceInfo.longitude | ✅ | ||
string | params.context.deviceInfo.macAddress | ✅ | ||
string | params.context.deviceInfo.phoneNumber | ✅ | ||
string | params.context.deviceInfo.type | ✅ | ||
string | params.description | ✅ | ||
string | params.paymentMode | - This is also known as the SEC Code. Valid options include: WEB —Internet-initiated entry mode, used for internet transactions. |
Success Return
[
{
"type": "object",
"name": "response",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.created",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.amount",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.status",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "response.authCode",
"description": "",
"optional": false,
"default": ""
}
]
Error Return
none given
- Modification Count: 29
- TimeStamp: 2020-05-25 23:36:57
Script: Create Card Token ( {card} )
exchanges card details for a token on Intuit Servers/ruse the token instead of the card
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Create Card Token ( {card} )
Parameters
Type | Name | Description | Optional | Default |
---|---|---|---|---|
object | card | |||
string | card.expYear | |||
string | card.expMonth | |||
string | card.cvc | |||
string | card.number | |||
object | card.address | ✅ | ||
string | card.address.region | ✅ | ||
string | card.address.postalCode | ✅ | ||
string | card.address.streetAddress | ✅ | ||
string | card.address.country | ✅ | ||
string | card.address.city | ✅ | ||
string | card.name | ✅ |
Success Return
[
{
"type": "object",
"name": "response",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "value",
"description": " the token value",
"optional": false,
"default": ""
}
]
Error Return
none given
- Modification Count: 39
- TimeStamp: 2020-05-25 23:36:55
Script: Create Bank Account Token ( {bank} )
Create bank account token/rexchanges bank account details for a token on Intuit Servers/ruse the token instead of the bank account
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Create Bank Account Token ( {bank} )
Parameters
Type | Name | Description | Optional | Default |
---|---|---|---|---|
object | bankAccount | |||
string | bankAccount.accountNumber | - minimum 4 characters, | ||
string | bankAccount.accountType | |||
string | bankAccount.name | - The name of the bank account holder. | ||
string | bankAccount.phone | - A phone number associated with the account. Must be 10 digits | ||
string | bankAccount.routingNumber | - exactly 9 characters The bank routing number. |
Success Return
[
{
"type": "object",
"name": "response",
"description": "",
"optional": false,
"default": ""
},
{
"type": "string",
"name": "value",
"description": "- the token value",
"optional": false,
"default": ""
}
]
Error Return
[
{
"type": "object",
"name": "error",
"description": "",
"optional": false,
"default": ""
},
{
"type": "number",
"name": "error.errorCode",
"description": "",
"optional": false,
"default": ""
},
{
"type": "...",
"name": "",
"description": "",
"optional": false,
"default": ""
}
]
- Modification Count: 42
- TimeStamp: 2020-06-05 14:19:20
Script: Charge Card Token ( {chargeData })
none
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Charge Card Token ( {chargeData })
Parameters
Type | Name | Description | Optional | Default |
---|---|---|---|---|
object | data | |||
string | data.amount | Amount of the transaction. Valid values range 0.00 through 99999.99. | ||
string | data.token | Opaque representation of the credit card associated with this charge | ||
string | data.currency | Three-letter ISO 4217 currency code representing the currency in which the charge was made. | ✅ | USD |
Success Return
none given
Error Return
none given
- Modification Count: 23
- TimeStamp: 2020-05-25 23:36:55
Script: Charge Bank Account ( {chargeData} )
none
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Charge Bank Account ( {chargeData} )
Parameters
Type | Name | Description | Optional | Default |
---|---|---|---|---|
object | data | |||
string | data.amount | Amount of the transaction. Valid values range 0.00 through 99999.99. | ||
string | data.token | Opaque representation of the credit card associated with this charge | ||
string | data.paymentMode | - the payment mode. This is also known as the SEC Code. Valid options include: WEB—Internet-initiated entry mode, used for internet transactions. |
Success Return
none given
Error Return
none given
- Modification Count: 22
- TimeStamp: 2020-06-05 14:20:04
Script: Send Payment Request( {request} )
makes a request to the QBO Payments API/r#proxy2 replace/r/#/rapply defaults/rvalidate the JSON for required props, and logic
FileMaker Script Folder Path
/Modules/QBO Payments/Public/Send Payment Request( {request} )
Parameters
Type | Name | Description | Optional | Default |
---|---|---|---|---|
object | request | |||
string | request.method | the request method, either GET or POST | ✅ | GET |
string | request.path | the part after https://api.intuit.com/quickbooks/v4/payments, ex. /tokens | ||
string | request.data | the request body, required for POST | ||
object | request.query | required for some operations | ✅ |
Success Return
none given
Error Return
none given
- Modification Count: 29
- TimeStamp: 2020-05-25 23:36:55