Payment
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.
Field Name | Data Type | Description |
CurrencyRef | Reference to the currency in which all amounts on the associated transaction are expressed. | |
CustomerRef* | The ID (Unique QuickBooks Online ID) for the referenced customer | |
DepositToAccountRef | Account to which money is deposited | |
ExchangeRate | Decimal | Indicates currency exchnage rate |
Id | String | Unique identifier for this object and ReadOnly field |
Line | LineItem | Individual line items of a transaction |
Metadata | Descriptive information about the object. The MetaData values are set by Data Services and are read only | |
PaymentMethodRef | Indicates Payment method reference Id | |
PrivateNote | String | Indicates Private Note for a payment |
Sparse | Boolean | Indicates full update or partial update. Read Only |
SyncToken | String | Version number of the object. It is used to lock an object for use by one app at a time. Read Only |
TotalAmt | Decimal | Indicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. Read Only |
TxnDate | String | The date entered by the user when this transaction occurred. (add by converting date to string) |
UnappliedAmt | Decimal | Indicates the amount that has not been applied to pay amounts owed for sales transactions |
UniqueId | String | Indicates unique Id |
VendorRef | The ID (Unique QuickBooks Online ID) for the referenced vendor |
Field Name | Data Type | Description |
Amount | Decimal | |
LinkedTxn | List<LinkedTransactions> | |
Field Name | Data Type | Description |
TxnId | String | |
TxnType | String | |
Field Name | Data Type | Description |
CreateTime | String | |
LastUpdatedTime | String | |