PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

CreateSessionRequest

The following routes are available for this service:
POST/CreateSession
CreateSessionRequest Parameters:
NameParameterData TypeRequiredDescription
CredentialsbodyRequestorCredentialsNo
SessionExpiryInMinbodydoubleNo
RequestorCredentials Parameters:
NameParameterData TypeRequiredDescription
MerchantIdformstringYes
UserNameformstringYes
PasswordformstringYes
VersionformstringYes
CreateSession Parameters:
NameParameterData TypeRequiredDescription
SessionIdformstringNo
ErrorCodeformstringNo
ErrorMessageformstringNo
PaysecureResponseInternal Parameters:
NameParameterData TypeRequiredDescription
TimestampsformRequestTimestampsNo
RequestTimestamps Parameters:
NameParameterData TypeRequiredDescription
AppLayerformInOutTimesNo
ParentLookupformInOutTimesNo
RetryLookupformInOutTimesNo
GetCardDataformInOutTimesNo
CardTokenizeformInOutTimesNo
CardEncryptformInOutTimesNo
DBInsertformInOutTimesNo
BackendProcessformInOutTimesNo
DBUpdateformInOutTimesNo
ParentUpdateformInOutTimesNo
NetworkformInOutTimesNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /CreateSession HTTP/1.1 
Host: api.paysecure.acculynk.net 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Credentials":{"MerchantId":"String","UserName":"String","Password":"String","Version":"String"},"SessionExpiryInMin":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"SessionId":"String","ErrorCode":"String","ErrorMessage":"String","Timestamps":{"AppLayer":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"ParentLookup":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"RetryLookup":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"GetCardData":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"CardTokenize":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"CardEncrypt":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"DBInsert":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"BackendProcess":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"DBUpdate":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"ParentUpdate":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"Network":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"}}}