QuickBooks: Create a charge — request body — body context
Create a charge: request body, field body / context. Complete fields and constraints for contract 2026-10-20.
API reference · Contract 2026-10-20
SDK schema: Create a charge — request body — body context
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
deviceInfo | Model | Optional | Expand Create a charge — request body — body context device Info Provides info about the device used to swipe or take payments. |
isEcommerce | JSON | Required within parent | Flag that indicates if the charge is an eCommerce transaction made over the web. |
isEcommerce (anyOf 1) | boolean | Alternative | |
isEcommerce (anyOf 2) | string | Alternative | One of: true, false |
lodging | Model | Optional | Expand Create a charge — request body — body context lodging For lodging transactions, provides details about the lodging. |
mobile | JSON | Required within parent | 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 | One of: 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 | One of: true, false |
restaurant | Model | Optional | Expand Create a charge — request body — body context restaurant For restaurant transactions, provides details about the restaurant. |
tax | JSON | Optional | The sales tax required for commercial card processing. Decimal string |
tax (anyOf 1) | number | Alternative | |
tax (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
Referenced models: Create a charge — request body — body context device Info, Create a charge — request body — body context lodging, Create a charge — request body — body context restaurant