Sha256: 91ca914a10c175e9c463e328d1f87c0c488db4ae86cfca55a4f690da6485cd14

Contents?: true

Size: 507 Bytes

Versions: 5

Compression:

Stored size: 507 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class Payout < APIResource
    extend Stripe::APIOperations::Create
    extend Stripe::APIOperations::List
    include Stripe::APIOperations::Save

    OBJECT_NAME = "payout"

    custom_method :cancel, http_verb: :post

    def cancel(params = {}, opts = {})
      request_stripe_object(
        method: :post,
        path: resource_url + "/cancel",
        params: params,
        opts: opts
      )
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stripe-5.26.0 lib/stripe/resources/payout.rb
stripe-5.25.0 lib/stripe/resources/payout.rb
stripe-5.24.0 lib/stripe/resources/payout.rb
stripe-5.23.1 lib/stripe/resources/payout.rb
stripe-5.23.0 lib/stripe/resources/payout.rb