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

End Session

This service allows you to log out by invalidating the Mobile Session Key.

Logout

post
/v1/agent/logout
Header parameters
AuthorizationstringRequired

Dealer-specific generated secret_key. Example: "Basic sck_xxx".

Example: Basic sck_ADSFGYTEESSASAD
PaynetMobilestringRequired

Indicates a mobile request. Example in the document; 2.

Example: 2
Content-TypestringRequired

Content type.

Example: application/json
Body
session_keystringOptional

Session key

Responses
200Success
application/json
object_namestringOptional

Object name

codeintegerOptional

Code

messagestringOptional

Message

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