Skip to content

Authentication Request

POST
/authentication
curl --request POST \
--url http://pay.caspeco.net/authentication \
--header 'Content-Type: application/json' \
--header 'Date: Tue, 15 Nov 2014 08:12:31 GMT' \
--header 'Digest: SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=' \
--header 'Host: pay.caspeco.net' \
--header 'Location: http://pay.caspeco.net/v1/authentication' \
--data '{ "CustomerId": "46731231231", "Password": "ABC123" }'

Authenticates a customer.

Location
string
Example
http://pay.caspeco.net/v1/authentication
Host
string

E.g. pay.caspeco.net

Example
pay.caspeco.net
Date
string

E.g. Tue, 15 Nov 2014 08:12:31 GMT

Example
Tue, 15 Nov 2014 08:12:31 GMT
Digest
string

E.g. SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=

Example
SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=
Media typeapplication/json
object
CustomerId
string
Password
string
Example
{
"CustomerId": "46731231231",
"Password": "ABC123"
}

Created

Media typeapplication/json
object
AuthenticationToken
string
IsAuthenticated
boolean
CustomerName
string
CustomerNumber
string
Msisdn
string
Examples
Exampleresponse
{
"AuthenticationToken": "aaa111das092WIXTFow1w23",
"IsAuthenticated": true,
"CustomerName": "Harry Kane",
"CustomerNumber": "5852165",
"Msisdn": "4670112233"
}
Location
string