⚡Update Balance
This endpoint enables you to add payment to sale record based on a sale id.
Endpoint
Headers
Body Parameters
Sample Requests
const axios = require('axios');
const data = JSON.stringify({
"date": "2023-01-15 15:15",
"payment_type": "Credit Card",
"amount_paid": "200.00",
"alert_customer": "yes",
});
const config = {
method: 'post',
url: 'https://api.keepup.store/v2.0/sales/balance/{sale_id}',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer {access_token}'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.error(error);
});
Sample Response
Last updated