When requesting an Payment, use the requestJSON to pass the Payment data, and the response will have responseJSON which stores the Payment's response returned by QuickBooks.
The Payment object has the following parameters.
Reference to the currency in which all amounts on the associated transaction are expressed.
The ID (Unique QuickBooks Online ID) for the referenced customer
Account to which money is deposited
Indicates currency exchnage rate
Unique identifier for this object and ReadOnly field
Individual line items of a transaction
Descriptive information about the object. The MetaData values are set by Data Services and are read only
Indicates Payment method reference Id
Indicates Private Note for a payment
Indicates full update or partial update. Read Only
Version number of the object. It is used to lock an object for use by one app at a time. Read Only
Indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. Read Only
The date entered by the user when this transaction occurred. (add by converting date to string)
Indicates the amount that has not been applied to pay amounts owed for sales transactions
Indicates unique Id
The ID (Unique QuickBooks Online ID) for the referenced vendor