Skip to main content

Re-send subscription activation keys

Re-send subscription activation keys

Last updated: 08-May-2017
Rate this article:


Use this method to send or re-send activation keys for a list of subscriptions. If no email is provided, messages get sent to to the end user email set on each subscription.



Parameter Type/Description
sessionID Required (String)
  Session identifier, output of the Login method. An exception is thrown if the values are incorrect.
refNo Required (String)
  The unique identifier of an order from the Avangate system.
subscriptionReferencesList Required (StringArray)
  Array of subscription references for which activation keys will be sent. You can send keys for up to 50 subscriptions at once.
email Optional (String)

End user email address. Can be NULL.


Parameter Type/Description
result Boolean
  True or false



require('PATH_TO_AUTH'); // Authentication example:
require('PATH_TO_setPartner'); // setPartner example:

$subscriptionReferencesList = array('REFERENCE_1', 'REFERENCE_2');

try {
    $ActivationKeyEmail= $client->resendSubscriptionsActivationKeys ($sessionID, $refNo, $subscriptionReferencesList, $email);
} catch (SoapFault $e) {
    Echo "Keys: " . $e->getMessage();
var_dump ("Keys ", $ActivationKeyEmail);


Error Description


A partner must be set first.


Order is not yet completed.


The subscription references list is empty.


The subscription reference is invalid.


The email address is invalid.


Rate this article:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo