Skip to Content
Docs
Get startedPartner API v4Partner API v3Android SDK

Create Application

Create one or more applications in a single atomic request – all succeed or all fail together. Pass an array of application objects under applications.

POST/api/v3/partners/applications
Try it in the playground

Body – per application object

FieldRequiredDescription
reference_idrequiredYour system's application identifier
applicant_idrequiredApplicant identifier
applicant_typerequiredprimary or co_applicant. Co-applicant needs a primary with the same reference_id to exist first.
personarequiredPersona name from your org – see List Personas
datarequiredForm section data keyed by form name
userrequiredAt least one of employee_id, mobile, email_id
branch.idrequiredUnique branch identifier. Creates if not exists.
branch.name / city / state / address / latitude / longitudeoptionalBranch metadata
source_systemoptionalOriginating system name e.g. los, crm

Example – single primary

curl -X POST "<BASE_URL>/api/v3/partners/applications" \
  -H "api-key: <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "applications": [
      {
        "reference_id":   "REF-001",
        "applicant_id":   "APP-001",
        "applicant_type": "primary",
        "persona":        "msme",
        "source_system":  "los",
        "user":   { "mobile": "1234567890" },
        "branch": { "id": "BR-01", "name": "Delhi Branch", "city": "Delhi", "state": "Delhi" },
        "data": {
          "business_profile": { "persona": "msme" },
          "borrower_details": { "entity_type": "individual", "name": "Ravi Kumar", "mobile": "9876543210" },
          "loan_details":     { "business_name": "Ravi Retail Mart", "quantum": 250000, "tenure": 36 }
        }
      }
    ]
  }'

Example – primary + co-applicant + co-borrower

curl -X POST "<BASE_URL>/api/v3/partners/applications" \
  -H "api-key: <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "applications": [
      {
        "reference_id":   "LOAN001",
        "applicant_id":   "APPL-1",
        "applicant_type": "primary",
        "persona":        "msme",
        "source_system":  "los",
        "user":   { "mobile": "1234567890" },
        "branch": { "id": "BR-01", "name": "Mumbai Branch", "city": "Mumbai", "state": "Maharashtra" },
        "data": {
          "business_profile": { "persona": "msme" },
          "borrower_details": { "entity_type": "individual", "name": "Ravi Kumar", "mobile": "9876543210" },
          "loan_details":     { "business_name": "Ravi Retail Mart", "quantum": 250000, "tenure": 36 }
        }
      },
      {
        "reference_id":   "LOAN001",
        "applicant_id":   "APPL-2",
        "applicant_type": "co_applicant",
        "persona":        "msme",
        "source_system":  "los",
        "user":   { "mobile": "1234567890" },
        "branch": { "id": "BR-01" },
        "data": {
          "business_profile": { "persona": "msme" },
          "borrower_details": { "entity_type": "individual", "name": "Sunita Sharma", "mobile": "9123456780" },
          "loan_details":     { "business_name": "Sunita Textiles", "quantum": 400000, "tenure": 48 }
        }
      },
      {
        "reference_id":   "LOAN002",
        "applicant_id":   "APPL-3",
        "applicant_type": "primary",
        "persona":        "msme",
        "source_system":  "los",
        "user":   { "mobile": "1234567890" },
        "branch": { "id": "BR-02", "name": "Delhi Branch", "city": "Delhi", "state": "Delhi" },
        "data": {
          "business_profile": { "persona": "msme" },
          "borrower_details": { "entity_type": "individual", "name": "Amit Verma", "mobile": "9988776655" },
          "loan_details":     { "business_name": "Amit IT Solutions", "quantum": 300000, "tenure": 24 },
          "co_borrower_details": [
            { "name": "Manoj Verma", "dob": "01/01/1998", "relation": "Father", "gender": "Male", "occupation": "Salary" }
          ]
        }
      }
    ]
  }'

Response

{
  "status": 200,
  "code":   "success",
  "data": {
    "applications": [
      {
        "_id":             "AC240912ABC",
        "id":              "AC240912ABC",
        "org_id":          "<ORG_ID>",
        "reference_id":    "LOAN001",
        "applicant_id":    "APPL-42",
        "applicant_type":  "primary",
        "persona":         "msme",
        "status":          "created",
        "source_system":   "los",
        "visit_closed_at": null,
        "rejected_reason": null,
        "rejected_at":     null,
        "reports_named":   null,
        "assets_url":      null,
        "data": {
          "business_profile": { "persona": "msme" },
          "borrower_details": { "entity_type": "individual", "name": "Ravi Kumar", "mobile": "9876543210" },
          "loan_details":     { "business_name": "Ravi Retail Mart", "quantum": 250000, "tenure": 36 }
        },
        "form_data": {
          "business_profile": { "persona": "msme", "industry": "General Store & Kirana" },
          "borrower_details": { "name": "Ravi Kumar", "mobile": "9876543210", "dob": "15/01/1985" },
          "loan_details":     { "quantum": 250000, "loan_tenure_in_months": 36, "purpose": "Business Expansion" }
        },
        "ai_output": null
      }
    ]
  }
}

Errors

HTTPCodeReason
403persona/not-foundPersona not configured for this org
403form/not-foundRequired form not configured for the persona
403form/invalid-dataForm field value failed validation
403application/already-existsDuplicate reference_id + applicant_id
403user/not-foundNo active user matched
403user/not-assigned-to-branchUser does not have access to this branch
403application/primary-not-foundco_applicant submitted before primary exists

On this page