CoworkerLedgerEntries
Update CoworkerLedgerEntry
Update an existing CoworkerLedgerEntry record.
PUT
Update CoworkerLedgerEntry
Updates an existing CoworkerLedgerEntry record. You must include theDocumentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerLedgerEntry-Edit role.Enums
ePaymentProvider
ePaymentProvider
| Value | Name |
|---|---|
| 1 | PayPalStandard |
| 2 | PaypalStandardSubscription |
| 3 | GoCardless |
| 4 | Stripe |
| 5 | AuthorizeNetDirect |
| 6 | UsaEPay |
| 7 | AuthorizeNetSubscription |
| 8 | Adyen |
| 9 | MultiGateway |
| 11 | Manual |
| 12 | Forte |
| 13 | PayPalAdaptive |
| 14 | GoCardlessPro |
| 15 | CreditCard |
| 16 | EPay |
| 17 | Braintree |
| 18 | MidTrans |
| 19 | EziDebit |
| 20 | LiqPay |
| 21 | RazorPay |
| 22 | SquareCash |
| 23 | SquareCreditCard |
| 24 | StripeACH |
| 25 | StripeDirectDebit |
| 26 | IZettleCreditCard |
| 27 | PeachPayments |
| 28 | Klarna |
| 29 | StripeTerminal |
| 30 | PayPalStandardRest |
| 401 | HostedPaymentPage1 |
| 402 | HostedPaymentPage2 |
| 403 | HostedPaymentPage3 |
| 500 | Xero |
| 501 | Quickbooks |
| 989 | ManualDirectDebit |
| 990 | BadDebt |
| 991 | CreditCardManual1 |
| 992 | CreditCardManual2 |
| 993 | CreditCardManual3 |
| 994 | Credit |
| 995 | Gift |
| 996 | Bank |
| 997 | Cash |
| 998 | Check |
| 999 | Other |
Request Body
Required Fields
The Id of the CoworkerLedgerEntry record to update.
ID of the business linked to this record.
ID of the coworker linked to this record.
Free-text description of this coworker ledger entry.
Ledger entry code.
Debit amount.
Credit amount.
Account balance after this transaction. Read-only.
Optional Fields
ID of the coworker invoice linked to this record.
Payment gateway name. See
ePaymentProvider? enum above.Payment method number.
Transaction date.
Whether this entry has been billed.
Transaction date in the location’s local time.
Connected transaction GUID.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the update.
Contains the
Id of the updated record.true if the coworkerledgerentry was updated successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Update CoworkerLedgerEntry