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
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
}Changes
No recorded changes to this operation across all 2 revisions of this API.