interface Aggregator (View source)

Methods

string|null
call(string $uri, array $options)

Call USSD service.

Details

string|null call(string $uri, array $options)

Call USSD service.

Parameters

string $uri
array $options

Simulator options $options = [ 'new_session' => (bool) Request type 'session_id' => (string) Session ID - Auto generated 'phone_number' => (string) Phone Number 'service_code' => (string) Service Code 'network_code' => (?string) Network Code 'input' => (?string) Current user input 'answers' => (?string) All the user's input for this session ]

Return Value

string|null

successful response