Premium SMS API. Centili Premium SMS API

Similar documents
1. Change Log Introduction Flow summary Flow Overview Premium SMS flow Pin Flow Redirect Flow...

Technical documentation

Spryng Making Business Mobile Mobile Terminated Premium SMS Gateway. Contents:

Messaging API. API Specification Document Messaging API. Functionality: Send SMS Messages.

QIWI Wallet Pull Payments API

Service for checking whether an is operative or not. Validate ids in your databases.

FTP API Specification V2.6

Riverbed Cascade Shark Common REST API v1.0

Operator Service Platform OMA Sandbox REST API Guide

IBM Cloud Manager with OpenStack. REST API Reference, version 4.1

This document is to provide help and illustrations to users who wish to deliver SMS using the Pinnacle SMS Gateway via the HTTP Protocol.

Message Containers and API Framework

Managing Users and Identity Stores

AIRTEL INDIA OPEN API. Application Developer Guide for OAuth2 Authentication and Authorization. Document Version 1.1

HOST EUROPE CLOUD STORAGE REST API DEVELOPER REFERENCE

Internet Technologies. World Wide Web (WWW) Proxy Server Network Address Translator (NAT)

Technical Specification Premium SMS gateway

Spryng Making Business Mobile (0) Spryng Headquarters: Herengracht BW Amsterdam - The Netherlands

SOPG (Service Oriented Prepaid Gateway - xml based protocol) Documentation. Version Date Description Author

Yandex.Money API API for Apps

1 of 21 9/22/11 10:41 AM

Bank and SecurePay Response Codes

HTTP Protocol. Bartosz Walter

Issue 2EN. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Advanced HTTP API Documentation

VMware vcenter Log Insight Developer's Guide

GTX Mobile Messaging SMS Gateway Interface Simple HTTP API Manual

API Integration Payment21 Recurring Billing

Common definitions and specifications for OMA REST interfaces

4.0. Mogreet Messaging System (MoMS) API. version

Bitcoin Payment Gateway API

Remote Access API 2.0

MSDG Services Integration Document Draft Ver 1.2

ipayment Gateway API (IPG API)

Documentation for the SMSWay API v1.5. API for SMSWay Gateway. Documentation for the SMSWay API v

Fairsail REST API: Guide for Developers

Internet Technologies Internet Protocols and Services

SME- Mail to SMS & MMS Gateway with NowSMS Quick Start Guide

API V2.0. Documentation 7/28/2014

ResellerPlus - Bulk Http API Specification. (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System)

Title page. Alcatel-Lucent 5620 SERVICE AWARE MANAGER 13.0 R7

HireDesk API V1.0 Developer s Guide

Perceptive Integration Server

JASPERREPORTS SERVER WEB SERVICES GUIDE

Mobile Web Payment Models ( implementations)

ACCREDITATION COUNCIL FOR PHARMACY EDUCATION. CPE Monitor. Technical Specifications

Technical Specification Normal SMS gateway

Order Notifications - reporting a payment status

Jobs Guide Identity Manager February 10, 2012

API Integration Payment21 Button

HTTP/SOAP Application Program Interface (API) Version 1.0

SIM Configuration Guide. February 2015 Version 1 Document Reference: 8127

User and Programmer Guide for the FI- STAR Monitoring Service SE

Secure XML API Integration Guide - Periodic and Triggered add in

Fax and . Fax & Monitor Application

API documentation - 1 -

Clickatell two-way technical guide v2.0

Credomatic Integration Resources. Browser Redirect API Documentation June 2007

Description of Microsoft Internet Information Services (IIS) 5.0 and

AS DNB banka. DNB Link specification (B2B functional description)

AMD Telecom SMS GATEWAY HTTP API INTERFACE. Technical Specifications

Technical Specification WAP Billing

Secure XML API Integration Guide. (with FraudGuard add in)

Netswipe Processing Implementation

MONETA.Assistant API Reference

Nokia for Business. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

vcloud Air Platform Programmer's Guide

Managing Qualys Scanners

Cloud Elements! Marketing Hub Provisioning and Usage Guide!

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

docs.rackspace.com/api

Table of Contents. Open-Xchange Authentication & Session Handling. 1.Introduction...3

Payment Response Guide. Version 4.3 September 2012 Business Gateway

REST Webservices API Reference Manual

Single Sign On Guide. Table of Contents

Online signature API. Terms used in this document. The API in brief. Version 0.20,

Web Services Credit Card Errors A Troubleshooter

For internal circulation of BSNL only

EHR OAuth 2.0 Security

Integrated Billing Solutions with HP CSA 4.00

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview

Inventory Update API User Documentation

NetCom SMS Bedrift API Technical Documentation

WP4: Cloud Hosting Chapter Object Storage Generic Enabler

OAuth 2.0 Developers Guide. Ping Identity, Inc th Street, Suite 100, Denver, CO

ivvy Events Software API

Manual. Netumo NETUMO HELP MANUAL Copyright Netumo 2014 All Rights Reserved

LifeSize UVC Access Deployment Guide

iyzico one-off payment and installment easy payment integration

GFI FaxMaker Online Inbound Web Services V.1.0

Web Services Credit Card Errors A Troubleshooter

Quick Start Guide Now SMS/MMS Gateway

Send and Receive SMS using ODBC Method

ACR Connect Authentication Service Developers Guide

Fax via HTTP (POST) Traitel Telecommunications Pty Ltd 2012 Telephone: (61) (2) Page 1

Audi Virtual Payment Client Integration Manual

* "computer_type" refers to the type of computer the user has ordered (basic or advanced model). THIS VALUE MUST BE PROVIDED.

Guide REST based web services in Automatisk kortbetaling via Betalingsservice

Appendix. Web Command Error Codes. Web Command Error Codes

Gateway Direct Post API

Transcription:

Premium SMS API Centili Premium SMS API

1. Introduction... 3 1.1 Flow Summary... 3 1.2 Requirements... 3 2. MO restful web service (required on Merchant side)... 3 2.1 Example:... 3 2.2 Parameters... 4 3. MT send restful web service (Centili)... 4 3.1 Parameters... 5 3.2 MT service Response... 5 3.3 200 Success response body:... 6 3.1 Parameters... 6 3.2 400 Bad request response body:... 7 3.1 Parameters... 7 4. DLR restful web service (required on Merchant side)... 7 4.1 Example:... 8 4.2 Parameters... 8

1. Introduction 1.1 Flow Summary User sends a SMS message to short number Message is forwarded to merchants MO web service Merchant evaluates received message and decides to charge the user and how much will charge it for. Charge request is sent to Centili MT send web service. After MT send request has been received Centili charges user for requested amount and result of charging operation is sent to Merchant on DLR web service 1.2 Requirements Merchant must expose following web services: MO restful web service (MO Uri) DLR restful web services (DLR Uri) Centili exposes following web service: MT send restful web service (MT Uri) 2. MO restful web service (required on Merchant side) Mo web service receives the user s SMS message pushed from Centili system on the Merchant side. To be able to receive MO message Merchant should provide MO Uri where message will be submitted, with following information: Server name or IP address (e.g. example.com) Server port (e.g. 80) Script name and location, if any (e.g. /mo/receive.php) 2.1 Example: http://example.com/mo/receive.php http://example.com:8080/mo/receive.php MO message is received as HTTP POST request with Content-Type: application/xwww-form-urlencoded composed of parameters with associated values. POST http://example.com/mo/receive.php HTTP/1.1 Host: example.com:80 Content-Type: application/x-www-form-urlencoded Date: Thu, 06 Jun 2011 07:51:59 GMT

msisdn=491626839553&shortcode=808181&keyword=pay&message=pay%20token &operator=26202&date=2012-01-03%2000%3a02%3a35&transactionid=505478 2.2 Parameters Required msisdn Message sender s MSISDN. Conforms to the following format: (example: Vodafone DE MSISDN 491626839553) Country code (49) National Destination Code (162) Subscriber Number (6839553) shortcode Short number that the message is delivered to keyword Service keyword (reserved keyword for merchant service) String message Received SMS message String operator Mobile country code and mobile network code (mcc+mnc) concatenated(http://en.wikipedia.org/wiki/mobile_network _Code), max. 17, max. 6 date Date and time of MO message reception (UTC) Date-time, yyyy- MM-dd HH:mm:ss transactionid Unique transaction identifier assigned to this particular transaction Upon successful HTTP submission Merchant application should respond with HTTP/1.1 200 OK response; otherwise Centili server will retry request in regular intervals until application responds properly or until message validity expires (by default, validity is 24 hours). 3. MT send restful web service (Centili) MT send message request is submitted as HTTP POST with Content-Type: application/x-www-form-urlencoded composed of parameters with associated values. <MT URI>/1/api/sms/mt Centili supplied uri of MT send restful web service. POST http://<mt URI>/1/api/sms/mt HTTP/1.1 Accept: application/json Host: <CENTILI HOST>:80 Content-Type: application/x-www-form-urlencoded Date: Thu, 06 Jun 2011 07:51:59 GMT

msisdn=491626839553&operator=26202&username=username&password=passwo rd&shortcode=808181&transactionid=505478&flow=1&price=150&message=<m essage>&apikey=<apikey>&referenceid=ab123dnb&messagetype=1 3.1 Parameters Required msisdn operator Message sender s MSISDN. Conforms to the following format: (example: Vodafone DE MSISDN 491626839553) Country code (49) National Destination Code (162) Subscriber Number (6839553) Mobile country code and mobile network code (mcc+mnc) concatenated (http://en.wikipedia.org/wiki/mobile_network_code), max. 17, max. 6 username Account username String password Account password String apikey Application key Centili issued String shortcode Short number that the message is delivered to (user will receive message from this number) message Message that will be sent to msisdn (160 GSM7, 70 Unicode) String transactionid flow price Optional Unique transaction identifier assigned to this particular transaction, received on MO request 1 - sms 2 - web Message price in native currency, with (.) dot as decimal separator. (example: 1.99 or 4.99) referenceid Custom ID assigned by Merchant to MT message. It will be returned in delivery report and can be used as reference. String, max 30 characters messagetype simple (default) wappush wapheader Message part of the WAP push String 3.2 MT service Response The response content type is application/json. (Content-Type: application/json) Response codes - HTTP response codes are used to indicate: 200 Success - MT request accepted successfully

400 Bad request; check the error message and correct the request syntax. 401 Authentication failure, check your authentication requirements. 403 Forbidden; please provide authentication credentials. 404 Not found: mistake in the host or path of the service URI. 405 Method not supported 503 Server busy and service unavailable. Please retry the request. 3.3 200 Success response body: HTTP/1.1 200 OK Content-Type: application/json Date: Thu, 14 Jun 2011 02:51:59 GMT Location: http://<centili-uri>/1/api/sms/mt/491626839553 { } "msisdn": "491626839553", "operator": "26202", "transactionid": 491626839553, "referenceid": "AB123DNB", "resourceurl": "http://<centiliuri>/1/api/sms/mt/491626839553", "status": 4 Parameters JSON Success response msisdn operator transactionid referenceid Customer MSISDN. Conforms to the following format: (example: Vodafone DE MSISDN 491626839553) Country code (49) National Destination Code (162) 3. Subscriber Number (6839553) Mobile country code and mobile network code (mcc+mnc) concatenated (http://en.wikipedia.org/wiki/mobile_network_code) Unique transaction identifier assigned to this particular transaction, received on MO request Custom ID assigned by Merchant to MT message, if any (empty if not supplied), max. 17, max. 6 String, max 30 characters resourceurl URl that identifies started task String status 1 "Initiated", Action is initiated by user 2 "Success", Action success 3 "Failure", Action failed 4 "Pending", Result will be delivered in a call back Number

5 "Closed", stared transaction is administratively closed (Initiated - > Closed) 3.4 400 Bad request response body: HTTP/1.1 400 Bad Request Content-Type: application/json Date: Thu, 14 Jun 2011 02:51:59 GMT { } "errorid" : 1006, "message": " Transaction number required" "description" : "Value for transactionid is null or empty" Parameters JSON Bad request response errorid 1001, "Authorization failed" 1002, "IP authorization failed" 1003, " Nonexistent API key" 1004, "Auth. API key mismatch" 1005, "Invalid Transaction number" 1006, "Transaction number required" 1007, " Transaction is already used - processed" 1008, "Submitted price is invalid" 1009, "Sending bulk SMS messages is not enabled" 1012, "Bad request input value is missing" 1013, "Authorization parameters are missing" 1014, Transaction is expired and closed 1015, "Invalid MSISDN for transaction" 1016, "Error submiting message to Mobile Operator" message Error message with error description String description Additional error description String For all other response codes response body will be empty, content length will be 0. (Content-Length: 0) 4. DLR restful web service (required on Merchant side) DLR web service receives notification when state of MT send request changes. Merchant should provide MT Uri where message will be submitted, with following information: Server name or IP address (e.g. example.com) Server port (e.g. 80)

Script name and location, if any (e.g. /dlr/receive.php) 4.1 Example: http://example.com/dlr/receive.php http://example.com:8080/dlr/receive.php Delivery message is received as HTTP POST request with Content-Type: application/x-www-form-urlencoded composed of parameters with associated values. POST http://example.com/dlr/receive.php HTTP/1.1 Host: example.com:80 Content-Type: application/x-www-form-urlencoded Date: Thu, 06 Jun 2011 07:51:59 GMT msisdn=491626839553&shortcode=808181&operator=26202&date=2012-01- 03%2000%3A02%3A35&transactionid=505478&referenceid=AB123DNB&status=2 &description=2 4.2 Parameters Required msisdn operator shortcode transactionid Message sender s MSISDN. Conforms to the following format: (example: Vodafone DE MSISDN 491626839553) Country code (49) National Destination Code (162) 3. Subscriber Number (6839553) Mobile country code and mobile network code (mcc+mnc) concatenated(http://en.wikipedia.org/wiki/mobile_net work_code) Short number that the message is delivered to (user will receive message from this number) Unique transaction identifier assigned to this particular, max. 17, max. 6 transaction, received on MO request date Delivery report timestamp Date-time, YYYY-MM- DD HH:MM:SS referenceid Custom ID assigned by Merchant to MT message. It will be returned in delivery report and can be used as String, max 30

status description Optional errortext reference. 1 "Initiated", Action is initiated by mobile subscriber 2 "Success", Action success 3 "Failure", Action failed 4 "Pending", Result will be delivered in a call back 5 "Closed", started transaction is administratively closed (Initiated - > Closed) 1, "The message is in inprocess at operators SMSC" 2, "Message is delivered to destination" 3, "Message presumably is delivered to destination" 4, "Message is delivered with payment risk" 5, "Message is submited to SMSC" 6, "Message validity period has expired at operators SMSC" 7, "Message validity period has expired in Centili system" 8, "Message unroutable unknown operator" 9, "Message unroutable unknown MSISDN" 10, "Message could not be delivered because operators SMSC is not responding" 11, "Message deleted from operators SMSC" 12, "Message is undeliverable at operators SMSC" 13, "Message blocked by Centili" 14, "Operator charging failed" 15, "Insufficient Funds on prepaid subscriber account" 16, "Internal centili system error" 17, "Message is in accepted state" 18, "Message is in a rejected state" 19, "Daily limit exceed" 20, "Monthly limit exceeded" 99, "Message is in invalid state" Additional description of the status if deliver has failed (gives a more detailed textual representation). characters Number String Upon successful HTTP submission Merchants application should respond with HTTP/1.1 200 OK response; otherwise Centili server will retry request in regular intervals until application responds properly or until message validity expires.