Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Multiexcerpt include
SpaceWithExcerptDOCBNP
MultiExcerptNameLogo BNP
PageWithExcerptPayment platform - ENEnglish documentation



Integration Guide

Version 6.9

As of 16.03.2020

Contents

Table of Contents

Document history

Date

Name

Change

16.03.2020

Peter Posse

Original version

 





Note

→ Updated version will be provided end of 2023



About

About BNP

Mobile SDK Authentication

General information about

BNP

Mobile SDK Authentication

This document describes the BNP 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 BNP interface, independently of the app. The authentication is based on a one-off token that is exchanged between BNP and the merchant.

Further information about integration of the SDK can be found within GitHub repository at at https://github.com/Computopaxepta.

 

Process flow chart

Image Removed

Process flow Mobile SDK Authentication

Image Added


Payment platform

Paygate

interface

Multiexcerpt include
SpaceWithExcerptDOCCT
MultiExcerptNameDefinition
PageWithExcerptDefinition ENDefinitions and abbreviations


Mobile SDK authentication process

High level process overview:

  1. Mobile SDK creates authentication request to merchant’s URL endpoint
  2. Merchant’s URL endpoint generates AuthToken and AuthLabel
  3. Merchant’s URL endpoint calls Computop BNP interface with below defined parameters
  4. Merchant’s URL endpoint receives Computop BNP response
  5. Merchant’s URL endpoint responds to Mobile SDK authentication request

 

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" : <Computop<BNP_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_computopaxepta_response>,

        "Status": <status_from_computopaxepta_response>,

        "Code": <code_from_computopaxepta_response>

    }

 

Calling the interface

In order to register a one-off token for encryption on Computop PaygateBNP Payment platform, the merchant must transmit the following parameters to Computop BNP via a server-to-server connection. Enter Use the following URL to do this:


Notice: For security reasons, Paygate Payment platform rejects all payment requests with formatting errors. Therefore please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

Parameter

Format

CND

Description

MerchantID

ans..30

M

MerchantID, assigned by Computop

ID of merchant. Additionally this parameter has to be passed in plain language too.

AuthToken

an16..56

M

Unique token generated by merchant which is used to decrypt the payment request

AuthLabel

an32..64

M

Identifier for the AuthToken used to decrypt the payment request

ExpiryDate

dttm

O

End time of token validity. The maximum period of validity amounts 24 hours. If the value is not specified the token expires after 15 minutes by default.

Parameters for authentication request


The following table gives describes the parameters with which the Paygate respondsPayment platform response parameters:

Parameter

Format

CND

Description

MID

ans..30

M

MerchantID, assigned by Computop

ID of merchant

Status

a..30

M

OK or FAILED

Description

ans..1024

M

More detailed description of the values for Status and Code. Please do not use the Description but the Code parameter for the transaction status analysis!

Code

n8

M

Error code according to Paygate Response Codes Excel file

(part of the software client from https://www.computop.com/us/downloads/)

ExpiryDate

dttm

M

End time of token validity. Either default value or return of the value of request.

Response parameters for authentication request