Markdown

Multiple Line Items

Submit purchase orders with more than one line item using the indexed LI_ parameters.

The Payment Service supports purchase orders with more than one line item. Use the Line Item Parameters: LI_PROD_ID_X, LI_COUNT_X, and LI_VALUE_X. The "X" indicates a dynamic number depending on how many line items you want to send.

Parameter Description
LI_PROD_ID_X Required Product ID for the line item. Replace 'X' with an incrementing integer.
LI_COUNT_X Required Quantity for the line item. Max value is 99.
LI_VALUE_X Required Transaction Amount for the line item.

Capturing a single line item later (partial shipment, split fulfillment) uses captureLineItem(order, lineItemRef, amount) in all four SDKs, taking a LineItemRef from result.lineItemRefs (or result.line_item_refs in Python) rather than a raw PO_LI_ID string.

curl -X POST "https://api.inoviopay.com/payment/pmt_service.cfm" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "request_action=CCAUTHORIZE&req_username=api_user&req_password=P%40ssw0rd%21&site_id=12345&request_api_version=4.14&request_response_format=JSON&pmt_numb=4111111111111111&pmt_expiry=122026&pmt_key=123&request_currency=USD&li_prod_id_1=1001&li_value_1=19.95&li_prod_id_2=2001&li_value_2=10.50"