- EMIs
- Records
- Topups
- Accounts
- Payouts
- Loans
- Line Details
- Loan Data
- Fee
- Extra Data
- Topup Group
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":[]}