```\\nfunction withdrawPayment() external returns (bool) {\\n    if (msg.sender != defaultPlatformAddress) revert UnAuthorizedRequest();\\n\\n    uint256 contractBalance = address(this).balance;\\n\\n    if (contractBalance == 0) revert UnAuthorizedRequest();\\n\\n    (bool sent, ) = defaultPlatformAddress.call{value: contractBalance}("");\\n\\n    if (!sent) revert TransactionFailed();\\n\\n    emit WithdrawnPayment(contractBalance, msg.sender);\\n    return true;\\n}\\n```\\n