Method: Unit::Fee.create_fee
- Defined in:
- lib/unit/models/fee/fee.rb
.create_fee(account_id:, amount:, description:, tags: nil, idempotency_key: nil) ⇒ Object
Request to create fee
16 17 18 19 |
# File 'lib/unit/models/fee/fee.rb', line 16 def create_fee(account_id:, amount:, description:, tags: nil, idempotency_key: nil) request = CreateFeeRequest.new(account_id, amount, description, , idempotency_key) Unit::Resource::FeeResource.create_fee(request) end |