Sha256: 14677c7000f5af0184025d3a8eecdb3262ddf5e85efc1bf3719bd4388ff64d36
Contents?: true
Size: 750 Bytes
Versions: 5
Compression:
Stored size: 750 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe class PaymentAttemptRecordService < StripeService # List all the Payment Attempt Records attached to the specified Payment Record. def list(params = {}, opts = {}) request( method: :get, path: "/v1/payment_attempt_records", params: params, opts: opts, base_address: :api ) end # Retrieves a Payment Attempt Record with the given ID def retrieve(id, params = {}, opts = {}) request( method: :get, path: format("/v1/payment_attempt_records/%<id>s", { id: CGI.escape(id) }), params: params, opts: opts, base_address: :api ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems