Skip to main content

Send subscription registration emails

Send subscription registration emails

Last updated: 28-Apr-2017
Rate this article:


Use this method to send registration emails for a list of subscriptions.



Parameter Type/Description
sessionID Required (String)
  Session identifier, output of the Login method. An exception is thrown if the values are incorrect.
subscriptionReferencesList Required (StringArray)
  Array of subscription references for which the registration email will be sent. You can send registration emails for a maximum of 50 subscriptions at once.
email Required (String)
  End user email address.
language Optional (String)

ISO 639-1 two-letter language code for the language used in email registration messages. You can use all languages active on your account. Default language is English (en). 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');
$language = 'YOUR_LANGUAGE';

$jsonRpcRequest = array (
'jsonrpc' => '2.0',
'id' => $i++,
'method' => 'sendRegistrationEmail ',
'params' => array($sessionID, $subscriptionReferencesList, $email, $language)
var_dump (callRPC((Object)$jsonRpcRequest, $host));


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.


Failed to send the registration email.


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