Skip to content

Commit

Permalink
Correct URL used for refunding application fees
Browse files Browse the repository at this point in the history
Fixes #208.

See also stripe/stripe-ruby#351.
  • Loading branch information
brandur committed Nov 18, 2015
1 parent d2bf200 commit 33611d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ApplicationFee.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static function all($params = null, $opts = null)
*/
public function refund($params = null, $opts = null)
{
$url = $this->instanceUrl() . '/refund';
$url = $this->instanceUrl() . '/refunds';
list($response, $opts) = $this->_request('post', $url, $params, $opts);
$this->refreshFrom($response, $opts);
return $this;
Expand Down

0 comments on commit 33611d8

Please sign in to comment.