Class: Xendit::Payout
- Inherits:
-
Object
- Object
- Xendit::Payout
- Defined in:
- lib/xendit/resources/payout.rb
Class Method Summary collapse
- .cancel(id, **opts) ⇒ Object
- .channels(**opts) ⇒ Object
- .create(**opts) ⇒ Object
- .get_by_id(id, **opts) ⇒ Object
- .get_by_reference_id(reference_id, **opts) ⇒ Object
Class Method Details
.cancel(id, **opts) ⇒ Object
14 15 16 |
# File 'lib/xendit/resources/payout.rb', line 14 def cancel(id, **opts) ApiClient.post "v2/payouts/#{id}/cancel", opts end |
.channels(**opts) ⇒ Object
6 7 8 |
# File 'lib/xendit/resources/payout.rb', line 6 def channels(**opts) ApiClient.get "payouts_channels", opts end |
.create(**opts) ⇒ Object
10 11 12 |
# File 'lib/xendit/resources/payout.rb', line 10 def create(**opts) ApiClient.post "v2/payouts", opts end |