End Session
This service allows you to log out by invalidating the Mobile Session Key.
Header parameters
AuthorizationstringRequiredExample:
Dealer-specific generated secret_key. Example: "Basic sck_xxx".
Basic sck_ADSFGYTEESSASADPaynetMobilestringRequiredExample:
Indicates a mobile request. Example in the document; 2.
2Content-TypestringRequiredExample:
Content type.
application/jsonBody
session_keystringOptional
Session key
Responses
200Success
application/json
object_namestringOptional
Object name
codeintegerOptional
Code
messagestringOptional
Message
400Error
application/json
post/v1/agent/logout
POST /v1/agent/logout HTTP/1.1
Host: api.paynet.com.tr
Authorization: text
PaynetMobile: text
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"session_key": "text"
}{
"object_name": "text",
"code": 1,
"message": "text"
}Last updated
