The \SumUp\HttpClients\Response object is the main object that is returned from every successful service call.
public function getHttpResponseCode(): int
Returns the HTTP response code.
public function getBody(): mixed
Returns different object according to the service's response.
How can I help you explore Laravel packages today?