README.md in mymoip-0.3.1 vs README.md in mymoip-0.4.0

- old
+ new

@@ -83,9 +83,42 @@ **Success?** ```ruby payment_request.success? ``` +Sending payments to multiple receivers +-------------------------------------- + +Choosing between commission with fixed or percentage value. + +```ruby +commissions = [MyMoip::Commission.new( + reason: 'System maintenance', + receiver_login: 'commissioned_moip_login', + fixed_value: 15.0 +)] + +# OR + +commissions = [MyMoip::Commission.new( + reason: 'Shipping', + receiver_login: 'commissioned_moip_login', + percentage_value: 0.15 +)] +``` + +```ruby +instruction = MyMoip::Instruction.new( + id: "instruction_id_defined_by_you", + payment_reason: "Order in Buy Everything Store", + values: [100.0], + payer: payer, + commissions: commissions +) +``` + +[Wiki](https://github.com/Irio/mymoip/wiki/Sending-payments-to-multiple-receivers) will be helpful here. + Documentation ------------- For more information you can access the [wiki page](https://github.com/Irio/mymoip/wiki).