Card On File

Card on file transactions include:

  1. Tokenizing credit card for use later. (See example here)
  2. Recurring and instalment payment. (See example here)
  3. Merchant initiated transactions. (See example here)

There are several fields related to these transactions.

ECM

The ECM (eCommerce Indicator) describes the card transaction type. The field is two digits (mn) with the possible values being:

First Digit (m)Second Digit (n)
Telephone Order - 1Single - 1
Recurring - 2
Instalment - 3
Mail Order - 2Single - 1
Recurring - 2
Instalment - 3
Internet Order - 3Single - 1
Recurring - 2
Instalment - 3

Below is an example on how to set the ECM value.

{
  "extra": {
    "ecm": 32
  }
}

Stored Credential Indicator

The stored credential indicator is used to indicate if this is the initial recurring / instalment transaction, or the subsequent transaction.

DescriptionValue
Initial TransactionI
Subsequent TransactionS

Below is an example on how to use stored credential indicator

{
  "extra": {
    "stored_credential_indicator": "I"
  }
}

Omit Expiry

The omit expiry field set to true can also be sent through for recurring transactions against expired cards. This will allow the transaction to be sent to the banking network without the expiry date field. Typically, this field increases approval rates for recurring transactions against expired cards.

{
  "extra": {
    "omit_expiry": true,
    "ecm": 32
  }
}

Merchant Initiated Transactions

A merchant initiated transaction is a payment that is agreed with a payer's consent, and is initiated by the merchant collecting the payment.

In order to apply for a merchant initiated transaction, the merchant need to specify why this transaction is initiated using the auth_reason field. Below are available reasons.

Authorization ReasonValue
Resubmission Paymentresubmission
Delayed Charges Paymentdelayed_charges
Re-authorization Paymentreauthorization
No Showno_show
Account Topupaccount_topup
Unscheduled Paymentunscheduled
Incrementalincremental
Instalmentinstalment
Recurring Transaction - Subscriptions*subscription
Partial Shipmentpartial shipment

[*] Subscriptions are a recurring payment of fixed value

{
  "extra": {
    "auth_reason": "no_show"
  }
}

Card On File

The card on file flag set to true indicates we are using a credit card that is stored in a vault, eg. card that is tokenized via Fat Zebra gateway. All recurring, instalment payment and merchant initiated transactions are card on file transactions.

Note that you don't need to apply this value for recurring, installment payment and merchant initiated transaction, as the system will apply it automatically.

{
  "extra": {
    "card_on_file": true
  }
}