This document describes the SDK authentication method and the corresponding parameters for the request and the responses passed back. If a merchant develops an app of its own, this method is necessary so that secure authentication takes place via the interface, independently of the app. The authentication is based on a one-off token that is exchanged between and the merchant.
Further information about integration of the SDK can be found within GitHub repository at https://github.com/Computop.
There you will find supported paymethods and details on integration.
There are currently two repositories existing:
Process flow Mobile SDK Authentication
High level process overview:
For the authentication request, the merchant’s endpoint should accept a POST request with Content-Type: application/json and a JSON body like this:
{
"merchantID" : <_MerchantID>
}
The Mobile SDK expects a JSON object as response from merchant’s endpoint, so merchant’s endpoint needs to create a JSON object with attributes from the response and also the generated AuthToken and AuthLabel like this:
{
"AuthToken“: <generated_token>,
"AuthLabel": <generated_label>,
“ExpiryDate”: <expiry_date_of_token>
"Description": <description_from__response>,
"Status": <status_from__response>,
"Code": <code_from__response>
}
In order to register a one-off token for encryption on the merchant must transmit the following parameters to via a server-to-server connection. Enter the following URL to do this:
authtoken.aspx |
|
Parameters for authentication request
|
Response parameters for authentication request