Skip to main content

Input fields

accountNumber : String! required

The account number.

displayNote : String

Optional short note about account charge for customer display.

grossAmount : Int

The gross amount of the charge to be added, in the smallest units of currency (e.g. cents). Exactly one of grossAmount and grossAmountDetails must be provided.

Deprecation
The 'grossAmount' field is deprecated.

Please use 'grossAmountDetails' instead. For the most direct replacement, use 'grossAmountDetails.amountAsMinorUnits.amount'.

- Marked as deprecated on 2026-11-16.
- Scheduled for removal on or after 2027-12-01.
grossAmountDetails : MoneyInput

The gross amount of the charge to be added. Exactly one of grossAmount and grossAmountDetails must be provided.

metadata : JSONString

Any extra data that will be associated with account charge.

note : String

Optional short note about account charge for internal use.

reason : String! required

The reason why the charge is added to the account. This should be a valid charge reason code.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "accountNumber": "A-C9272CF5", "displayNote": "every-position-answer-author-memory", "grossAmountDetails": MoneyInput, "metadata": {"key": "value"}, "note": "theory-city-she-third-find", "reason": "realize-support-he-red-say" }