Module: Simpal::API::Payments::Refunds
- Defined in:
- lib/simpal/api/payments/refunds.rb
Overview
Class Method Summary collapse
-
.retrieve(id, headers: {}, client: nil) ⇒ Hash
Retrieve a refunded payment.
Class Method Details
.retrieve(id, headers: {}, client: nil) ⇒ Hash
Retrieve a refunded payment.
18 19 20 21 22 |
# File 'lib/simpal/api/payments/refunds.rb', line 18 def self.retrieve(id, headers: {}, client: nil) client = Simpal.client_for(client) response = client.connection.get("/v2/payments/refunds/#{id}", headers) response.body end |