Authorization Expiry Simulation

A cardholder makes a $35 purchase, but the merchant never settles the transaction. In Production, the authorization would expire after the configured number of days. In CV, you must use the Expire Authorization endpoint to achieve the same result.

Authorization

Call Create Simulated Card Authorization with these parameters:

ParameterValue
accountNoPAN or PRN
amount35
associationvisa or mc_auth
merchantNameCentral Clothier
mcc5651
transType1 or leave blank
{
    "status_code": 0,
    "status": "Success",
    "processing_time": 1.882,
    "response_data": {
        "auth_response_code": "00",
        "auth_response_description": "Success",
        "auth_id": 9595
    },
    "echo": {
        "provider_transaction_id": "",
        "provider_timestamp": null,
        "transaction_id": "68fffcfe-33a6-44e8-b40b-f36ac2ff22e2"
    },
    "system_timestamp": "2022-10-11 15:28:28",
    "rtoken": "58fce0db-d300-46e7-a974-330401ef6ede"
}

Capture the auth_id for later use.

Expiry

Call Expire Authorization with these parameters:

ParameterValue
accountNoPAN or PRN
authIdauth_id from the previous authorization
{
    "status_code": 0,
    "status": "Success",
    "processing_time": 0.56,
    "response_data": {},
    "echo": {
        "provider_transaction_id": "",
        "provider_timestamp": null,
        "transaction_id": "3a61ae1a-a01b-485c-90f1-c74fab4d7ba3"
    },
    "system_timestamp": "2022-10-11 15:29:59",
    "rtoken": "67128c07-624f-4bc0-8b02-90831dcd5414"
}

Transactions created

Call Get All Transaction History to see the two ledger entries:

"transactions": [
            {
                "is_savings": false,
                "deny_code": null,
                "disputable": false,
                "details": "",
                "act_type": "VX",
                "act_type_description": "Visa Expired Auth",
                "post_ts": "2022-10-11 15:29:59",
                "amt": 35,
                "source_id": "9595",
                "type": "A",
                "type_description": "",
                "trans_code": "VXA",
                "arn": "",
                "merchant_id": null,
                "external_trans_id": "",
                "calculated_balance": 1000,
                "ach_trans_id": null,
                "auth_ts": null,
                "prior_id": null,
                "card_id": null,
                "formatted_merchant_desc": "",
                "network_code": null,
                "auth_id": null,
                "local_amt": null,
                "local_curr_code": null,
                "settle_amt": null,
                "settle_curr_code": null,
                "billing_amt": null,
                "billing_curr_code": null,
                "pmt_ref_no": "999102163165",
                "mcc_code": null,
                "credit_ind": null
            },
            {
                "is_savings": false,
                "deny_code": null,
                "disputable": false,
                "details": "Central Clothier, LT LAKE CITY, UTUS",
                "act_type": "VI",
                "act_type_description": "Visa Authorization",
                "post_ts": "2022-10-11 15:28:28",
                "amt": -35,
                "source_id": "9595",
                "type": "A",
                "type_description": "",
                "trans_code": "VIA",
                "arn": "",
                "merchant_id": "XWVaBZHQBw6bdje",
                "external_trans_id": "",
                "calculated_balance": 965,
                "ach_trans_id": null,
                "auth_ts": "2022-10-11 15:28:28",
                "prior_id": "0",
                "card_id": "5530",
                "formatted_merchant_desc": "CENTRAL CLOTHIER, LT LAKE CITY, UTUS",
                "network_code": "V",
                "auth_id": "9595",
                "local_amt": 35,
                "local_curr_code": "840",
                "settle_amt": 0,
                "settle_curr_code": null,
                "billing_amt": null,
                "billing_curr_code": null,
                "pmt_ref_no": "999102163165",
                "mcc_code": "5651",
                "credit_ind": "Y"
            }
]