Create Income Transaction
Request Body
ID of the guide
ID of the trip booking (if applicable)
ID of the tour (if applicable)
Type of transaction
BOOKING_INCOME: Income from tour bookingWITHDRAWAL: Withdrawal of fundsREFUND: Refund to touristADJUSTMENT: Manual adjustment
Transaction amount
Transaction direction
CREDIT: Money added to guide’s balanceDEBIT: Money deducted from guide’s balance
Transaction status
PENDING: Transaction is pendingCOMPLETED: Transaction is completedFAILED: Transaction failedCANCELLED: Transaction was cancelled
Description of the transaction
Timestamp when the transaction occurred
Response
Unique identifier for the transaction
ID of the guide
ID of the trip booking
ID of the tour
Transaction type
Transaction amount
Transaction direction (CREDIT, DEBIT)
Transaction status
Transaction description
When the transaction occurred
When the record was created
Get All Income Transactions
Response
Returns an array of income transaction objects.Get Income Transaction by ID
Path Parameters
The transaction ID
Response
Returns a single income transaction object.Update Income Transaction
Path Parameters
The transaction ID
Request Body
All fields from the create request are optional. Only provide the fields you want to update.Response
Returns the updated income transaction object.Delete Income Transaction
Path Parameters
The transaction ID