Module: Lark::Apis::Pay

Defined in:
lib/lark/apis/pay.rb

Instance Method Summary collapse

Instance Method Details

#order_get(order_id) ⇒ Object



15
16
17
# File 'lib/lark/apis/pay.rb', line 15

def order_get(order_id)
  get 'pay/v1/order/get', params: {order_id: order_id}
end

#order_list(params = {}) ⇒ Object



11
12
13
# File 'lib/lark/apis/pay.rb', line 11

def order_list(params={})
  get 'pay/v1/order/list', params: params
end


4
5
6
7
8
9
# File 'lib/lark/apis/pay.rb', line 4

def paid_scope_check_user(open_id: nil, user_id: nil)
  get 'pay/v1/paid_scope/check_user', params: {
    open_id: open_id,
    user_id: user_id
  }.compact
end