Skip to content

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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
deviceInfoModelOptionalExpand Create a charge — request body — body context device Info
Provides info about the device used to swipe or take payments.
isEcommerceJSONRequired within parentFlag that indicates if the charge is an eCommerce transaction made over the web.
isEcommerce (anyOf 1)booleanAlternative
isEcommerce (anyOf 2)stringAlternativeOne of: true, false
lodgingModelOptionalExpand Create a charge — request body — body context lodging
For lodging transactions, provides details about the lodging.
mobileJSONRequired within parentFlag 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)stringAlternativeOne of: 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)stringAlternativeOne of: true, false
restaurantModelOptionalExpand Create a charge — request body — body context restaurant
For restaurant transactions, provides details about the restaurant.
taxJSONOptionalThe sales tax required for commercial card processing.
Decimal string
tax (anyOf 1)numberAlternative
tax (anyOf 2)stringAlternativePattern: ^-?[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

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.