EflClient
initiatePayByLinkPayment
Initiates pay-by-link payment for the given transaction.
initiatePayByLinkPayment() triggers a pay-by-link payment for a transaction and returns the raw response body.
It wraps CustomerApiClient::postInitiatePayByLinkPayment().
All methods on EflClient may throw:
ApiException– when the EFL API returns an error response.HttpException– when the HTTP transport fails.
Method signature
public function initiatePayByLinkPayment(
string $transactionId,
string $bearerToken
): string
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
transactionId | string | Yes | Identifier of the transaction. |
bearerToken | string | Yes | Bearer token. |
Return value
- Type:
string– raw response body returned by the API (content depends on EFL specification).