The \SumUp\Services\Custom service should be used for the endpoints that are not implemented by the SDK.
$customService = new \SumUp\Services\Custom(
\SumUp\HttpClients\SumUpHttpClientInterface $client,
\SumUp\Authentication\AccessToken $accessToken
);
public function request(
string $method,
string $relativePath,
array $payload = null
): \SumUp\HttpClients\Response
$method is one of: GET, POST, PUT, DELETE.
$relativePath is relative path to the resource. For example: /v0.1/me.
$payload is optional but if you provide it it have to be an associative array with the data needed for that particular endpoint.
How can I help you explore Laravel packages today?