EFL
EflClient

startProcess

Starts a new leasing process and returns the initial redirect URL or process identifier.

startProcess() initialises a leasing process for a given partner and return URLs. It wraps the low-level ProcessApiClient::init() endpoint.

All methods on EflClient may throw:

Method signature

public function startProcess(
    ?string $positiveUrlResponse,
    ?string $negativeUrlResponse,
    string $bearerToken
): string

Parameters

NameTypeRequiredDescription
positiveUrlResponsestring|nullNoURL used when the process succeeds; may be null.
negativeUrlResponsestring|nullNoURL used when the process fails or is cancelled; may be null.
bearerTokenstringYesBearer token obtained via getAuthToken.

Return value

  • Type: string – raw response body, typically containing a redirect URL or process identifier.