API Module SSL generateOtpTokenSslCertRequest

From Openprovider API documentation

Jump to: navigation, search


Module SSL certificates > Generate Otp Token

Module SSL certificates
Command name generateOtpTokenSslCertRequest
Use. Use this call to get one-time token to get end-user access to SSL certificate order in the SSL Panel. In the response you will get URL and token to use
  • id - order Id in the OP system


Using PHP class

$request = new OP_Request;
  ->setAuth(array('username' => 'username', 'password' => 'password'))
    'id' => 5,


Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
    < code>0</code>
    <desc />
      <expireAt>2017-02-02 09:10:04</expireAt>

Final URL for the end user access in this case will be https://sslpanel.io/auth-order-otp-token?token=aqlFgU8wHHAD0fGCDvS2iUlsou5bq0LY

Personal tools