Create loan transaction
POST/loans/{loanAccountId}/transactions
Post transactions to the loan account. Transactions may affect the balance (such as a repayment or disbursal) or just the state of the account (such as approving it).
You can create transactions either by supplying data via query parameters or a JSON body.
warning
When making a POST request that sends data through query parameters, the Content-Type header must not be set.
Transaction Types
| Type | Description |
|---|---|
REPAYMENT | Make a repayment. |
REPAYMENT_ADJUSTMENT | Reverse a REPAYMENT transaction. |
PAYMENT_MADE | Make a payment that will be stored as a redrawable balance on the loan account. |
PAYMENT_MADE_ADJUSTMENT | Reverse a PAYMENT_MADE transaction. |
DISBURSEMENT | Disburse the loan account. |
DISBURSEMENT_ADJUSTMENT | Reverse a DISBURSEMENT transaction. Note: The parameter for the disbursement adjustment call is currently misspelled as DISBURSMENT_ADJUSTMENT. This will be corrected in the near future. |
APPROVAL | Change the account state to approved. |
UNDO_APPROVAL | Reverse an APPROVAL transaction. |
FEE | Apply a fee. |
FEE_ADJUSTMENT | Reverse a FEE transaction. |
INTEREST_APPLIED | Manually apply interest. |
INTEREST_APPLIED_ADJUSTMENT | Reverse an INTEREST_APPLIED transaction. |
INTEREST_RATE_CHANGED | Apply an interest rate change transaction. |
WITHDRAW | Change the account state to withdrawn. |
UNDO_WITHDRAWN | Reverse a WITHDRAW transaction. |
REJECT | Change the account state to rejected. |
UNDO_REJECT | Reverse a REJECT transaction. |
LOCK | Change the account state to locked. |
UNLOCK | Unlock the account. |
PENDING_APPROVAL | Transition the account state to Pending Approval. |
PENALTY_APPLIED | Apply a penalty. |
PENALTY_ADJUSTMENT | Reverse a PENALTY_APPLIED transaction. |
WRITE_OFF | Write off the loan. |
WRITE_OFF_ADJUSTMENT | Reverse a WRITE_OFF transaction. |
CLOSE | Close the loan account with all obligations met. Requires the account to have 0 principal balance and to be in Active or In Arrears state. |
UNDO_CLOSE | Reverse a CLOSE transaction. |
Request
Responses
- 200
OK