Request Frequent Identifier Updated on 03-08-2018

Resource URL
https://www.easypay.pt/_s/api_easypay_02.php
http://test.easypay.pt/_s/api_easypay_02.php

Info

This API returns the data necessary to request a frequent credit card payment.

Updated on 03-08-2018

Parameters
ep_cin
required
The CIN of your easypay account.
Example value: 9999
ep_user
required
The USER of your easypay account.
Example value: USER010101
ep_entity
required
the ENTITY of your easypay account.
Available value: 10611
o_name
required
Your client name. It will be automatically filled on Credit Card gateway.
Example value: John Doe
o_email
required
Your client email. It will be automatically filled on Credit Card gateway.
Example value: tec@easypay.pt
o_mobile
required
Your client mobile or phone number. It will be automatically filled on Credit Card gateway.
Example value: 912 345 678
t_key
required
An identifier of the order corresponding to this payment request.
Example value: 3
ep_freq_url
required
URL to where easypay will redirect clients from our gateway after they finalize the process
Example value: http://yoursite.com/easypay/frequent_payment_return.php
ep_ref
optional
Previously generated reference
Example value: 999 000 001
o_description
optional
You can use this to store whatever you want..
o_obs
optional
You can use this to store whatever you want..
ep_country
optional
Must be the same as configured for your CIN.
Example value: PT
ep_language
optional
The language displayed at our frequent payments gateway.
Example value: PT, ES, FR, EN
Call
https://www.easypay.pt/_s/api_easypay_02.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_name=John+Doe&o_email=tec%40easypay.pt&o_mobile=912+345+678&t_key=3&ep_freq_url=http%3A%2F%2Fyoursite.com%2Feasypay%2Ffrequent_payment_return.php&ep_ref=999+000+001&o_description=&o_obs=&ep_country=PT&ep_language=PT%2C+ES%2C+FR%2C+EN
http://test.easypay.pt/_s/api_easypay_02.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_name=John+Doe&o_email=tec%40easypay.pt&o_mobile=912+345+678&t_key=3&ep_freq_url=http%3A%2F%2Fyoursite.com%2Feasypay%2Ffrequent_payment_return.php&ep_ref=999+000+001&o_description=&o_obs=&ep_country=PT&ep_language=PT%2C+ES%2C+FR%2C+EN
Response Example


  ok0
  ep_country and ep_entity and ep_user and ep_cin ok and validation by ip;ip ok
  9999
  USER010101
  10611
  999907994
  3
  EF3C7E6F76E8C20652C100D47EFCEA2F301604382
  https://www.easypay.pt/_s/c11.php?e=10611&r=999907994&c=PT&l=EN

Response Types


  string
  string
  integer
  string
  integer
  string
  string
  string
  string

Call
https://www.easypay.pt/_s/api_easypay_02.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_name=John+Doe&o_email=tec%40easypay.pt&o_mobile=912+345+678&t_key=3&ep_freq_url=http%3A%2F%2Fyoursite.com%2Feasypay%2Ffrequent_payment_return.php&ep_ref=999+000+001&o_description=&o_obs=&ep_country=PT&ep_language=PT%2C+ES%2C+FR%2C+EN
http://test.easypay.pt/_s/api_easypay_02.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_name=John+Doe&o_email=tec%40easypay.pt&o_mobile=912+345+678&t_key=3&ep_freq_url=http%3A%2F%2Fyoursite.com%2Feasypay%2Ffrequent_payment_return.php&ep_ref=999+000+001&o_description=&o_obs=&ep_country=PT&ep_language=PT%2C+ES%2C+FR%2C+EN
Response Example

                    
Response Types

                    
Call
https://www.easypay.pt/_s/api_easypay_05AG.php?e=10611&r=999907994&v=15.25&mbway=yes&mbway_title=test&mbway_type=authorization&mbway_phone_indicative=351&mbway_phone=911234567&mbway_currency=EUR&t_key=3
Not available
Response Example
                            
                            
                            
                             10611
                             999907994   
                             15.25                                
                             test
                             authoriztion  
                             351                                
                             911234567
                             EUR
                             EF3C7E6F76E8C20652C100D47EFCEA2F30160438
                             3
                             success
                             Operation succeded
                            
                                                    
Response Types
                            
                            
                            
                             integer
                             string   
                             double                                
                             string
                             string  
                             integer                                
                             integer
                             string
                             string
                             string
                             string
                             string