PHP Class Cartalyst\Stripe\Api\Refunds

Inheritance: extends Api
Show file Open project: cartalyst/stripe

Public Methods

Method Description
all ( string $chargeId, array $parameters = [] ) : array Lists all refunds for the given charge.
create ( string $chargeId, integer $amount = null, array $parameters = [] ) : array Creates a new refund for the given charge.
find ( string $chargeId, string $refundId ) : array Retrieves an existing refund from the given charge.
update ( string $chargeId, string $refundId, array $parameters = [] ) : array Updates an existing refund on the given charge.

Method Details

all() public method

Lists all refunds for the given charge.
public all ( string $chargeId, array $parameters = [] ) : array
$chargeId string
$parameters array
return array

create() public method

Creates a new refund for the given charge.
public create ( string $chargeId, integer $amount = null, array $parameters = [] ) : array
$chargeId string
$amount integer
$parameters array
return array

find() public method

Retrieves an existing refund from the given charge.
public find ( string $chargeId, string $refundId ) : array
$chargeId string
$refundId string
return array

update() public method

Updates an existing refund on the given charge.
public update ( string $chargeId, string $refundId, array $parameters = [] ) : array
$chargeId string
$refundId string
$parameters array
return array