Create Session

This service generates the session key required for services that use a mobile session token. Requests to this service can only be sent from the merchant server with a static IP address registered on the Paynet side and must include the dealer-specific secret key in the request header.

Authorize – get_auth_key

post

Generates a mobile session key (session_key). Only servers whose IP addresses are defined by Paynet can call this service.

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
agent_idstringRequiredExample: 11111
user_idstringRequiredExample: test
Responses
200

Successful

application/json
post
/v1/agent/get_auth_key

Last updated