@@ -465,9 +465,10 @@ $username = "";
465
465
$password = "";
466
466
467
467
//Endpoint Options:
468
- // Client::SMPP_API_OTP_ENDPOINT - Asynchronous SMS API (SMS) - For (one-time pins) OTP & Notification messages
469
- // Client::SMPP_API_MRK_ENDPOINT - Asynchronous SMS API (SMS) - For marketing messages
470
- $endpoint = MobiWeb\Rest\Client::SMPP_API_OTP_ENDPOINT;
468
+ // APIClient::API_ENDPOINT - REST API (SMS, OTP, HLR) - Default
469
+ // APIClient::SMPP_API_1_ENDPOINT - Asynchronous SMS API (SMS)
470
+ // APIClient::SMPP_API_2_ENDPOINT - Asynchronous SMS API (SMS) - Alternative
471
+ $endpoint = MobiWeb\Rest\Client::SMPP_API_1_ENDPOINT;
471
472
472
473
$client = new MobiWeb\Rest\Client($username, $password, $endpoint);
473
474
@@ -497,9 +498,10 @@ $username = "";
497
498
$password = "";
498
499
499
500
//Endpoint Options:
500
- // Client::SMPP_API_OTP_ENDPOINT - Asynchronous SMS API (SMS) - For (one-time pins) OTP & Notification messages
501
- // Client::SMPP_API_MRK_ENDPOINT - Asynchronous SMS API (SMS) - For marketing messages
502
- $endpoint = MobiWeb\Rest\Client::SMPP_API_OTP_ENDPOINT;
501
+ // APIClient::API_ENDPOINT - REST API (SMS, OTP, HLR) - Default
502
+ // APIClient::SMPP_API_1_ENDPOINT - Asynchronous SMS API (SMS)
503
+ // APIClient::SMPP_API_2_ENDPOINT - Asynchronous SMS API (SMS) - Alternative
504
+ $endpoint = MobiWeb\Rest\Client::SMPP_API_1_ENDPOINT;
503
505
504
506
$client = new MobiWeb\Rest\Client($username, $password, $endpoint);
505
507
@@ -534,9 +536,10 @@ $username = "";
534
536
$password = "";
535
537
536
538
//Endpoint Options:
537
- // Client::SMPP_API_OTP_ENDPOINT - Asynchronous SMS API (SMS) - For (one-time pins) OTP & Notification messages
538
- // Client::SMPP_API_MRK_ENDPOINT - Asynchronous SMS API (SMS) - For marketing messages
539
- $endpoint = MobiWeb\Rest\Client::SMPP_API_OTP_ENDPOINT;
539
+ // APIClient::API_ENDPOINT - REST API (SMS, OTP, HLR) - Default
540
+ // APIClient::SMPP_API_1_ENDPOINT - Asynchronous SMS API (SMS)
541
+ // APIClient::SMPP_API_2_ENDPOINT - Asynchronous SMS API (SMS) - Alternative
542
+ $endpoint = MobiWeb\Rest\Client::SMPP_API_1_ENDPOINT;
540
543
541
544
$client = new MobiWeb\Rest\Client($username, $password, $endpoint);
542
545
@@ -573,9 +576,10 @@ $username = "";
573
576
$password = "";
574
577
575
578
//Endpoint Options:
576
- // Client::SMPP_API_OTP_ENDPOINT - Asynchronous SMS API (SMS) - For (one-time pins) OTP & Notification messages
577
- // Client::SMPP_API_MRK_ENDPOINT - Asynchronous SMS API (SMS) - For marketing messages
578
- $endpoint = MobiWeb\Rest\Client::SMPP_API_OTP_ENDPOINT;
579
+ // APIClient::API_ENDPOINT - REST API (SMS, OTP, HLR) - Default
580
+ // APIClient::SMPP_API_1_ENDPOINT - Asynchronous SMS API (SMS)
581
+ // APIClient::SMPP_API_2_ENDPOINT - Asynchronous SMS API (SMS) - Alternative
582
+ $endpoint = MobiWeb\Rest\Client::SMPP_API_1_ENDPOINT;
579
583
580
584
$client = new MobiWeb\Rest\Client($username, $password, $endpoint);
581
585
0 commit comments