Skip to main content
POST
/
accounting
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": 123,
    "debit": 123,
    "credit": 123,
    "name": "<string>",
    "clientId": 123,
    "bookingId": 123,
    "ccPaymentId": "<string>",
    "userId": 123,
    "bankPaymentId": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key for authentication

Body

application/json
debit
number
required
Required range: x >= 0
credit
number
required
Required range: x >= 0
name
string
required
Minimum string length: 1
clientId
integer
required
bookingId
integer
ccPaymentId
string
userId
integer
bankPaymentId
integer

Response

201 - application/json

Accounting entry created successfully

success
boolean

Indicates if the request was successful

message
string | null

Response message

data
object