Cartalyst\Stripe\Api\Sources::update PHP Method

update() public method

Updates an existing source from the given customer.
public update ( string $customerId, string $sourceId, array $parameters = [] ) : array
$customerId string
$sourceId string
$parameters array
return array
    public function update($customerId, $sourceId, array $parameters = [])
    {
        return $this->_post("customers/{$customerId}/sources/{$sourceId}", $parameters);
    }