Messente has powerful API for sending SMS and PIN codes to your customers
You can start by configuring API
on your Messente account and download the Messente API library
for your suitable programming language.
Here is the full list what you can do with Messente HTTP API:
Messente has also a set of free tools you can use.