EFL
Low-level clients

RestorationApiClient

Low-level client for /Restoration endpoints used to restore customer sessions.

RestorationApiClient provides raw access to /Restoration endpoints. Methods return HttpResponse and do not use Bearer token authentication.

Class definition

  • Namespace: Imoli\EflLeasingSdk\Api
  • Constructor: accepts EflHttpClient $http.

This client is used by EflClient to implement session restoration flows.

Methods

restoreCustomerSession

Low-level wrapper over GET /lon/api/v1/Restoration/RestoreCustomerSession.

public function restoreCustomerSession(string $payByLinkOrderId): HttpResponse

Auth: none.

Parameters

NameTypeRequiredDescription
payByLinkOrderIdstringYesIdentifier used in pay-by-link flows.

Return value

  • Type: HttpResponse – when used via EflClient, the body is mapped to AuthenticationRestorationResult.

restoreSessionAfterSigning

Low-level wrapper over GET /lon/api/v1/Restoration/RestoreSessionAfterSigning.

public function restoreSessionAfterSigning(string $transactionId): HttpResponse

Auth: none.

Parameters

NameTypeRequiredDescription
transactionIdstringYesIdentifier of the transaction.

Return value

  • Type: HttpResponse – when used via EflClient, the body is mapped to AuthenticationRestorationResult.