The createTransfer()
method takes a CreateTransferRequest
object as its only parameter.
$request = $stripe->transfers->createTransferRequest(350, "usd", "self");
$stripe->transfers->createTransfer($request);
$transfer = $stripe->transfers->getTransfer("transfer_id");
$stripe->transfers->updateTransfer("transfer_id", "Updated description.");
$stripe->transfers->cancelTransfer("transfer_id");
$transfers = $stripe->transers->listTransfers();
``