Skip to content

QuickBooks: Void a payment — request body — body Credit Card Payment Credit Charge Info

Void a payment: request body, field body / CreditCardPayment / CreditChargeInfo. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Void a payment — request body — body Credit Card Payment Credit Charge Info

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONOptionalThe amount processed using the credit card.
Decimal string
Amount (anyOf 1)numberAlternative
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$
BillAddrStreetstringOptionalCredit card holder billing address of record: the street address to which credit card statements are sent.
CcExpiryMonthJSONOptionalExpiration Month on card, expressed as a number: 1 =January, 2 =February, etc.
CcExpiryMonth (anyOf 1)integerAlternative
CcExpiryMonth (anyOf 2)stringAlternativePattern: ^-?[0-9]+$
CcExpiryYearJSONOptionalExpiration Year on card, expressed as a 4 digit number 1999 , 2003 , etc.
CcExpiryYear (anyOf 1)integerAlternative
CcExpiryYear (anyOf 2)stringAlternativePattern: ^-?[0-9]+$
NameOnAcctstringOptionalAccount holder name, as printed on the card.
PostalCodestringOptionalCredit card holder billing postal code. Five digits in the USA.
ProcessPaymentJSONOptional- false or no value-Store credit card information only. Do not store QuickBooks Payment transaction information in CreditChargeResponse. - true -Store credit card payment transaction information in CreditChargeResponse below. Use this setting when QuickBooks Payments is configured to process credit card charges.
ProcessPayment (anyOf 1)booleanAlternative
ProcessPayment (anyOf 2)stringAlternativeOne of: true, false
TypestringOptionalType of credit card. For example, MasterCard, Visa, Discover, American Express, and so on.

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.