Payment Gateway
The payment gateway is used to bill users when you select Paid or Free + Paid WiFi. Mojo currently supports only the Stripe payment gateway. Payment gateway account settings are configured on Mojo Aware.
JSON Table
Attribute | Data Type | Description | Default/Sample value |
---|---|---|---|
type | string | Category or type of the device whose details are being modified. The applicable value is ap | ap |
boxId | long | Syatem-generated ID of the AP. | 2 |
name | String | Name of the device. | Mojo_90:64:10 |
radios | application/json | A JSON object with attributes related to the access point radio |
Copy Sample JSON
Sample JSON
[{ "type": "ap", "boxId": 2, "name": "Mojo_90:64:10 ", "radios": [{ "type": "apradio", "macaddress": "00:11:74:90:64:10", "protocol": "BG", "channel": 1, "firstDetectedTime": 1387185947000, "upSince": 1389793015000, "signalStrength": -59, "quarantineStatus": "QUARANTINE_STATUS_OFF", "captureFlag": 0, "captureId": 0, "ssid": "mesh-access", "prevReason": 0, "prevPendingReason": 0, "opprotocol": "BG", "meshFlag": 0, "dot11NCapability": 5065, "dot11ACCapability": 0, "dualBand": false, "numAssocClients": 0, "underDosAttack": false, "quarantiningSensorMac": null, "security": 8, "secAuth": 1, "secGCS": 8, "secPWCS": 8, "networkTag": " --", "networkedStatus": "NOT_NETWORKED", "wiredMAC": null, "misconfigured": false, "capability": 1, "securitySettingFailure": 0, "mcsSet11ac": 0, "supportedRates": -2144683266, "beaconInterval": 100, "channelOffset": 0, "mcsSet11n": "ffff0000000000000000000080000000", "extendedAttr": 1, "channelWidth": 0, "centerFrequencyOne": 0, "centerFrequencyZero": 0, "potentialClassification": "EXTERNAL", "maxDataRateFor11n": -999, "primary": false, "guest": false, "autopreventionEnabled": true, "manualPreventionEnabled": false, "active": true }], "locationId": { "type" : "locallocationid", "id" : 1 }, "deviceNote": null, "ipAddress": null, "activeStatus": null, "deviceCapability": null, "manuallyTagged": false, "group": "EXTERNAL", "placed": false, "wiredPortBlocked": false, "ownSensorBoxId": 3517, "apTemplateId": 0, "apTemplateName": null, "vendorName": "Mojo", "signalSource": false, "manuallyClassified": false, "searchIndex": -100, "sortColumnIndex": -100, "updateFlags": -100, "primaryRadio": { "type": "apradio", "macaddress": "00:11:74:90:64:10", "protocol": "BG", "channel": 1, "firstDetectedTime": 1387185947000, "upSince": 1389793015000, "signalStrength": -59, "quarantineStatus": "QUARANTINE_STATUS_OFF", "captureFlag": 0, "captureId": 0, "ssid": "mesh-access", "prevReason": 0, "prevPendingReason": 0, "opprotocol": "BG", "meshFlag": 0, "dot11NCapability": 5065, "dot11ACCapability": 0, "dualBand": false, "numAssocClients": 0, "underDosAttack": false, "quarantiningSensorMac": null, "security": 8, "secAuth": 1, "secGCS": 8, "secPWCS": 8, "networkTag": " --", "networkedStatus": "NOT_NETWORKED", "wiredMAC": null, "misconfigured": false, "capability": 1, "securitySettingFailure": 0, "mcsSet11ac": 0, "supportedRates": -2144683266, "beaconInterval": 100, "channelOffset": 0, "mcsSet11n": "ffff0000000000000000000080000000", "extendedAttr": 1, "channelWidth": 0, "centerFrequencyOne": 0, "centerFrequencyZero": 0, "potentialClassification": "EXTERNAL", "maxDataRateFor11n": -999, "primary": false, "guest": false, "autopreventionEnabled": true, "manualPreventionEnabled": false, "active": true }, "banned": false, "guest": false, "misconfigured": false, "ssids": ["Corp","Guest","ATN_Mesh"], "mergedAP": false, "active": true, "bestSignalStrength": -59 }, { "type": "ap", "boxId": 12, "name": "Ruckus_A6:7A:E8", "radios": [{ "type": "apradio", "macaddress": "00:24:82:A6:7A:E8", "protocol": "BG", "channel": 10, "firstDetectedTime": 1387185947000, "upSince": 1389780250000, "signalStrength": -5000, "quarantineStatus": "QUARANTINE_STATUS_OFF", "captureFlag": 0, "captureId": 0, "ssid": "Mesh-100903000290-13", "prevReason": 0, "prevPendingReason": 0, "opprotocol": "BG", "meshFlag": 0, "dot11NCapability": 0, "dot11ACCapability": 0, "dualBand": false, "numAssocClients": 0, "underDosAttack": false, "quarantiningSensorMac": null, "security": 8, "secAuth": 1, "secGCS": 8, "secPWCS": 8, "networkTag": " --", "networkedStatus": "NOT_NETWORKED", "wiredMAC": null, "misconfigured": true, "capability": 0, "securitySettingFailure": 2048, "mcsSet11ac": 0, "supportedRates": -2144683266, "beaconInterval": 1000, "channelOffset": 0, "mcsSet11n": null, "extendedAttr": 1, "channelWidth": 0, "centerFrequencyOne": 0, "centerFrequencyZero": 0, "potentialClassification": "EXTERNAL", "maxDataRateFor11n": -999, "primary": false, "guest": false, "autopreventionEnabled": true, "manualPreventionEnabled": false, "active": false }], "locationId": { "type" : "locallocationid", "id" : 1 }, "deviceNote": null, "ipAddress": null, "activeStatus": null, "deviceCapability": null, "manuallyTagged": false, "group": "AUTHORIZED", "placed": false, "wiredPortBlocked": false, "ownSensorBoxId": 3517, "apTemplateId": 0, "apTemplateName": null, "vendorName": "Ruckus", "signalSource": false, "manuallyClassified": true, "searchIndex": -100, "sortColumnIndex": -100, "updateFlags": -100, "primaryRadio": { "type": "apradio", "macaddress": "00:24:82:A6:7A:E8", "protocol": "BG", "channel": 10, "firstDetectedTime": 1387185947000, "upSince": 1389780250000, "signalStrength": -5000, "quarantineStatus": "QUARANTINE_STATUS_OFF", "captureFlag": 0, "captureId": 0, "ssid": "Mesh-100903000290-13", "prevReason": 0, "prevPendingReason": 0, "opprotocol": "BG", "meshFlag": 0, "dot11NCapability": 0, "dot11ACCapability": 0, "dualBand": false, "numAssocClients": 0, "underDosAttack": false, "quarantiningSensorMac": null, "security": 8, "secAuth": 1, "secGCS": 8, "secPWCS": 8, "networkTag": " --", "networkedStatus": "NOT_NETWORKED", "wiredMAC": null, "misconfigured": true, "capability": 0, "securitySettingFailure": 2048, "mcsSet11ac": 0, "supportedRates": -2144683266, "beaconInterval": 1000, "channelOffset": 0, "mcsSet11n": null, "extendedAttr": 1, "channelWidth": 0, "centerFrequencyOne": 0, "centerFrequencyZero": 0, "potentialClassification": "EXTERNAL", "maxDataRateFor11n": -999, "primary": false, "guest": false, "autopreventionEnabled": true, "manualPreventionEnabled": false, "active": false }, "banned": false, "guest": false, "misconfigured": true, "ssids": ["Corp","Guest","ATN_Mesh"], "mergedAP": false, "active": false, "bestSignalStrength": -5000 }]
API Calls
/V1.14/portals/{portal_id}/guestbook/config
/V1.14/portals/{portal_id}/guestbook/config
<Base_URL>/V2/analytics/associationdata/{startdate}/{enddate}
<Base_URL>/V2/analytics/associationdata/{startdate}/{enddate}