public static function main()
 {
     $authorizationCode = "C7A067F4AEDC4B538242EBBE3B7FB755";
     try {
         /**
          * #### Credentials #####
          * Replace the parameters below with your credentials
          * You can also get your credentials from a config file. See an example:
          * $credentials = PagSeguroConfig::getApplicationCredentials();
          */
         $credentials = new PagSeguroApplicationCredentials("appId", "appKey");
         $authorization = PagSeguroAuthorizationSearchService::searchByCode($credentials, $authorizationCode);
         self::printAuthorization($authorization);
     } catch (PagSeguroServiceException $e) {
         die($e->getMessage());
     }
 }