Overview

In Control for Commercial Payments (ICCP) streamlines business transactions using configurable spending controls and enhanced data:

Version

Get VCNAuthsReport

Status:

Beta

Version:

V2

Product:

ICCP Solutions

GetVCNAuthsReport

Overview

Get the authorization report for a VCN using its report ID.

https://api-sandbox.network.global

Get VCNAuthsReport

Status:

Beta

Version:

V2

Product:

ICCP Solutions
/V2/cardservices/GetVCNAuthsReport
curl --location --request POST '#{PARAM_URL}' --header 'Authorization: Bearer {{ access_token }}' {custom_headers} --data-raw '#{JSON_PAYLOAD}'
curl --location --request GET 'https://api-sandbox.network.global/v1/tokenkc/generate' \--data-raw '#{JSON_PAYLOAD}'
curl --location --request POST 'https://api-sandbox.network.global/v1/tokenkc/generate' \--data-raw '#{JSON_PAYLOAD}'

Node Child Node Type Length Description
Authorization* requiredBearer xxxx* requiredstringAuthorization Header (Bearer Token)
Content-Type* requiredapplication/json* requiredstringContent Type

Node TypeTypeLengthDescription
headermsg_id* requiredstring12Unique Source Message ID
msg_type* requiredstring12Request Type Default TRANSACTION
msg_function* requiredstring50Function name to be used Default REQ_GET_VCN_AUTHS_REPORT
src_application* requiredstring10Source requesting channel Ex IVR
target_application* requiredstring10Target application name Ex MC
timestamp* requiredstring30Timestamp of the request Format DD/MM/YYYY HH:MM:SS
bank_id* requiredstring4Source Bank Id Ex bankID
bodyfrom* requiredstring3First Transaction to review in the report. Index starts with 0
report_id* requiredstring10ID of a report obtained from a Create API call
to* requiredstring4Last transaction to retrieve the report. Max number of transactions per call is 100

{
    "NISrvRequest": {
        "request_get_vcn_auths_report": {
            "header": {
                "msg_id": "236001",
                "msg_type": "ENQUIRY",
                "msg_function": "REQ_GET_VCN_AUTHS_REPORT",
                "src_application": "IVR",
                "target_application": "WAY4",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "bank_id": "NIC"
            },
            "body": {
                "from": "1",
                "report_id": 0,
                "to": "10"
            }
        }
    }
}

Node Child Node Type Length Description
Content-Typeapplication/jsonstringContent Type

Node TypeTypeLengthDescription
headermsg_id* requiredstring12The msg_id sent in the request will be sent back in response in this field
msg_type* requiredstring12msg_type sent in the request will be sent back in response in this field
msg_function* requiredstring50Function name to be used default REP_GET_VCN_AUTHS_REPORT
src_application* requiredstring10The src_application sent in the request will be sent back in response in this field
target_application* requiredstring10The target_application sent in the request will be sent back in response in this field
timestamp* requiredstring30Timestamp of the request Format DD/MM/YYYY HH:MM:SS
bank_id* requiredstring4The bank_id sent in the request will be sent back in response in this field Eg ABCD
instance_idstring10InstanceID
exception_detailsapplication_namestring20Application Name
date_timestring30Timestamp of the response
statusstring1Status of the request (S/F)
error_codestring4EAI Internal Error Code
error_descriptionstring100Error Description
bodyfrom* requiredstring3First Transaction to review in the report. Index starts with 0
has_more* requiredinteger
to* requiredstring4Last transaction to retrieve the report. Max number of transactions per call is 100
report_status* requiredstring
auth_infoacquirer_icastring
avs_response_codestring
billing_amountstring
billing_currency_codestring
billing_currency_code_descstring
company_namestring
company_numberstring
incontrol_issuer_idstring
incontrol_responsestring
issuer_responsestring
mccstring
mcc_descriptionstring
merchant_amountstring
merchant_citystring
merchant_countrystring
merchant_country_codestring
merchant_currency_codestring
merchant_currency_code_descstring
merchant_idstring
merchant_namestring
merchant_statestring
processor_icastring
purchase_request_idstring
realcard_aliasstring
realcard_numberstring
requestor_namestring
settledstring
terminal_idstring
txn_datestring
txn_timestring
txn_environmentstring
txn_exchange_ratestring
txn_sub_typestring
txn_typestring
vcn_expirystring
virtual_card_numberstring

{
    "NISrvResponse": {
        "response_get_vcn_auths_report": {
            "header": {
                "msg_id": "236001",
                "msg_type": "ENQUIRY",
                "msg_function": "REP_GET_VCN_AUTHS_REPORT",
                "src_application": "IVR",
                "target_application": "CMS",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "bank_id": "NIC",
                "instance_id": "InstanceID"
            },
            "exception_details": {
                "application_name": "TCC-ADP",
                "date_time": "2023-02-01T16:39:47.314+04:00",
                "status": "S",
                "error_code": "000",
                "error_description": "Success"
            },
            "body": {
                "from": "1",
                "has_more": 0,
                "to": "10",
                "report_status": "Completed",
                "auth_info": [
                    {
                        "acquirer_ica": "777777",
                        "avs_response_code": "00",
                        "billing_amount": "35.76",
                        "billing_currency_code": "USD",
                        "billing_currency_code_desc": "U.S. DOLLAR",
                        "company_name": "ABC Company",
                        "company_number": "100001",
                        "incontrol_issuer_id": "1",
                        "incontrol_response": "MCC limit fail",
                        "issuer_response": "Do not honor",
                        "mcc": "5511",
                        "mcc_description": "AUTOTRUCK DLRS-SALES, SVC, REPRS, PRTS, LEASING",
                        "merchant_amount": "35.76",
                        "merchant_city": "London",
                        "merchant_country": "United Kingdom",
                        "merchant_country_code": "826",
                        "merchant_currency_code": "EUR",
                        "merchant_currency_code_desc": "EURO CURRENCY UNIT",
                        "merchant_id": "111111111111111",
                        "merchant_name": "111",
                        "merchant_state": "London",
                        "processor_ica": "322222",
                        "purchase_request_id": "100",
                        "realcard_alias": "Alias1",
                        "realcard_number": "XXXX-XXXX-XXXX-4000",
                        "requestor_name": "abcCorp1",
                        "settled": "Unsettled",
                        "terminal_id": "77891137",
                        "txn_date": "2023\/07\/28",
                        "txn_time": "06-10",
                        "txn_environment": "ECOM",
                        "txn_exchange_rate": "2.4",
                        "txn_sub_type": "Regular",
                        "txn_type": "Authorization",
                        "vcn_expiry": "1705",
                        "virtual_card_number": "XXXX-XXXX-XXXX-1000"
                    }
                ]
            }
        }
    }
}

Code Description
200Sample Description
400Bad Request
401Unauthorized
403Forbidden
500Internal Server Error
502Bad gateway
503Scheduled Maintenance
504Gateway Timeout
596Service Not Found