OTP Control
v1/card/check_otp
If there is an OTP requirement in card storage transactions, it validates the code generated in the OTP sending service
Parameter Name
Type
Required
Description
otp_code
string
Yes
The Last user's number sent as a parameter in the send_otp service.
otp_session_id
string
Yes
The unique value that will be associate with the OTP.
user_gsm
string
Yes
OTP verification in format of 5XXXXXXXXXX, gsm no.
Parameter Name
Type
Description
message
string
Response result message.
{
"user_gsm":"5324818942",
"otp_session_id":"123456",
"otp_code":"ART2"
}{
"code":0,
"message":"Başarılı İşlem"
}System
URL
Live System
https://api.paynet.com.tr/v1/card/check_otp
Test System
https://pts-api.paynet.com.tr/v1/card/check_otp
Last updated