Client Credit Account Transaction
Create a client credit account transaction
Create and return a client credit account transaction for the specified business id
post/api/business/{businessId}/creditaccounttransaction
Path parameters
businessIdstring required
Request body
Example request
{
"clientId": "dbNZRQHDqAn6VlVoL2c-iA",
"branchId": "SE-J0emUgQnya14mOGdQS",
"description": "Paid into client account",
"transactionAmount": 123.12,
"staffId": "staffid"
}Response
Client credit account transaction created successfully
Example response
{
"clientId": "dbNZRQHDqAn6VlVoL2c-iA",
"branchId": "SE-J0emUgQnya14mOGdQS",
"description": "Paid into client account",
"transactionAmount": 123.12,
"staffId": "staffid",
"outstandingBalance": 123.12
}