curl --request POST \
--url https://api.easycred.co.in/api/v1/partner/journey/initiate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-nonce: <x-nonce>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"channel": "API_HOSTED",
"productCode": "ONLINE_PERSONAL",
"mobile": "9876543210",
"loanAmount": 150000,
"customer": {
"fullName": "Rahul Sharma",
"pan": "ABCDE1234F",
"dob": "1992-06-15",
"gender": "MALE",
"employmentType": "salaried",
"monthlyIncome": 65000,
"pinCode": "560001",
"city": "Bengaluru",
"state": "Karnataka",
"addressL1": "Flat 402, Green Glen Layout, Bellandur"
}
}
'{
"success": true,
"data": {
"journeyId": "jrn_67a12b3c4d5e6f7a",
"hostedUrl": "https://apply.easycred.co.in/journey/resume?token=eyJhbGciOi...",
"nextAction": {
"type": "WAITING_FOR_REDIRECT",
"category": "WAIT"
}
}
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}Hosted Journey
Step 1 - Initiate Hosted Journey
Starts a hosted loan journey (channel: API_HOSTED) and returns a single-use hostedUrl to redirect the applicant to EASYCRED web screens.
POST
/
api
/
v1
/
partner
/
journey
/
initiate
curl --request POST \
--url https://api.easycred.co.in/api/v1/partner/journey/initiate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-nonce: <x-nonce>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"channel": "API_HOSTED",
"productCode": "ONLINE_PERSONAL",
"mobile": "9876543210",
"loanAmount": 150000,
"customer": {
"fullName": "Rahul Sharma",
"pan": "ABCDE1234F",
"dob": "1992-06-15",
"gender": "MALE",
"employmentType": "salaried",
"monthlyIncome": 65000,
"pinCode": "560001",
"city": "Bengaluru",
"state": "Karnataka",
"addressL1": "Flat 402, Green Glen Layout, Bellandur"
}
}
'{
"success": true,
"data": {
"journeyId": "jrn_67a12b3c4d5e6f7a",
"hostedUrl": "https://apply.easycred.co.in/journey/resume?token=eyJhbGciOi...",
"nextAction": {
"type": "WAITING_FOR_REDIRECT",
"category": "WAIT"
}
}
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}{
"success": false,
"error": "Invalid signature or expired timestamp"
}Authorizations
EASYCRED Partner API Key
Headers
Your active EASYCRED Partner API Key (format: ec_live_... or ec_test_...)
Example:
"ec_live_abc123_xyz789"
Unix epoch seconds. Requests outside the 5-minute tolerance window are rejected.
Example:
"1759820800"
Unique UUID v4 nonce per request to prevent replay attacks.
Example:
"d3b07384-d113-4ec4-9d45-2f928e123456"
HMAC-SHA256 signature calculated over method, path, timestamp, nonce, and raw request body.
Example:
"a1b2c3d4e5f67890123456789abcdef0123456789abcdef0123456789abcdef0"
Body
application/json
Available options:
API_HOSTED Example:
"API_HOSTED"
Available options:
ONLINE_PERSONAL, ONLINE_SHORT_TERM, ONLINE_BUSINESS, ONLINE_GOLD Example:
"ONLINE_PERSONAL"
Pattern:
^[6-9]\d{9}$Example:
"9876543210"
Example:
150000
Show child attributes
Show child attributes
Show child attributes
Show child attributes