$parameters = array( [ 'list' ] = array( '[entity_name]' => [ list of entities id ], '[entity_name]' => [ list of entities id ], ... ) ; )
array ( [ 'status' ] = 'OK', [ 'processed' ] = array ( ... ), ) or array ( [ 'status' ] = 'FAIL', [ 'errors' ] = array( ... ), )
require_once ( 'classUddsOx.php' ) ; $udds = new classUddsOx ; $udds->customerCode = [your_customerCode] ; $udds->login = [your_login] ; $udds->password = [your_password] ; $udds->serverUrl = 'http://api.dlaoperatora.pl/udds/' ; $myParams = array() ; $myParams [ 'R2' ] = array ( 45, 46 ) ; $myParams [ 'FAKTURY' ] = null ; $ret = $udds->onlinePaymentProcessAction( $myParams ) ;
Returns $ret =
array ( [ 'status' ] = 'OK', [ 'processed' ] = array ( ... ) )