Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Last active June 6, 2016 14:23
Show Gist options
  • Save benmmurphy/dfda5d2505c3427e5d8083e9cf613eff to your computer and use it in GitHub Desktop.
Save benmmurphy/dfda5d2505c3427e5d8083e9cf613eff to your computer and use it in GitHub Desktop.
zensend verify step 1 (alternative)
<?php
$client = new ZenSend\Client(API_KEY);
$options = new ZenSend\VerifyOptions();
$options->message = "{{token}} is your COMPANY verification code";
$options->originator = "YOURCOMPANY";
$verify->create_session($user["msisdn"], $options);
$session = $client->create_msisdn_verification($msisdn, $options);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment