Skip to main content
POST
https://api.easycred.in
/
api
/
v1
/
partner
/
journey
/
{journeyId}
/
redirect-returned
Signal Redirect Returned
curl --request POST \
  --url https://api.easycred.in/api/v1/partner/journey/{journeyId}/redirect-returned \
  --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 '{}'
{
  "success": true,
  "data": {
    "nextAction": {
      "type": "<string>"
    }
  }
}

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

Body

application/json

Signal that the customer has returned from a hosted redirect step.

kind
enum<string>
required

The redirect step that was completed.

Available options:
KYC,
MANDATE,
ESIGN

Response

Success

success
boolean
required
data
object
required