Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Records
  • 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
      POST
    • Initiate Loan Params
      POST
    • Create Account
      POST
    • Close Loan Account
      PUT
    • Refresh Limit
      GET
    • Get Loan Params
      GET
    • Get Summary
      GET
    • Reset RPS
      POST
    • Update Loan Params
      PATCH
  • Payouts
    • Retry Failed Payout
    • Create Payout
    • Payout Callback
    • Process Payout
    • Unmatched Payouts
    • List Payouts
    • Export Payout for Bank
  • Loans
    • Export Cashback
    • Get Emi Amount
    • Get Loan Summary
    • List Loans with Excess Balance
    • Initiate Adjustment
    • Initiate Refund
    • List Loans
  • 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. Records

Initiate Excess Payment Refund

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/lms/records/{id}/refunds/
Last modified:2025-02-12 07:18:51

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:
13ff2000-7edb-4d7c-8833-579e4766b477
Body Params multipart/form-data
amount
string 
required
Required. System will round-off upto configured decimal points.
Example:
100.2347
payout_to
string 
required
Optional if configured in program. Values: custom_bank, anchor, borrower
Example:
borrower
credit_bank
string 
optional
Mandatory if payout_to is custom_bank. Object with keys (account_holder_name, account_no, ifsc)
method
string 
optional
Optional. Values: manual, automatic
Example:
manual

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/records/13ff2000-7edb-4d7c-8833-579e4766b477/refunds/' \
--form 'amount="100.2347"' \
--form 'payout_to="borrower"' \
--form 'credit_bank=""' \
--form 'method="manual"'

Responses

🟢200Success
application/json
Body
object {0}
Example
{"id":"13ff2000-7edb-4d7c-8833-579e4766b477","created_at":1738915810.0947723,"updated_at":1739344723.91873,"type":"repayment","ref_id":"REC07RYO","index":2667,"received_amount":63260.0,"tds_amount":0.0,"amount":63260.0,"remaining_amount":-100.2347,"payment_mode":null,"pg_service_id":null,"utr":"Repayment UTR 10","settlement_utr":null,"settlement_order":"due_date_first","component_order":"PI-OI-NI-P","uploaded_by":null,"uploaded_by_id":null,"date":1704451413.696916,"settled_at":1704451413.667609,"revert_date":null,"revert_value_date":null,"revert_sent_to_gl":false,"bank_date":1704451413.667625,"remark":"","status":"processed","collection_bank":{"id":"324c4826-1729-4682-8770-f388b6e7e6b7","ifsc":"YESB0000104","tags":[],"company":"59ecf94e-054d-43ee-83db-b158ab9d7f67","account_no":"000000000000","created_at":1729663373.4807174,"updated_at":1729663373.4946673,"is_verified":false,"account_type":"current","name_at_bank":null,"account_holder_name":"Aerem Collection Account"},"back_date_found":false,"back_date_marked_on":null,"sent_to_gl":true,"settlement_sent_to_gl":false,"is_processed":false,"account":"860bd919-1070-43b9-9099-699235217ac0","topup":null,"transaction":null,"loans":[]}
Previous
Request Approval
Next
Initiate Adjustment for Cashback & Holdback
Built with