Session Oluşturma

Bu servis mobil oturum anahtarı kullanan servisler için gerekli Session Key’i üretir. Bu servise sadece sabit IP’si Paynet tarafında kayıtlı Müşteri Sunucusu tarafından header’da bayi için özel oluşturulmuş olan secret_key ile istek gönderilebilir.

Authorize – get_auth_key

post
/v1/agent/get_auth_key

Mobil oturum anahtarı (session_key) üretir. Sadece Paynet tarafından IP tanımı yapılmış sunucular bu servisi çağırabilir.

Header parameters
AuthorizationstringRequired

Bayiye özel oluşturulmuş secret_key.

Example: Basic sck_ADSFGYTEESSASAD
PaynetMobilestringRequired

Mobil istek belirtir.

Example: 2
Content-TypestringRequired

İçerik tipi.

Example: application/json
Body
agent_idstringRequired

Bayi Id.

Example: 1234
user_idstringRequired

Kullanıcı Id.

Example: username
Responses
chevron-right
200

Başarılı

application/json
session_keystringOptional

Mobil oturum anahtarı.

expired_datestringOptional

Geçerlilik tarihi.

agent_idstringOptional

Bayi Id.

company_codestringOptional

Ana firma Id.

user_idstringOptional

Kullanıcı Id.

user_unique_idstringOptional

Kullanıcı unique Id.

is_okc_inquirybooleanOptional

ÖKC muafiyet sonucu.

object_namestringOptional

Obje türü.

codeintegerOptional

Sonuç kodu.

messagestringOptional

Sonuç mesajı.

post
/v1/agent/get_auth_key

Last updated