Methods
(async, static) AllOperators(creds)
Fetches a list of all DTH rechage operators supported by the Rocket in Pocket
API. The result is an array of Operator types.
Parameters:
| Name | Type | Description |
|---|---|---|
creds |
Merchant credentials to connect with Rocket in Pocket API |
- Source:
Returns:
An array of operators
(async, static) CheckStatus(transactionID)
Checks status of a previously submitted recharge request. We make use of Rocket in Pocket callbacks for status updates. So this is largely implemented as a backup in case RIP callback systems fail.
Parameters:
| Name | Type | Description |
|---|---|---|
transactionID |
Magic Batua transaction ID of the recharge request |
- Source:
(async) Recharge(creds, transactionID)
Carries out the DTH recharge operation as specified.
Parameters:
| Name | Type | Description |
|---|---|---|
creds |
Merchant credentials to access Rocket in Pocket API |
|
transactionID |
Transaction ID set by the Magic Transaction module |
- Source: