zippie-utils/airtime

Methods

(async, inner) checkOrderStatus(orderId) → {JSON}

Check order status

Parameters:
Name Type Description
orderId String

order id

Source:

(async, inner) checkPhoneNumber(phonenumber, operator_slug) → {JSON}

Checks if a phone number is valid for top up and returns operator information

Parameters:
Name Type Description
phonenumber String
operator_slug String
Source:

(async, inner) getInventory(operator_slug) → {JSON}

Gets available country / operator details

Parameters:
Name Type Description
operator_slug String

optional: operator id

Source:

(async, inner) payForTopup(blankcheck, phonenumber, operator_slug, testing) → {JSON}

Topup a number with tokens from a blank cheque

Parameters:
Name Type Description
blankcheck String
phonenumber String
operator_slug String
testing Boolean
Source: