Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Topups
  • Back to home
  • LMS
  • EMIs
    • List EMI
      GET
    • List Settlements
      GET
    • Restructure
      POST
    • Calculate EMI
      POST
    • Run EOD
      POST
    • Request Tranche
      POST
    • Outstanding data
      GET
  • Records
    • Request Approval
      PUT
    • Bulk Nach Request
      POST
    • NACH presentation status
      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 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
  • Payout Batch
    • Send Payout batch
  1. Topups

Create Topup

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/lms/topups/
Last modified:2025-03-26 07:53:03

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

Request Code 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/topups/' \
--header 'Authorization: Bearer <token>' \
--form 'account="15724b84-a39f-4518-8988-424e364edb39"' \
--form 'invoice_amount="10000"' \
--form 'disbursal_amount="10000"' \
--form 'invoice_date="2024-10-22"' \
--form 'invoice_no="890222"' \
--form 'type="invoice"' \
--form 'file=@""' \
--form 'custom_bank_account_no=""' \
--form 'custom_bank_account_holder_name=""' \
--form 'custom_bank_ifsc=""' \
--form 'group=""'

Responses

🟢201Created
application/json
Body

Example
{
    "id": "fc572099-0785-4047-a8bb-a5d024ccba5b",
    "payout_amount": 1002,
    "created_at": 1718451794.301822,
    "updated_at": 1718451795.711252,
    "ref_id": "TOP0000VAZP",
    "status": "rejected",
    "invoice_date": "2024-06-01",
    "invoice_due_date": null,
    "invoice_no": "INV83888",
    "invoice_amount": 10011,
    "disbursal_amount": 1002,
    "subvention_amount": 0,
    "holdback_amount": 0,
    "subvention_end_date": null,
    "invoice_storage_id": null,
    "invoice_parsed_data": {},
    "invoice_approved_at": null,
    "custom_bank": {},
    "tags": [
        "dedupe"
    ],
    "scheduled_at": null,
    "disbursement_date": null,
    "is_partial_disbursement": false,
    "disbursement_fee": 0,
    "remark": "This is duplicate of TOP0000033A",
    "anomaly_found": true,
    "is_check_completed": true,
    "uploaded_by": null,
    "uploaded_by_id": null,
    "account": "a2589953-5b54-4209-b601-5d1cfcc40f5e",
    "same_topup": "2b313a56-b4b8-4d3e-a80c-1065105003d3",
    "loan_data": {
        "id": "b2ac5edb-798b-465c-8532-d37d0e21d688",
        "created_at": 1718283561.935,
        "updated_at": 1718451794.906057,
        "days_in_month": 30,
        "days_in_year": 365,
        "tenure_period": "days",
        "tenure_value": 30,
        "tenure_period_type": "as_per_days",
        "tenure_starts_at": "disbursement_date",
        "roi_period": "years",
        "roi_slab_based": false,
        "roi_value": [
            {
                "value": 15,
                "days": "inf"
            }
        ],
        "overdue_roi_same_as_roi": true,
        "overdue_roi_slab_based": true,
        "overdue_roi_value": [
            {
                "value": 15,
                "days": "inf"
            }
        ],
        "penal_roi_same_as_roi": false,
        "penal_roi_slab_based": false,
        "penal_roi_value": [
            {
                "value": 2,
                "days": "inf"
            }
        ],
        "penal_roi_value_type": null,
        "penal_lag_days_after_due": 0,
        "interest_starts": "same_day",
        "interest_lock_in_enabled": false,
        "interest_lock_in_days": 0,
        "subvention_is_enabled": true,
        "subvention_value_type": "percentage",
        "subvention_value": 15,
        "subvention_days": 30,
        "cashback_is_enabled": true,
        "cashback_use_as": null,
        "cashback_payment_to": "borrower",
        "cashback_release_at": "repayments",
        "cashback_deduction_is_enabled": false,
        "cashback_deduction_type": "fixed",
        "cashback_deduction_value": 0,
        "holdback_is_enabled": false,
        "holdback_rate": 0,
        "holdback_return_is_enabled": false,
        "holdback_return_payment_to": null,
        "topup": "fc572099-0785-4047-a8bb-a5d024ccba5b",
        "loan": null
    }
}
Modified at 2025-03-26 07:53:03
Previous
Check Line Amount
Next
Update Topup
Built with