---
title: "Create a client credit account transaction"
method: POST
path: "/api/business/{businessId}/creditaccounttransaction"
tags: ["Client Credit Account Transaction"]
---

# Create a client credit account transaction

`POST /api/business/{businessId}/creditaccounttransaction`

Create and return a client credit account transaction for the specified business id

## Path parameters

- `businessId` string, required

## Request body

- CreditAccountTransactionCreateRequest
  - `clientId` string, required — The unique identifier of the client for which this credit account transaction applies.
  - `branchId` string, required
  - `description` string, required
  - `transactionAmount` number, required — The transaction amount is the value that will change the clients outstanding balance. Adding a positive value will add to the clients outstanding balance while a negative amount will take away from it
  - `staffId` string

## Response `201`

Client credit account transaction created successfully

- CreditAccountTransactionResponse
  - `clientId` string, required — The unique identifier of the client for which this credit account transaction applies.
  - `branchId` string, required
  - `description` string, required
  - `transactionAmount` number, required — The transaction amount is the value that will change the clients outstanding balance. Adding a positive value will add to the clients outstanding balance while a negative amount will take away from it
  - `staffId` string
  - `outstandingBalance` number — Clients current balance - read only

## Other responses

- `400` — Client credit account transaction data is invalid, unable to create client credit account transaction
- `429` — Request rate limit exceeded. Current limit set to 100 rps.
- `500` — An error occurred while performing the operation

---

[API](https://skmtc.net/phorest/apis/third-party-api.md) · [All operations](https://skmtc.net/phorest/apis/third-party-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phorest/third-party-api/revisions/2218bc90d39c/schema)
