Aonde nesse é:
$pay_charge = $api->createOneStepCharge($params = [], $body);
Os outros métodos seriam:
$pay_charge = $api->updateBillet($params = [], $body);
$pay_charge = $api->settleBillet($params = [], $body);
$pay_charge = $api->cancelBillet($params = [], $body);