In order to load a loyalty card, you need to:
Create a Smart Transaction with:
the card in the idents array;
a special article in the basket.
Carry out the payment.
The special article is passed like an ordinary article. It just needs to have the special EAN/GTIN 4260447149502, that we have reserved for this purpose.
The special EAN is eligible for bonus collection. If the card group is also configured for a bonus program, they effectively given a discount on the card charge. Sometimes that's what you want.
You can exclude the card charge from bonification, when you consider the above EAN in the blacklist or whitelist configuration.