Paynet API
Search…
Sending OTP
v1/card/send_otp
If OTP verification is necessary in member workplace card storage services, it sends an OTP code to the relevant number (last user) by using this service.
Request Parameters
Response Parameters
Request
Response
Service URL
Parameter Name
Type
Required
Description
user_gsm
string
Yes
Phone number to send OTP.
otp_session_id
string
Yes
The unique value that will be associate with the OTP. This value is associated with the card information that will be saved.
Parameter Name
Type
Description
otp_expire
datetime
OTP's expiration time ,should not be run again before this time.
code
string
Code of response result. Expr
message
string
Response result message.
1
{
2
"user_gsm":"5xxxyyzz",
3
"otp_session_id":"otp_session_id"
4
}
Copied!
1
{
2
"otp_expire":"2017-07-17T15:30:15.0581408+03:00",
3
"code":0,
4
"message":"Başarılı İşlem"
5
}
Copied!
System
URL
Live System
https://api.paynet.com.tr/v1/card/send_otp
Test System
https://pts-api.paynet.com.tr/v1/card/send_otp
Last modified 4mo ago
Copy link