TestAutomationApi 381

Authentication

Authentication Process
Documentations

Documentations for API

End Points

http://dev.mfscode.com/zconnect/apiii/v2/linkacc-automation381

Http Method

POST

Header

Name Type Values Description
organizationId JSON TEXT TEXT

Request Parameters

Name Description Required Parameter Type Length Sample Value
Merchanttt type Merchanttt type Mandatory String 3 value

Sample Request

{
    "LinkAccountRequest": {
        "MobileNo": "***********",
        "CompanyName": "NOVA",
        "TransactionType": "01",
        "Cnic": "*************",
        "MerchantType": "0088",
        "Reserved1": "01",
        "DateTime": "20170706121213",
        "TraceNo": "000001",
        "OtpPin": "01"
    }
}

Response Parameters

Name Description Parameter Type Length Sample Value
TEXT TEXT TEXT 3 TEXT

Response Sample

{
    "LinkAccountResponse": {
        "CompanyName": "NOVA",
        "AccountTitle": "MUHAMMADARSALANKHAN",
        "ResponseCode": "00",
        "MerchantType": "0088",
        "ResponseDetails": [
            "Successful"
        ],
        "AccountType": "Level0",
        "DateTime": "20170706121213",
        "TraceNo": "000001"
    }
}
TEXT

Response Code Details

{
    "LinkAccountResponse": {
        "CompanyName": "NOVA",
        "AccountTitle": "MUHAMMADARSALANKHAN",
        "ResponseCode": "00",
        "MerchantType": "0088",
        "ResponseDetails": [
            "Successful"
        ],
        "AccountType": "Level0",
        "DateTime": "20170706121213",
        "TraceNo": "000001"
    }
}
{
    "messages": "Bad Request - Invalid Access Token",
    "errorcode": "4001"
}

{
    "messages": "Bad Request - Invalid Request Payload",
    "errorcode": "4002"
}

{
    "messages": "Bad Request - Invalid Authorization Header",
    "errorcode": "4003"
}

{
    "messages": "Something Went Wrong",
    "errorcode": "4004"
}

{
    "messages": "Record Not Found",
    "errorcode": "4005"
}

{
    "messages": "Invalid Client Id\/Secret",
    "errorcode": "4006"
}

{
    "messages": "Bad Request - Invalid Access Token",
    "errorcode": "4007"
}

Try out yourself

Security

X-IBM-Client-Id(apiKey located in header)
X-IBM-Client-Secret(apiKey located in header)
1c48aa28-2614-486f-aa2c-cbc86cc7ab51

Header Parameter

Name Values Description
Content-Type application/json Content Type application/json is supported
Accept application/json Content Type application/json is supported
organizationId xyz You will make a call to the auth-blb api and give it your client ID. You should add the client secret and organization ID it returns here.
clientId Enter your verified Client Id
clientSecret Enter Your Verified Client Secret

Request Body

Copy

Response Body

Copy