Class: MangoPay::PayIn::PayInIntent::Intent
- Defined in:
- lib/mangopay/pay_in.rb
Class Method Summary collapse
Methods inherited from Resource
Class Method Details
.cancel(intent_id, params, idempotency_key = nil) ⇒ Object
383 384 385 |
# File 'lib/mangopay/pay_in.rb', line 383 def cancel(intent_id, params, idempotency_key = nil) MangoPay.request(:post, "#{MangoPay.api_path_v3}/payins/intents/#{intent_id}/cancel", params, {}, idempotency_key) end |
.get(intent_id) ⇒ Object
379 380 381 |
# File 'lib/mangopay/pay_in.rb', line 379 def get(intent_id) MangoPay.request(:get, "#{MangoPay.api_path_v3}/payins/intents/#{intent_id}") end |