MobilePostpaid

MobilePostpaid

Manages all mobile postpaid bill handling and payments.

Constructor

new MobilePostpaid()

Source:

Methods

(async, static) CheckStatus(creds, vendorID)

Returns the status of a postpaid bill payment done previously. We'll make use of Rocket in Pocket's callback URL mechanism instead, so this will largely acts as a backup.

Parameters:
Name Type Description
creds

Merchant credentials to connect to the Rocket in Pocket API

vendorID

ID returned by Rocket in Pocket after successful recharge request

Source:

(async, static) GetOperators()

Returns a list of all mobile postpaid operators supported by Rocket in Pocket API.

Source:

(async) Pay()

Pays a mobile postpaid bill.

Source: