Fatal error: Uncaught Wallee\Sdk\ApiException: Error 401 connecting to the API (https://app-wallee.com:443/api/transaction/create?spaceId=31133) : {"date":"2025-05-05T16:21:48.8Z","defaultMessage":"The request was declined because authentication failed.","id":"dN4XV8cEqAC2ehvr9Ofrpns3divCWH3lPpRnTTKn6o8 (2025-05-05T16:21:48.800Z)","message":"The request was declined because authentication failed.","type":"DEVELOPER_ERROR"} in /var/www/html/payment/php-sdk-master/lib/ApiClient.php:495
Stack trace:
#0 /var/www/html/payment/php-sdk-master/lib/Service/TransactionService.php(384): Wallee\Sdk\ApiClient->callApi()
#1 /var/www/html/payment/php-sdk-master/lib/Service/TransactionService.php(316): Wallee\Sdk\Service\TransactionService->createWithHttpInfo()
#2 /var/www/html/payment/php-sdk-master/payment.php(31): Wallee\Sdk\Service\TransactionService->create()
#3 {main}
thrown in /var/www/html/payment/php-sdk-master/lib/ApiClient.php on line 495