Skip to content

Commit

Permalink
movde
Browse files Browse the repository at this point in the history
  • Loading branch information
yigefaxian committed Nov 10, 2024
1 parent a2f6b21 commit fbc85b9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions app/apis/wx_pay/api/shared.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
module WxPay::Api
module Shared

def invoke_refund(out_refund_no:, transaction_id:, amount:, **options)
post(
'/v3/refund/domestic/refunds',
transaction_id: transaction_id,
out_refund_no: out_refund_no,
amount: amount,
origin: BASE,
**options
)
end

def order_query(out_trade_no)
get "/v3/pay/transactions/out-trade-no/#{out_trade_no}", origin: BASE
end

def refund_query(out_refund_no)
get "/v3/refund/domestic/refunds/#{out_refund_no}", origin: BASE
end
Expand Down

0 comments on commit fbc85b9

Please sign in to comment.