Markdown

Card on File (Recurring)

Charge a previously saved payment method by Customer ID without resubmitting the card number.

To charge a customer using a previously saved payment method, you do not need to submit the full credit card number again. Instead, you can make a call without the card number by using only the Customer ID (CUST_ID). This will use the most recent payment account or credit card that was used.

The merchant may also specify which payment method to use by sending Customer ID (CUST_ID) paired with either the Payment ID (PMT_ID) or the last 4 digits of the card (PMT_L4).

Parameter Description
CUST_ID Required The Customer ID generated from the original authorization.
PMT_ID / PMT_L4 Required Provide either the unique Payment ID (PMT_ID) or the last 4 digits of the card (PMT_L4) to specify which saved account to charge.
REQUEST_REBILL Optional Set to 1 to explicitly flag the transaction as a rebill/renewal. Set to 2 for the first transaction in a subscription.

All four SDKs model a saved payment method as SavedCard (constructed with pmtId and/or pmtIdXtl, plus custId) and the REQUEST_REBILL / REQUEST_INITATOR compliance flags as a Recurring block on the request. PMT_L4 card selection (the cURL example below) is not modeled as an SDK constructor; use pmtId from a prior result's PMT_ID instead.

curl -X POST "https://api.inoviopay.com/payment/pmt_service.cfm" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "request_action=CCAUTHCAP&req_username=api_user&req_password=P%40ssw0rd%21&site_id=12345&request_api_version=4.14&request_response_format=JSON&cust_id=987654&pmt_l4=1111&li_value_1=25.00&request_rebill=1"