examples/query.php
<?php
require_once 'bootstrap.php';
$request = \Ebanx\Ebanx::doRequest(array(
'currency_code' => 'USD'
, 'amount' => 119.90
, 'name' => 'Gustavo Mascarenhas'
, 'email' => 'gustavo@ebanx.com'
, 'payment_type_code' => '_all'
, 'merchant_payment_code' => time()
));
$response = \Ebanx\Ebanx::doQuery(array(
'hash' => $request->payment->hash
));
var_dump($response);