mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Add ability to specify custom headers for application_fee.refund
This commit is contained in:
parent
4bef41192a
commit
fd104697f3
@ -6,8 +6,8 @@ module Stripe
|
||||
'/v1/application_fees'
|
||||
end
|
||||
|
||||
def refund(params={}, api_key=nil)
|
||||
response, api_key = Stripe.request(:post, refund_url, api_key, params)
|
||||
def refund(params={}, api_key=nil, headers={})
|
||||
response, api_key = Stripe.request(:post, refund_url, api_key, params, headers)
|
||||
refresh_from(response, api_key)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user