Module: PaypalAPI::Refunds::APIs
- Included in:
- PaypalAPI::Refunds, PaypalAPI::Refunds
- Defined in:
- lib/paypal-api/api_collections/refunds.rb
Overview
Common methods for PaypalAPI::Refunds class and client.refunds instance
Instance Method Summary collapse
-
#show(refund_id, query: nil, body: nil, headers: nil) ⇒ Response
Show refund details.
Instance Method Details
#show(refund_id, query: nil, body: nil, headers: nil) ⇒ Response
Show refund details
22 23 24 |
# File 'lib/paypal-api/api_collections/refunds.rb', line 22 def show(refund_id, query: nil, body: nil, headers: nil) client.get("/v2/payments/refunds/#{encode(refund_id)}", query: query, body: body, headers: headers) end |