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.
Payment
Field Name | Data Type | Description |
CurrencyRef | Common Data Types | Reference to the currency in which all amounts on the associated transaction are expressed. |
CustomerRef* | Common Data Types | The ID (Unique QuickBooks Online ID) for the referenced customer |
DepositToAccountRef | Common Data Types | 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 | Metadata Common Data Types Common Data Types | Descriptive information about the object. The MetaData values are set by Data Services and are read only |
PaymentMethodRef | Common Data Types | 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 | Common Data Types | The ID (Unique QuickBooks Online ID) for the referenced vendor |
LineItem
Field Name | Data Type | Description |
Amount | Decimal | |
LinkedTxn | List<LinkedTransactions> | |
LinkedTransactions
Field Name | Data Type | Description |
TxnId | String | |
TxnType | String | |
Metadata
Field Name | Data Type | Description |
CreateTime | String | |
LastUpdatedTime | String | |