Skip to main content

Retrieving Invoices By ID

Map<String, Object> invoice = co.findById(ChargeOver.Target.INVOICE, 1001);
if (invoice == null) {
System.out.println(co.getLastError());
} else {
co.prettyPrint(invoice);
}