Skip to content

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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
deviceInfoModelOptionalExpand Create an e Check — response body — context
Provides info about the device used to swipe or take payments.
isEcommerceJSONOptionalFlag that indicates if the charge is an eCommerce transaction made over the web.
isEcommerce (anyOf 1)booleanAlternative
isEcommerce (anyOf 2)stringAlternativeKnown values: true, false
lodgingModelOptionalExpand Create a charge — response body — context lodging
For lodging transactions, provides details about the lodging.
mobileJSONOptionalFlag 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)booleanAlternative
mobile (anyOf 2)stringAlternativeKnown values: true, false
recurringJSONOptionalThis is set to true if the charge is recurring. Note : This value ignored for capture and refund requests.
recurring (anyOf 1)booleanAlternative
recurring (anyOf 2)stringAlternativeKnown values: true, false
restaurantModelOptionalExpand Create a charge — response body — context restaurant
For restaurant transactions, provides details about the restaurant.
taxJSONOptional
tax (anyOf 1)JSONAlternativeThe sales tax required for commercial card processing.
Decimal string
tax (anyOf 1) (anyOf 1)JSONAlternative
tax (anyOf 1) (anyOf 1) (anyOf 1)numberAlternative
tax (anyOf 1) (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tax (anyOf 1) (anyOf 2)stringAlternative
tax (anyOf 2)nullAlternative

Referenced models: Create an e Check — response body — context, Create a charge — response body — context lodging, Create a charge — response body — context restaurant

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.