Skip to main content
GET
https://api.easycred.in
/
api
/
v1
/
partner
/
journey
/
{journeyId}
Get Journey State
curl --request GET \
  --url https://api.easycred.in/api/v1/partner/journey/{journeyId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Nonce: <x-nonce>' \
  --header 'X-Signature: <x-signature>' \
  --header 'X-Timestamp: <x-timestamp>'
{
  "success": true,
  "data": {
    "journeyId": "<string>",
    "productCode": "<string>",
    "channel": "API_HEADLESS",
    "currentNextAction": {
      "type": "<string>"
    },
    "offers": [
      {
        "offerId": "<string>",
        "sellerName": "<string>",
        "principalAmount": 123,
        "emiAmount": 123,
        "tenure": 123,
        "interestRate": 123,
        "apr": 123,
        "processingFees": 123,
        "netDisbursedAmount": 123,
        "minimumLoanAmount": 123,
        "kfsLink": "<string>",
        "branchLocations": [
          {
            "id": "<string>",
            "branchName": "Ahmedabad - Panchvati",
            "address": "<string>",
            "latitude": 123,
            "longitude": 123,
            "isSelected": true
          }
        ]
      }
    ],
    "selectedOffer": {},
    "outcome": "<string>",
    "pollIntervalSeconds": 123
  }
}

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.

Path Parameters

journeyId
string
required

Response

Success

Mirrored journey view (offers, selectedOffer, nextAction, outcome). Read-only off our DB.

success
boolean
required
data
object
required

Mirrored journey state. Read-only off our DB; never exposes raw customer PII.