Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Loans
  • Back to home
  • LMS
  • EMIs
    • List EMI
      GET
    • List Settlements
      GET
    • Restructure
      POST
    • Calculate EMI
      POST
    • Run EOD
      POST
    • Request Tranche
      POST
  • Records
    • Request Approval
      PUT
    • Initiate Excess Payment Refund
      POST
    • Initiate Adjustment for Cashback & Holdback
      POST
    • Get Single Record
      GET
    • Record Listing
      GET
    • Create Record
      POST
    • Mark Processed
      PUT
    • Unmatched
      GET
    • Export record
      PUT
    • Bulk Create Records
      POST
  • Topups
    • List Topups
      GET
    • Unschedule a scheduled topup
      PUT
    • Reinitiate Payout
      POST
    • Check Line Amount
      PUT
    • Create Topup
      POST
    • Update Topup
      PATCH
    • Bulk Topup Create
      POST
    • Re Run Checks
      GET
    • Invoice Parse
      PATCH
  • Accounts
    • Initiate Disbursement
    • Initiate Loan Params
    • Create Account
    • Close Loan Account
    • Refresh Limit
    • Get Loan Params
    • Get Summary
    • Reset RPS
    • Update Loan Params
  • Payouts
    • Retry Failed Payout
    • Create Payout
    • Payout Callback
    • Process Payout
    • Unmatched Payouts
    • List Payouts
    • Export Payout for Bank
  • Loans
    • Export Cashback
      GET
    • Get Emi Amount
      GET
    • Get Loan Summary
      GET
    • List Loans with Excess Balance
      GET
    • Initiate Adjustment
      POST
    • Initiate Refund
      POST
    • List Loans
      GET
  • Line Details
    • Filter Line Details
    • Create
    • Update
    • Get by type
    • Bulk Internal
    • Retrieve
  • Loan Data
    • Create
    • Update
    • Retrieve
  • Fee
    • Get Fee Demands
    • Bulk Create Fee
    • Create Fee
    • List Fee
    • Fee Details
    • Delete Fee
  • Extra Data
    • Update Extra Data
    • List Extra Data
  • Topup Group
    • Create Topup Group
    • List Topup Group
    • Update TopupGroup
  1. Loans

Initiate Adjustment

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/lms/loans/{id}/adjustments/
Last modified:2025-02-12 13:03:21

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
Example:
4541ca25-cf98-4b75-a2c8-db7d5a6b9e69
Body Params application/json
amount
integer 
required
type
string 
required
Example
{
    "amount": 1,
    "type": "cashback" // options: cashback/holdback
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://preprod.api.crego.io/v1/lms/loans/4541ca25-cf98-4b75-a2c8-db7d5a6b9e69/adjustments/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 1,
    "type": "cashback" // options: cashback/holdback
}'

Responses

🟢201Created
application/json
Body
id
string 
required
created_at
number 
required
updated_at
number 
required
type
string 
required
ref_id
string 
required
index
integer 
required
received_amount
integer 
required
tds_amount
integer 
required
amount
integer 
required
remaining_amount
integer 
required
payment_mode
null 
required
pg_service_id
null 
required
utr
null 
required
settlement_utr
null 
required
settlement_order
string 
required
component_order
string 
required
uploaded_by
null 
required
uploaded_by_id
null 
required
date
number 
required
settled_at
number 
required
revert_date
null 
required
revert_value_date
null 
required
revert_sent_to_gl
boolean 
required
bank_date
number 
required
remark
null 
required
status
string 
required
collection_bank
null 
required
back_date_found
boolean 
required
back_date_marked_on
null 
required
sent_to_gl
boolean 
required
settlement_sent_to_gl
boolean 
required
is_processed
boolean 
required
account
string 
required
topup
string 
required
transaction
null 
required
loans
array[string]
required
Example
{"id":"67f62fb3-0d8f-4f22-bb3d-25f05cee9f10","created_at":1739365350.3815787,"updated_at":1739365350.4541724,"type":"cashback","ref_id":"REC08V8V","index":2740,"received_amount":1.0,"tds_amount":0.0,"amount":1.0,"remaining_amount":1.0,"payment_mode":null,"pg_service_id":null,"utr":null,"settlement_utr":null,"settlement_order":"due_date_first","component_order":"PI-OI-NI-P","uploaded_by":null,"uploaded_by_id":null,"date":1739365350.442355,"settled_at":1739365350.3307903,"revert_date":null,"revert_value_date":null,"revert_sent_to_gl":false,"bank_date":1739365350.442335,"remark":null,"status":"processed","collection_bank":null,"back_date_found":false,"back_date_marked_on":null,"sent_to_gl":false,"settlement_sent_to_gl":false,"is_processed":false,"account":"69fd0af6-3310-4fed-9bf8-1ad4ef612e31","topup":"5dbe9d3b-62b6-410d-b83e-63c63d03fecb","transaction":null,"loans":[]}
Previous
List Loans with Excess Balance
Next
Initiate Refund
Built with