Transfers

Create a transfer

The createTransfer() method takes a CreateTransferRequest object as its only parameter.

$request = $stripe->transfers->createTransferRequest(350, "usd", "self");
$stripe->transfers->createTransfer($request);

Retrieve a transfer

$transfer = $stripe->transfers->getTransfer("transfer_id");

Update a transfer

$stripe->transfers->updateTransfer("transfer_id", "Updated description.");

Cancel a transfer

$stripe->transfers->cancelTransfer("transfer_id");

List transfers

$transfers = $stripe->transers->listTransfers();
``