class PaypalPayoutsSdk::Payouts::PayoutsItemGetRequest
Shows details for a payout item, by ID. A payout_item_id
helps you identify denied payments. If a payment is denied, you can use the payout_item_id
to identify the payment even if it lacks a transaction_id
.
Attributes
body[RW]
headers[RW]
path[RW]
verb[RW]
Public Class Methods
new(payout_item_id)
click to toggle source
# File lib/payouts/payouts_item_get_request.rb, line 18 def initialize(payout_item_id) @headers = {} @body = nil @verb = "GET" @path = "/v1/payments/payouts-item/{payout_item_id}?" @path = @path.gsub("{payout_item_id}", CGI::escape(payout_item_id.to_s)) @headers["Content-Type"] = "application/json" end