class YaKassa::V3::RefundRequest

Public Instance Methods

body() click to toggle source
# File lib/ya_kassa/v3/refund_request.rb, line 12
def body
  {
    payment_id: payment_id,
    amount: {
      value: amount_value,
      currency: amount_currency
    }
  }
end

Private Instance Methods

api_client() click to toggle source
# File lib/ya_kassa/v3/refund_request.rb, line 24
def api_client
  api_client_post
end
url() click to toggle source
# File lib/ya_kassa/v3/refund_request.rb, line 28
def url
  router.refund_url
end