Mark As Partially Paid¶
Description
The markAsPartiallyPaidStatus endpoint allows users to pay the invoices partially.
Request
Endpoint
/ui/v1/markAsPartiallyPaidStatus
Method
POST
Header
Content-Type: application/json
Request Body
{
"id": 6385,
"invoiceNumber": "1112",
"createdDateTime": 1604957997000,
"lastUpdatedDateTime": null,
"invoiceDate": 1604898000000,
"paidDate": null,
"dueDate": 1607490000000,
"terms": 30,
"aging": 0,
"invoiceAmount": {
"amount": 225,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1608267267000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"paidAmount": {
"amount": "100.00"
},
"amountDue": {
"amount": 225,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1608267267000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"createdUserId": 65,
"lastModifiedUserId": "65",
"invoiceStatus": {
"value": "Unpaid",
"name": "PARTIALLY_PAID_OFFLINE"
},
"customerId": 6044,
"invoiceBatchId": null,
"paidByUserId": null,
"merchantId": 1,
"customerType": {
"value": "Patient",
"name": "PATIENT"
},
"waiveReasonOnLateFees": null,
"waiveLateFeesByPercentage": null,
"waivedByUserId": null,
"waivedDate": null,
"memo": "Mark As Partially paid",
"amountAdjustedReason": null,
"customerNumber": "1001",
"customerName": "Patient Test",
"merchantName": "ABC Business",
"paidByUserName": null,
"message": null,
"geolocation": null,
"channelId": null,
"roleType": null,
"paymentAction": null,
"addressLine1": null,
"addressLine2": null,
"city": null,
"state": null,
"zipCode": null,
"phone": null,
"merchantCode": null
}
Response
{
"id": 6385,
"invoiceNumber": "1112",
"createdDateTime": 1604957997000,
"lastUpdatedDateTime": null,
"invoiceDate": 1604898000000,
"paidDate": null,
"dueDate": 1607490000000,
"terms": 30,
"aging": 0,
"invoiceAmount": {
"amount": 225,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1608267267000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"paidAmount": {
"amount": 100.00,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1608267267000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"amountDue": {
"amount": 125.00,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1608267267000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"createdUserId": 65,
"lastModifiedUserId": 65,
"invoiceStatus": {
"value": "Partially Paid Offline",
"name": "PARTIALLY_PAID_OFFLINE"
},
"customerId": 6044,
"invoiceBatchId": null,
"paidByUserId": null,
"merchantId": 1,
"customerType": {
"value": "Patient",
"name": "PATIENT"
},
"waiveReasonOnLateFees": null,
"waiveLateFeesByPercentage": null,
"waivedByUserId": null,
"waivedDate": null,
"memo": "Mark As Partially paid",
"amountAdjustedReason": null,
"customerNumber": "1001",
"customerName": "Patient Test",
"merchantName": "ABC Business",
"paidByUserName": null,
"message": {
"code": "137",
"type": {
"value": "Success",
"name": "SUCCESS"
},
"text": null,
"include_i_icon": false,
"description": "The Invoice <strong>1112</strong> has been Marked as Partially Paid successfully."
},
"geolocation": null,
"channelId": null,
"roleType": null,
"paymentAction": null,
"addressLine1": null,
"addressLine2": null,
"city": null,
"state": null,
"zipCode": null,
"phone": null,
"merchantCode": null
}
Updated As Of Version 7.0.1