For the complete documentation index, see llms.txt. This page is also available as Markdown.

OTP Gönderme

v1/card/send_otp

Üye işyeri kart saklama servislerinde OTP doğrulama yapması zorunlu ise bu servisi kullanarak ilgili numaraya (son kullanıcı) OTP kodu gönderimi yapar.

Parametre İsmi

Tip

Zorunlu

Açıklama

user_gsm

string

Evet

OTP gönderilecek telefon numarası

otp_session_id

string

Evet

OTP ile ilişkilendirilecek benzersiz değer. Bu değer ile saklanacak kart bilgisi ilişkilendirmesi yapılır.

Parametre İsmi

Tip

Açıklama

otp_expire

datetime

OTP’nin expire olma zamanı, bu zamandan önce tekrar çalıştırılmamalı.

code

string

Dönüş sonucunun kodu. Bknz

message

string

Dönüş sonuç kodunun açıklaması

{  
   "user_gsm":"5xxxyyzz",
   "otp_session_id":"otp_session_id"
}
{  
   "otp_expire":"2017-07-17T15:30:15.0581408+03:00",
   "code":0,
   "message":"Başarılı İşlem"
}

Sistem

URL

Canlı Sistem

https://api.paynet.com.tr/v1/card/send_otp

Test Sistemi

https://pts-api.paynet.com.tr/v1/card/send_otp

Last updated