Enable gift and loyalty program support via DataCandy alongside credit and debit in semi-integrated setups β how to activate a gift card account, the full set of DataCandy transaction endpoints, and the complete acquirer return code list.
Contents
Make sure your payment terminal is properly configured before processing DataCandy gift card transactions.
DataCandy provides the terminal configuration information directly to the merchant. This information includes:
DataCandy Merchant Number
Identifies the merchant within the DataCandy platform.
DataCandy Access Key
Used to authenticate API requests to DataCandy.
DataCandy Merchant Password
Required for merchant-level authentication.
For complete application information, refer to the DataCandy User Guide.
To activate an account linked to a gift card, you must complete the Activation transaction using the payment terminal. To activate an account, the merchant must call the Payment API using the following function:
Activation Makes All Other Transactions Possible
This step is required before performing other types of DataCandy transactions: Increment, Purchase (Redemption), Balance, Partial Cancel, and Complete Cancel.
This transaction is used to increment (add funds to) a DataCandy gift card. The initial amount is credited to the gift card during the Activation transaction.
To process an Increment transaction, the merchant must call the Payment API using the following function:
This transaction is used to redeem a DataCandy gift card.
To process a Purchase transaction, the merchant must call the Payment API using the following function:
This transaction is used to get the balance remaining on a DataCandy gift card.
To process a Balance transaction, the merchant must call the Payment API using the following function:
This transaction is used to perform a partial cancel of a previous DataCandy transaction.
To process a partial cancel, the merchant must call the Payment API using the following function:
This transaction is used to fully cancel a previous DataCandy transaction.
To process a complete cancel transaction, the merchant must call the Payment API using the following function:
The following table lists the acquirer return codes returned by DataCandy.