QuickBooks: Create a charge — response body — context
Create a charge: response body, field context. Complete fields and constraints for contract 2026-10-20.
API reference · Contract 2026-10-20
SDK schema: Create a charge — response body — context
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
deviceInfo | Model | Optional | Expand Create an e Check — response body — context Provides info about the device used to swipe or take payments. |
isEcommerce | JSON | Optional | Flag that indicates if the charge is an eCommerce transaction made over the web. |
isEcommerce (anyOf 1) | boolean | Alternative | |
isEcommerce (anyOf 2) | string | Alternative | Known values: true, false |
lodging | Model | Optional | Expand Create a charge — response body — context lodging For lodging transactions, provides details about the lodging. |
mobile | JSON | Optional | Flag that indicates if the charge was made from a mobile device. The card can be keyed, swiped, dipped or tapped on the merchant’s POS device. |
mobile (anyOf 1) | boolean | Alternative | |
mobile (anyOf 2) | string | Alternative | Known values: true, false |
recurring | JSON | Optional | This is set to true if the charge is recurring. Note : This value ignored for capture and refund requests. |
recurring (anyOf 1) | boolean | Alternative | |
recurring (anyOf 2) | string | Alternative | Known values: true, false |
restaurant | Model | Optional | Expand Create a charge — response body — context restaurant For restaurant transactions, provides details about the restaurant. |
tax | JSON | Optional | |
tax (anyOf 1) | JSON | Alternative | The sales tax required for commercial card processing. Decimal string |
tax (anyOf 1) (anyOf 1) | JSON | Alternative | |
tax (anyOf 1) (anyOf 1) (anyOf 1) | number | Alternative | |
tax (anyOf 1) (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
tax (anyOf 1) (anyOf 2) | string | Alternative | |
tax (anyOf 2) | null | Alternative |
Referenced models: Create an e Check — response body — context, Create a charge — response body — context lodging, Create a charge — response body — context restaurant