Method: Stripe::PaymentMethodDomainService#retrieve

Defined in:
lib/stripe/services/payment_method_domain_service.rb

#retrieve(payment_method_domain, params = {}, opts = {}) ⇒ Object

Retrieves the details of an existing payment method domain.



29
30
31
32
33
34
35
36
37
# File 'lib/stripe/services/payment_method_domain_service.rb', line 29

def retrieve(payment_method_domain, params = {}, opts = {})
  request(
    method: :get,
    path: format("/v1/payment_method_domains/%<payment_method_domain>s", { payment_method_domain: CGI.escape(payment_method_domain) }),
    params: params,
    opts: opts,
    base_address: :api
  )
end