Skip to main content

Retrieve order information

Retrieve order information

Last updated: 24-Apr-2017
Rate this article:


Use this method to extract information about orders in the Avangate platform.


Parameters Type/Description
sessionID String
  Session identifier string, output of the Login method. An exception is thrown if the values are incorrect.
refNo String
  Order reference number of an existing approved/paid order.


Parameters Type/Description
Order Object



require ('PATH_TO_AUTH');  // Authentication example:


$jsonRpcRequest = array (
'method' => 'getOrder',
'params' => array($sessionID, $refNo),
'id' => $i++,
'jsonrpc' => '2.0'
var_dump (callRPC((Object)$jsonRpcRequest, $host, true));
Rate this article:
Logo of Verifone