Markdown

Credit (CCCREDIT)

Return funds for a captured or settled authorization.

Merchants may request to return funds for a captured authorization. Merchants may only credit transactions that have been captured or settled.

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

Request Parameters

Parameter Description
REQUEST_ACTION Required Must be set to CCCREDIT.
REQUEST_REF_PO_ID Required Reference Order ID (PO_ID) of the original transaction.
LI_VALUE_1 Required Amount to credit. The amount may not exceed the original authorization's total amount.

Handling the Response

When processing a refund, monitor the response to confirm the credit was applied to the original order successfully.

Field Name Description
TRANS_STATUS_NAME Check this to ensure the credit was APPROVED.
TRANS_VALUE The approved credit amount. Note that refunds will return as a negative value (e.g., -10.00).
TRANS_ID The unique Transaction ID assigned specifically to this refund event.
PO_ID The original Purchase Order ID, linking this credit back to the initial transaction.
curl -X POST "https://api.inoviopay.com/payment/pmt_service.cfm" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "request_action=CCCREDIT&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=18103630&li_value_1=10.00"