Method: Stripe::Source#verify
- Defined in:
- lib/stripe/resources/source.rb
#verify(params = {}, opts = {}) ⇒ Object
Verify a given source.
45 46 47 48 49 50 51 52 |
# File 'lib/stripe/resources/source.rb', line 45 def verify(params = {}, opts = {}) request_stripe_object( method: :post, path: format("/v1/sources/%<source>s/verify", { source: CGI.escape(self["id"]) }), params: params, opts: opts ) end |