İzibiz Developer Portal
SOAP WS · E-Müstahsil WS (CreditNoteWS)

SMS Doğrulama Kodunu Doğrulama (VerifySmsCode)

SOAPVerifySmsCode
  • SendSmsCode operasyonu ile müstahsilin telefonuna gönderilen SMS kodunu, telefon numarası ile birlikte doğrulayan servistir.
  • Başarılı doğrulamada yanıttaki STATUS değeri VERIFIED döner.
  • Doğrulama yanıtındaki telefon numarası, SMS kodu ve SMS sağlayıcı bilgileri e-Müstahsil Makbuzunun UBL-TR içeriğine eklenerek SendCreditNote operasyonu ile gönderilir.

e-Müstahsil Makbuzuna yansıtma (UBL-TR, CONTENT içinde):

Doğrulama yanıtı UBL-TR alanı
PHONE_NUMBER AccountingCustomerParty/Party/Contact/Telephone
"SMS" (sabit değer) AccountingCustomerParty/Party/Contact/Name
CODE AccountingCustomerParty/Party/Contact/ID
"SMS_PROVIDER" (sabit değer) AccountingSupplierParty/Party/Contact/OtherCommunication/ChannelCode/@name
SMS_PROVIDER AccountingSupplierParty/Party/Contact/OtherCommunication/ChannelCode
SMS_PROVIDER_VKN AccountingSupplierParty/Party/Contact/OtherCommunication/Value

Yanıt alanları:

Alan Açıklama
STATUS İşlemin durum değeri. Başarılı doğrulamada VERIFIED döner.
PHONE_NUMBER Doğrulanan telefon numarası.
SMS_PROVIDER SMS'i gönderen sağlayıcının adı.
SMS_PROVIDER_VKN SMS sağlayıcının VKN'si.
CODE Doğrulanan SMS kodu.

Parameters

NameTypeRequiredDescription
REQUEST_HEADER object Yes Request Header objesi içerisinde SESSION_ID alanı zorunludur.
└ SESSION_ID text Yes Kimlik doğrulama servisi (AuthenticationWS) oturum açma metodundan (Login) alınan oturum/token/session bilgisi.
PHONE_NUMBER text Yes SMS kodunun gönderildiği müstahsilin telefon numarası.
CODE text Yes Müstahsilin ilettiği SMS doğrulama kodu. Örnek: 123456

Sample Response (XML)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v="http://schemas.i2i.com/ei/wsdl">
   <soapenv:Body>
      <v:VerifySmsCodeResponse>
         <STATUS>VERIFIED</STATUS>
         <PHONE_NUMBER>0537***5258</PHONE_NUMBER>
         <SMS_PROVIDER>EKO_SMS</SMS_PROVIDER>
         <SMS_PROVIDER_VKN>6220669058</SMS_PROVIDER_VKN>
         <CODE>123456</CODE>
      </v:VerifySmsCodeResponse>
   </soapenv:Body>
</soapenv:Envelope>