Skip to main content
POST
https://api.easycred.in
/
api
/
v1
/
partner
/
instant-loans
Create Instant Personal Loan
curl --request POST \
  --url https://api.easycred.in/api/v1/partner/instant-loans \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Nonce: <x-nonce>' \
  --header 'X-Signature: <x-signature>' \
  --header 'X-Timestamp: <x-timestamp>' \
  --data '
{
  "mobile": "9876543210",
  "customer": {}
}
'
{
  "success": true,
  "data": {
    "applicationId": "APP-9",
    "redirectUrl": "https://juspay.example/redirect/...",
    "smsSent": true
  }
}

Authorizations

Authorization
string
header
required

API key of the form ec_(live|test). Scopes are listed per operation.

Headers

X-Signature
string
required

HMAC-SHA256 signature over method, path, timestamp, nonce and raw body.

X-Timestamp
string
required

Unix epoch seconds. Requests outside the tolerance window are rejected.

X-Nonce
string
required

Unique per-request nonce. Replays are rejected.

Body

application/json
mobile
string
required

Customer mobile (10 digits, starts 6–9).

Pattern: ^[6-9]\d{9}$
Example:

"9876543210"

customer
object
required

Applicant details (pan, firstName, …).

Response

Success

A JusPay redirect URL the customer must be sent to (it is also delivered to them by SMS). Poll GET /api/v1/partner/leads/{applicationId}/status for progress.

success
boolean
required
data
object
required