Paynet API
Search…
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
Request Parameters
Response Parameters
Request
Response
Service URL
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
code
string
Code of response result. Expr
message
string
Response result message.
1
{
2
"user_gsm":"5324818942",
3
"otp_session_id":"123456",
4
"otp_code":"ART2"
5
}
Copied!
1
{
2
"code":0,
3
"message":"Başarılı İşlem"
4
}
Copied!
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 modified 4mo ago
Copy link