Fetch all payments Updated on 12-09-2018

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

Info

This API call returns all payments received.

Updated on 12-09-2018

Parameters
ep_cin
required
The ep_cin of the payment received.
Example value: 9999
ep_user
required
The ep_user of the payment received.
Example value: USER010101
ep_entity
required
the ENTITY of your easypay account.
Available values: 10611, 11683 or 21098
o_list_type
optinal
Filter type
Available values: week, last, date or fail
o_ini
required if ep_list_type is specified
If ep_list_type=week o_ini=12/45 ( week 45 of 2012 )
If ep_list_type=last o_ini=10 ( last 10. Can be 10, 50, 100 )
If ep_list_type=date o_ini=2012-01-01 ( date range start. YYYY-MM-DD )
Example value: 2012-01-01
o_last
required if ep_list_type is date
2012-01-31 ( date range end. YYYY-MM-DD )
Example value: 2012-01-31
Additional parameters only for Credit Card frequent payments
ep_freq
optional
Set as yes if you want to list frequent payments instead of single payments
Example value: yes
Additional parameters only for Direct debit frequent payments
ep_rec
optional
Set as yes if you want to list recurring payments instead of single payments
Example value: yes
Call
https://www.easypay.pt/_s/api_easypay_040BG1.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_list_type=date&o_ini=2012-01-01&o_last=2012-01-31
http://test.easypay.pt/_s/api_easypay_040BG1.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_list_type=date&o_ini=2012-01-01&o_last=2012-01-31
Response Example


  ok0
  ep_country and ep_entity and ep_user and ep_cin ok and validation by ip;ip ok - doc TESTE2515860102158412061588102125 and key 5 ok;
  13
  
    
      9999
      USER010101
      10611
      999907994
      15.25
      3
      5
      TESTE2515860102158412061588102125
      MB
      0.30
      3.4
      2.03
      10
      2012-01-02
      2012-01-01 14:00:00
      verified
      Observations...
      tec@easypay.pt
      912 345 678
      2012-01-01 10:00:00
      352
      testMB-01-999999-0
    
  

Response Types


  string
  string
  integer
  
    
      integer
      string
      integer
      string
      double
      string
      integer
      string
      string
      double
      double
      double
      double
      date
      datetime
      string
      string
      string
      string
      datetime
      integer
      string
    
  

Call
https://www.easypay.pt/_s/api_easypay_040BG1.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_list_type=date&o_ini=2012-01-01&o_last=2012-01-31&ep_rec=yes
http://test.easypay.pt/_s/api_easypay_040BG1.php?ep_cin=9999&ep_user=USER010101&ep_entity=10611&o_list_type=date&o_ini=2012-01-01&o_last=2012-01-31&ep_rec=yes
Response Example


  ok0
  ep_country and ep_entity and ep_user and ep_cin ok and validation by ip;ip ok - doc TESTE2515860102158412061588102125 and key 5 ok;
  13
  
    
      9999
      USER010101
      10611
      999907994
      15.25
      3
      5
      TESTE2515860102158412061588102125
      MB
      0.30
      3.4
      2.03
      10
      2012-01-02
      2012-01-01 14:00:00
      verified
      Observations...
      tec@easypay.pt
      912 345 678
      2012-01-01 10:00:00
      352
      testMB-01-999999-0
    
  

Response Types


  string
  string
  integer
  
    
      integer
      string
      integer
      string
      double
      string
      integer
      string
      string
      double
      double
      double
      double
      date
      datetime
      string
      string
      string
      string
      datetime
      integer
      string
    
  

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