README.md in africastalking-ruby-2.1.1.beta.0 vs README.md in africastalking-ruby-2.1.1.beta.1
- old
+ new
@@ -331,9 +331,23 @@
- `destinationAccount`: This value contains the account name used by the business to receive money on the provided destinationChannel. `REQUIRED`
- `currencyCode`: 3-digit ISO format currency code (e.g `KES`, `USD`, `UGX` etc.) `REQUIRED`
- `amount`: Payment amount. `REQUIRED`
- `metadata`: Some optional data to associate with transaction.`REQUIRED`
+#### Mobile Data
+```ruby
+payments.mobileData options
+```
+- `options`
+ - `productName`: Your Payment Product. `REQUIRED`
+ - `recipients`: A list of recipients. Each recipient has:
+
+ - `phoneNumber`: Customer phone number (in international format). `REQUIRED`
+ - `quantity`: Mobile data amount. `REQUIRED`
+ - `unit`: Mobile data unit. Can either be `MB` or `GB`. `REQUIRED`
+ - `validity`: How long the mobile data is valid for. Must be one of `Daily`, `Weekly` and `Monthly`. `REQUIRED`
+ - `metadata`: Additional data to associate with the transaction. `REQUIRED`
+
#### Wallet Transfer
```ruby
payments.walletTransfer options
```
- `options`