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
post
/v1/agent/get_auth_key

Last updated