taxamo / taxamo-php

Other
10 stars 7 forks source link

How to use createSMSToken()? #5

Closed ghost closed 9 years ago

ghost commented 9 years ago

May you guide me on how to use the method createSMSToken()?

The param it is expecting is $body and I don't know what to send there... I'd be expecting to send something different, like $taxamo->createSMSToken($country_code, $recipient);

tlipski commented 9 years ago

The convention here is to use input object: CreateSmsTokenIn, and this object has necessary fields.

ghost commented 9 years ago

It perfectly worked... thank you.