Z To Z Inquiry

Authentication

Authentication Process
Documentations

Documentations for API

End Points

http://dev.mfscode.com/zconnect/api/v1/ztozInquiry

Http Method

POST

Header

Name Type Values Description
clientSecret TEXT Access-Token Auth2.0 verification
Accept JSON application/json application/json
Content-Type JSON application/json application/json
clientId TEXT ************* *************
organizationId TEXT 223 Authenticate organization

Request Parameters

Name Description Required Parameter Type Length Sample Value

Sample Request

{
    "zTozInquiryReq": {
        "mobileNumber": "03098080900",
        "dateTime": "20240730050500",
        "rrn": "20240730050600",
        "channelId": "APIGEE",
        "terminalId": "APIGEE",
        "receiverMobileNumber": "03465967269",
        "amount": "100",
        "productId": "2510876",
        "reserved1": "01",
        "reserved2": "",
        "reserved3": "",
        "reserved4": "",
        "reserved5": ""
    }
}

Response Parameters

Name Description Parameter Type Length Sample Value

Response Sample

{
    "zTozInquiryRes": {
        "rrn": "20240730050600",
        "responseCode": "00",
        "responseDescription": "Successful",
        "customerMobile": "03098080900",
        "transactionDateTime": null,
        "transactionProcessingAmount": "0.00",
        "commissionAmount": "0.0",
        "totalAmount": "100.0",
        "transactionId": null,
        "transactionAmount": "100.0",
        "receiverMobileNumber": "03465967269",
        "receiverAccountTitle": "AASHIR ABBAS MALIK",
        "hashData": "8ea891a5a735f09fdbb7a8bab047b52769fa1ce0d3a034b094579ac03658628b"
    }
}

Response Code Details

{
    "zTozInquiryRes": {
        "rrn": "20240730050600",
        "responseCode": "00",
        "responseDescription": "Successful",
        "customerMobile": "03098080900",
        "transactionDateTime": null,
        "transactionProcessingAmount": "0.00",
        "commissionAmount": "0.0",
        "totalAmount": "100.0",
        "transactionId": null,
        "transactionAmount": "100.0",
        "receiverMobileNumber": "03465967269",
        "receiverAccountTitle": "AASHIR ABBAS MALIK",
        "hashData": "8ea891a5a735f09fdbb7a8bab047b52769fa1ce0d3a034b094579ac03658628b"
    }
}
{
    "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