register_simcloud_user
Register a SIMcloud user
Create a normal SIMcloud account under the authenticated account for a client application user. Confirm that the person consents to account creation and that their cell number, email and password are correct before calling. The response contains the child account API token, which must be stored securely and used only for that child account.
输入参数cell必填email必填vatnoaddresspassword必填id_numberlast_name必填first_name必填business_regbusiness_name
get_wallet_balance
Get wallet balance
Use this before a wallet-funded SIMcloud transaction or when the user asks for their available SIMcloud balance. Returns the authenticated account wallet balance and does not spend funds.
无需输入参数。
get_transaction_history
Get transaction history
Use this to retrieve read-only transaction history for the authenticated SIMcloud account across web, CSV, recurring and API airtime, data, SMS, VAS and electricity activity. Require a date range; optionally filter one or more services with a comma-separated type value. SMS is successful only after a delivery receipt.
输入参数typelimitcursordate_to必填date_from必填
lookup_network
Look up mobile network
Use this when the user needs to identify the South African mobile network for a number before sending airtime, data or SMS. The lookup is recorded in the authenticated account history.
输入参数msisdn必填
Use this when an authenticated SIMcloud user asks to send a confirmed SMS to a South African recipient. Confirm the final recipient and message before calling. Sending is an irreversible external action and may spend wallet funds; do not automatically retry an ambiguous result.
输入参数message必填recipient必填
get_sms_status
Get SMS status
Use this after send_sms to fetch the delivery status of an authenticated account SMS by sms_id.
输入参数sms_id必填
create_airtime_order
Send South African airtime
Use this when an authenticated SIMcloud user asks to send or recharge prepaid airtime to a South African mobile number on MTN, Vodacom, Cell C or Telkom. Confirm the MSISDN, network, rand amount and reference before calling. This spends wallet funds and queues an irreversible external transaction. Never automatically retry an ambiguous result. Duplicate same-MSISDN-and-amount requests inside 5 minutes return HTTP 409.
输入参数amount必填msisdn必填network必填reference必填
get_airtime_order
Get airtime order
Use this after create_airtime_order, or after an ambiguous create result, to fetch the authenticated account airtime order by request_id or orderno.
输入参数ordernorequest_id
create_data_order
Create data order
Use this when an authenticated SIMcloud user asks to send a confirmed South African mobile data bundle. Call list_data_products first and use an available network and sell value. This spends wallet funds and queues an irreversible external transaction. Never automatically retry an ambiguous result. Duplicate same-MSISDN-and-amount requests inside 5 minutes return HTTP 409.
输入参数amount必填msisdn必填network必填reference必填
list_data_products
List data products
Use this before create_data_order to list the current SIMcloud data bundle products and exact sell values available for API ordering, optionally filtered by South African network.
输入参数network
get_data_order
Get data order
Use this after create_data_order, or after an ambiguous create result, to fetch the authenticated account data order by request_id or orderno.
输入参数ordernorequest_id
list_vas_products
List VAS products
Use this before create_vas_order to list active SIMcloud VAS voucher products and their available denominations.
无需输入参数。
create_vas_order
Create VAS order
Use this when an authenticated SIMcloud user asks to buy a confirmed VAS voucher. Call list_vas_products first and use an available product and denomination. This spends wallet funds and queues an irreversible external transaction; do not automatically retry an ambiguous result.
输入参数amount必填reference必填product_idvoucher_type
get_vas_order
Get VAS order
Use this after create_vas_order, or after an ambiguous create result, to fetch an authenticated account VAS order by order_id or transaction_id.
输入参数order_idtransaction_id
create_electricity_order
Create electricity order
Use this when an authenticated SIMcloud user asks to buy prepaid electricity for a meter already confirmed with check_electricity_meter. Confirm the meter, rand amount, reference and SMS recipient before calling. This spends wallet funds and submits an irreversible external transaction; do not automatically retry an ambiguous result.
输入参数amount必填recipient必填meter_number必填client_reference必填
check_electricity_meter
Check electricity meter
Use this before create_electricity_order to check whether a prepaid electricity meter is supported. This does not buy electricity or spend wallet funds.
输入参数meter_number必填
get_electricity_order
Get electricity order
Use this after create_electricity_order, or after an ambiguous create result, to fetch an authenticated account electricity order by order_id, client_reference or order_reference_id.
输入参数order_idclient_referenceorder_reference_id