Markdown

Order Status (CCSTATUS)

Look up the full transaction history of an order by the gateway's order ID or your own external reference.

Check the status of an order. You can query using the Gateway's Order ID or your external reference ID.

POSThttps://api.inoviopay.com/payment/pmt_service.cfm

Request Parameters

Parameter Description
REQUEST_ACTION Required Must be set to CCSTATUS.
REQUEST_REF_PO_ID Optional Lookup using the Gateway's PO_ID.
REQUEST_REF_PO_ID_XTL Optional Lookup using the Merchant's XTL_ORDER_ID.

Handling the Response

Unlike standard transaction responses, CCSTATUS returns a matrix format to accommodate the entire lifecycle of an order. The response contains two arrays: a COLUMNS array defining the fields, and a DATA array containing one or more rows of transaction events (e.g., the original authorization, subsequent captures, refunds, or chargebacks).

Array Name Description
COLUMNS An ordered list of string values representing the field names (e.g., REQUEST_ACTION, TRANS_STATUS_NAME, TRANS_VALUE).
DATA An array of arrays. Each inner array represents a distinct transaction event tied to the order. To parse the data, map the index of a value in the inner array to the corresponding index in the COLUMNS array.

For example, in the response below, COLUMNS[0] is REQUEST_ACTION and COLUMNS[1] is TRANS_STATUS_NAME, so DATA[0][0] ("CCAUTHCAP") and DATA[0][1] ("APPROVED") describe the same event: the first row's request action and its status. The response below has three rows: the original CCAUTHCAP, a subsequent CCCREDIT, and a CCCHARGEBACK, each identified the same way by walking COLUMNS alongside the row.

curl -X POST "https://api.inoviopay.com/payment/pmt_service.cfm" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "request_action=CCSTATUS&req_username=api_user&req_password=P%40ssw0rd%21&site_id=12345&request_api_version=4.14&request_response_format=JSON&request_ref_po_id_xtl=INV-999"