Credential on File Best Practices

Credential on File Best Practices

Credential on File (CoF) refers to stored payment credentials used for future transactions. Proper CoF flags are required by Visa and Mastercard to reduce declines.

Transaction Types

TypeWho InitiatesExampleParameter
Customer-Initiated (CIT)CardholderOne-click checkoutinitiated_by=customer
Merchant-Initiated (MIT)MerchantSubscription renewalinitiated_by=merchant

First Storage

$post['customer_vault'] = 'add_customer';
$post['initiated_by']   = 'customer';
$post['stored_credential_indicator'] = 'stored';

Subsequent MIT Charges

$post['initiated_by']                = 'merchant';
$post['stored_credential_indicator'] = 'used';
$post['initial_transaction_id']      = $original_txn_id;
Save the transactionid from the initial CoF transaction — it's required as initial_transaction_id on all subsequent merchant-initiated charges.

Take Your Business to the Next Level

Find out how our innovative payment solutions can benefit your business. Reach out to us for more information or to get started!

Let's Get Started