NICEPAY API
API Version 2 (V2)
SMS API
6 min
to allow {{the}} use of {{nicepay}} {{sms}} {{product}} s, {{merchant}} s need to integrate this {{api}} with {{the}} {{merchant}} {{system}} the sms api is a collection of {{nicepay}} {{api}} s that you can use in {{the}} {{sms}} sending {{process}} to your {{customer}} s or other message recipients process flow the {{merchant}} registers data the {{merchant}} sends data using {{the}} registration {{api}} to {{nicepay}} {{nicepay}} register data {{nicepay}} sends {{sms}} data info to {{the}} nice {{sms}} {{service}} nice {{sms}} sends response data {{information}} to {{nicepay}} {{nicepay}} sends data info to {{merchant}} s nice sms will send {{status}} info to {{nicepay}} {{nicepay}} processes {{the}} data status info and stores it in {{the}} db {{nicepay}} sends data {{notification}} s to {{merchant}} s the {{merchant}} sends a request for {{status}} {{information}} to {{nicepay}} {{nicepay}} sends response info 200 ok to {{merchant}} integration specification term description specification merchant e commerce company or store that uses {{nicepay}} {{sms}} {{service}} s merchant key authentication key prepared by {{nicepay}} must secure merchanttoken token from {{nicepay}} side don't create token from {{the}} client side imid {{merchant}} id txid transaction id smsmsg message content message length {{nicepay}} will provide {{transaction}} message delivery in one {{transaction}} up to 640 characters or 4 {{transaction}} messages, with {{the}} following details 160 characters = 1 message if it is more than 160 characters, it will be calculated as follows semua telecom operator (non xl) 161 320 characters = 2 messages 321 459 characters = 3 messages 481 640 characters = 4 messages xl telecom operator 161 306 characters = 2 messages 307 459 characters = 3 messages 460 612 characters = 4 messages valid character alphabets (lowercase, uppercase) number special characters ! @ $ ( ) + & = , ; / \ ? { } " % (space) (enter) smstype to determine {{the}} type of {{sms}} sent 0 normal {{sms}} 1 alert {{sms}} 2 otp {{sms}} for otp {{sms}} , {{nicepay}} guarantees {{the}} delivery time from {{the}} company to {{the}} telco is under 300 seconds, and {{the}} otp will lower when {{the}} sending time is more than 300 seconds special character % must follow by a space sms api types sms transmit docid\ z0wcvvtj6jzfmmxa1wffl {{api}} used to sending {{sms}} notification sms docid\ l8bsszk8vkuohfc6oxlv api used to check {{sms}} sending {{status}} sms inquiry docid\ uvh5tm4lddalmolxxlxjj {{api}} used to check {{the}} success {{sms}} sending {{status}} see also {{visit}} {{the}} payout (disbursement) api docid 9j es vvbr zlu luiwtd {{page}} to learn detail {{api}} used on {{payout}} {{process}} {{visit}} {{the}} faq nicepay api docid\ jnmgwdinz22ghzhutftkd {{page}} if you want to find out frequently asked questions related to {{nicepay}} {{api}}