Module: Reapal::Api::User::UndoBindBankCard
- Defined in:
- lib/reapal/api/user/undo_bind_bank_card.rb
Instance Method Summary collapse
-
#undo_bind_bank_card(flow_id, contracts, bank_account_no) ⇒ Hash
1.8 撤销绑卡 (API).
Instance Method Details
#undo_bind_bank_card(flow_id, contracts, bank_account_no) ⇒ Hash
1.8 撤销绑卡 (API)
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/reapal/api/user/undo_bind_bank_card.rb', line 24 def undo_bind_bank_card(flow_id, contracts, bank_account_no) service = 'reapal.trust.undoBindBankCard' post_path = '/bankcard/undoBindBankApi.htm' params = { orderNo: flow_id, contracts: contracts, bankAccountNo: bank_account_no, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000']) Reapal.logger.info res res end |