This API expects POSTed JSON bodies.
{ "api_key": "1234567890" }
Returns a list of products enabled for this API key.
[{ "slug": "R10_500MB", "product_type": "Data Bundle", "name": "R10 / 500MB", "description": "R10 / 500MB (valid for 1 year)", "currency": "ZAR", "price_ex_vat": 8.69, "price_inc_vat": 10, "mb": 500, "valid_days": 365 }, { "slug": "R20_1500MB", "product_type": "Data Bundle", "name": "R20 / 1.5GB", "description": "R20 / 1.5GB (valid for 1 year)", "currency": "ZAR", "price_ex_vat": 17.39, "price_inc_vat": 20, "mb": 1500, "valid_days": 365 }]
{ "api_key": "1234567890", "product_slug": "R10_500MB", "partner_tx_id": "Your Option Internal Transaction Identifier" }
{ "success": true, "transaction_uuid": "922f95a2656849f4b44948ad18f550e9", "code": "227799884677", "slug": "R10_500MB", "product_type": "Data Bundle", "name": "R10 / 500MB", "description": "R10 / 500MB (valid for 1 year)", "currency": "ZAR", "price_ex_vat": 8.69, "price_inc_vat": 10, "mb": 500, "valid_days": 365 }
Errors are returned as a list of strings
{ "errors": ["Invalid API Key", "Invalid or missing 'product_slug' field."] }