POST Destroy Terminal Session

http://api-cloudpay-dev.fintiv.co:8080/payment/v1/disconnectFromTerminal

Creates session with the terminal it is recommended to be called after processed a payment

Headers

sessionKey {sessionKey}

Terminal token

api-key {api-key}

Key Provided to use this platform

Content-Type application/json

Body

raw (application/json)

    {
      "merchantId": "100000000101",
      "hsn": "123456789012345",
      "serviceType": 0
    }
    
field Note Example Required
merchantId Identifier of the company 100000000101 true
hsn Identifier of the card terminal 123456789012345 true
serviceType Unique identifier of the service to use 0 true
Example Request Create Terminal Session

    var settings = {
    "url": "http://api-cloudpay-dev.fintiv.co:8080/payment/v1/disconnectFromTerminal",
    "method": "POST",
    "timeout": 0,
    "headers": {
        "api-key": "{api-key}",
        "Content-Type": "application/json"
    },
    "data": "{
        "merchantId": "100000000101",
        "hsn": "123456789012345",
        "serviceType": 0
    }",
};