Step 2 - Check Journey Status
curl --request GET \
--url https://api.easycred.co.in/api/v1/partner/journey/{journeyId} \
--header 'x-api-key: <api-key>' \
--header 'x-nonce: <x-nonce>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>'import requests
url = "https://api.easycred.co.in/api/v1/partner/journey/{journeyId}"
headers = {
"x-api-key": "<api-key>",
"x-timestamp": "<x-timestamp>",
"x-nonce": "<x-nonce>",
"x-signature": "<x-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-api-key': '<api-key>',
'x-timestamp': '<x-timestamp>',
'x-nonce': '<x-nonce>',
'x-signature': '<x-signature>'
}
};
fetch('https://api.easycred.co.in/api/v1/partner/journey/{journeyId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.easycred.co.in/api/v1/partner/journey/{journeyId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-nonce: <x-nonce>",
"x-signature: <x-signature>",
"x-timestamp: <x-timestamp>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.easycred.co.in/api/v1/partner/journey/{journeyId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-timestamp", "<x-timestamp>")
req.Header.Add("x-nonce", "<x-nonce>")
req.Header.Add("x-signature", "<x-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.easycred.co.in/api/v1/partner/journey/{journeyId}")
.header("x-api-key", "<api-key>")
.header("x-timestamp", "<x-timestamp>")
.header("x-nonce", "<x-nonce>")
.header("x-signature", "<x-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.easycred.co.in/api/v1/partner/journey/{journeyId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
request["x-timestamp"] = '<x-timestamp>'
request["x-nonce"] = '<x-nonce>'
request["x-signature"] = '<x-signature>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"journeyId": "jrn_67a12b3c4d5e6f7a",
"step": "SELECT_OFFER",
"nextAction": {
"type": "SELECT_OFFER",
"category": "USER_ACTION"
},
"offers": [
{
"offerId": "off_apollo_101",
"lenderName": "Apollo Finvest",
"sanctionAmount": 150000,
"roi": 14.5,
"tenureMonths": 24,
"emi": 7236
}
]
}
}{
"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 2 - Check Journey Status
Check the real-time status and outcome of the hosted loan journey using the journeyId.
GET
/
api
/
v1
/
partner
/
journey
/
{journeyId}
Step 2 - Check Journey Status
curl --request GET \
--url https://api.easycred.co.in/api/v1/partner/journey/{journeyId} \
--header 'x-api-key: <api-key>' \
--header 'x-nonce: <x-nonce>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>'import requests
url = "https://api.easycred.co.in/api/v1/partner/journey/{journeyId}"
headers = {
"x-api-key": "<api-key>",
"x-timestamp": "<x-timestamp>",
"x-nonce": "<x-nonce>",
"x-signature": "<x-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-api-key': '<api-key>',
'x-timestamp': '<x-timestamp>',
'x-nonce': '<x-nonce>',
'x-signature': '<x-signature>'
}
};
fetch('https://api.easycred.co.in/api/v1/partner/journey/{journeyId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.easycred.co.in/api/v1/partner/journey/{journeyId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-nonce: <x-nonce>",
"x-signature: <x-signature>",
"x-timestamp: <x-timestamp>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.easycred.co.in/api/v1/partner/journey/{journeyId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-timestamp", "<x-timestamp>")
req.Header.Add("x-nonce", "<x-nonce>")
req.Header.Add("x-signature", "<x-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.easycred.co.in/api/v1/partner/journey/{journeyId}")
.header("x-api-key", "<api-key>")
.header("x-timestamp", "<x-timestamp>")
.header("x-nonce", "<x-nonce>")
.header("x-signature", "<x-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.easycred.co.in/api/v1/partner/journey/{journeyId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
request["x-timestamp"] = '<x-timestamp>'
request["x-nonce"] = '<x-nonce>'
request["x-signature"] = '<x-signature>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"journeyId": "jrn_67a12b3c4d5e6f7a",
"step": "SELECT_OFFER",
"nextAction": {
"type": "SELECT_OFFER",
"category": "USER_ACTION"
},
"offers": [
{
"offerId": "off_apollo_101",
"lenderName": "Apollo Finvest",
"sanctionAmount": 150000,
"roi": 14.5,
"tenureMonths": 24,
"emi": 7236
}
]
}
}{
"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"
Path Parameters
Journey ID returned by initiate
Example:
"jrn_67a12b3c4d5e6f7a"