Customer Payments
The payment object describes the details regarding to a particular customer's payments.
Attributes
| Attribute | Description |
| payment_mode | string: Mode through which payment is made. This can be checks, cash, credit cards, bank transfers, bank remittance, auto transaction, or others. Maximum length = [100]. |
| reference_number | string: Reference number generated for the payment. A string of your choice can also be used as the reference number. Maximum length of the reference number = [100]. |
| date | string: Date on which payment is made. Date Format [yyyy-mm-dd]. |
| description | string: Description about the payment. |
| payment_id | string: Unique ID of the payment generated by the server. Maximum length allowed = [2000]. |
| payment_mode | double: Exchange rate for the currency used in the invoices and customer's currency. The payment amount would be the multiplicative product of the original amount and the exchange rate. |
| amount | double: Amount paid in the respective payment. |
| invoice_id | string: Invoice ID of the required invoice |