---
title: Payment
slug: quickbooks/payment
description: Learn how to request a Payment and get its response from QuickBooks with this comprehensive document. Discover the different parameters of the Payment object, including CurrencyRef, CustomerRef, DepositToAccountRef, ExchangeRate, and more. Understand the 
docTags: 
createdAt: 2021-10-29T11:14:38.000Z
---

When processing a Payment, use the requestJSON to pass the Payment data. The returned response will contain a responseJSON section with the Payment response returned by Breadwinner for QuickBooks.

The Payment object has the following parameters.

### Payment

| **Field Name**                            | **Data Type**                               | **Description**                                                                                                             |
| ----------------------------------------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| CurrencyRef                               | [value\_name](docId\:GoAsZtQI8wCZGotEKYtEK) | Reference to the currency in which all amounts on the associated transaction are expressed.                                 |
| CustomerRef<font color="#e00707">*</font> | [value\_name](docId\:GoAsZtQI8wCZGotEKYtEK) | The ID (Unique QuickBooks Online ID) for the referenced customer                                                            |
| DepositToAccountRef                       | [value\_name](docId\:GoAsZtQI8wCZGotEKYtEK) | Account to which money is deposited                                                                                         |
| ExchangeRate                              | Decimal                                     | Indicates currency exchange rate                                                                                            |
| Id                                        | String                                      | Unique identifier for this object and ReadOnly field                                                                        |
| Line                                      | LineItem                                    | Individual line items of a transaction                                                                                      |
| Metadata                                  | [Metadata](docId\:GoAsZtQI8wCZGotEKYtEK)    | Descriptive information about the object. The MetaData values are set by Data Services and are read only                    |
| PaymentMethodRef                          | [value\_name](docId\:GoAsZtQI8wCZGotEKYtEK) | Indicates Payment method reference Id                                                                                       |
| PaymentRefNum                             | String                                      | Indicates Reference Number for a payment                                                                                    |
| PrivateNote                               | String                                      | Indicates Memo 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                                 | [value\_name](docId\:GoAsZtQI8wCZGotEKYtEK) | The ID (Unique QuickBooks Online ID) for the referenced vendor                                                              |

### LineItem&#x20;

| **Field Name** | **Data Type**             | **Description**                                                      |
| -------------- | ------------------------- | -------------------------------------------------------------------- |
| Amount         | Decimal                   | Indicates the total amount for a particular Invoice or a Credit Memo |
| LinkedTxn      | List\<LinkedTransactions> | Indicates a List of LinkedTransactions                               |

### LinkedTransactions

| **Field Name** | **Data Type**  | **Description**                               |
| -------------- | -------------- | --------------------------------------------- |
| TxnId          | String         | Indicates Invoice Id or Credit Memo Id        |
| TxnType        | String         | Indicates value such as Invoice or CreditMemo |





