Connection methods with Justpay
There are 4 connecting methods to Justpay. The methods differ in the way of generation and verification of access codes. Each method is accompanied by a detailed technical description along with sample scripts that can be used by Partner. In each of the methods should be defined a keyword (e.g. KOD.WYSLIJ). Partner`s users send SMS including the defined keyword. If Partner needs to enter more words after the keyword (e.g. for advertisements, contests) SMS format is following: keyword space additional content (e.g. KOD.WYSLIJ Announcement No. 5).
Technical description Technical description Scripts examples
1. SMS Premium - Method 1 (packages of codes)
  • Medium easy method for the implementation by Partner
  • Generating of codes: Justpay's side
  • Verifications of code: Partner's side


In this method, the Partner gets a packet of codes from the Justpay website, and then entering the packet to its database. At the time of the ordering (sending a text message by the User) Justpay sends back a code from package of codes. While entering the code received by User on Partner's website, Partner confirms with own packet of codes (earlier downloaded from Justpay) the correctness of the code - if it's correct, marks it as used one.

Technical description Scripts examples
2. SMS Premium - Method 2 (SMS text and code is generated by the Partner)
  • The most difficult method for the implementation by Partner but it gives the most opportunities
  • Generating of codes: Partner's side
  • Verification of codes: Partner's side


In this method Partner creates an URL link in accordance with the described Justpay specifications. During ordering (sending a text message by the User) Justpay analyzes URL description, generates the appropriate link and downloads code from the Partner ("knocking" by method GET into a Partner's server), which gives back the generated code. Justpay sends to the User a SMS with the supplied code. While entering code, received by User from the Partner's website, Partner shall verify that the code entered by the User is the same which was sent to Justpay.

Technical description Scripts examples
3. SMS Premium - Method 3 (SMS text and code is generated by Justpay)
  • The easiest method for the implementation by Partner
  • Generating of codes: Justpay's side
  • Verification of codes: Justpay's side

 

  • In this method it is possible to use joomla plugin. Description can be found under the button 'technical description' and the plugin can be downloaded from the 'sample scripts'.
  • Partner can set the validity of the code for a specified period of time or number of times of receipt or the first entry on the partner (see description of the keyword definition).

During ordering a code (sending a SMS by the User) Justpay generates the code in its database and sends it back to User. While entering the code received by User on Partner's website, Partner confirms with Justpay the correctness of the code.

 

Technical description Scripts examples
4. SMS Premium - Method 4 (lack of the code, verification based on user`s phone number)
  • Easy method for the implementation by Partner
  • Lack of code (method is intended for websites where no code is required )
  • Verification based on user`s phone number

In this method Partner asks Justpay about phone number. This method is applied for websites where user creates account and provides his phone number. If user wants get access to payable part of the service he must send SMS. Partner checks with Justpay if given phone number has sent SMS. If yes - access is granted.

 

Technical description Scripts examples
5. MT Billing (User is charged for received SMS)

You can create services, where the user buys periodically your content. User is charged for received SMS. Each service is pre-defined in terms (day and hour) of sending SMS MT to users.

The end user chooses to register to the MT Billing on the Partner website and enter his mobile phone number. Then the user is redirected to an automatic Justpay page that contains the information necessary to finish the registration to the MT Billing.

Technical description Scripts examples
6. IVR services (the access code is given during phone call)
  • Much higher payouts than SMS!
  • Generating of codes: Justpay's side
  • Verifications of codes: Justpay's side
  • The code is given during a phone call


In this method User calls the IVR number of the Partner. After entering the number of the Partner service User receives a code (the code is repeated 3 times during phone call). While entering the code received by User on Partner's website, Partner confirms with Justpay the correctness of the code (just as in Method 3 - using the same scripts)

Technical description Scripts examples
Back