Initiate adding a card on file for the customer

There are 3 scenarios. First is where a cardId and alias are provided. In this case the card must be added as a CoF on the card holder and the Eclipse issued card will be added to Card on file and will return the cardOnFileId. The second scenario is where cardId is not provided and nor is any card data. A completion URL will be returned which can be opened in an iFrame for the customer to add card details. Once completed, the CardOnFile will be POSTED to the callbackUrl. The third scenario is where the tenant is PCI-DSS compliant and directly sends the card data. The CoF will be created and returned immediately with no completion URL necessary.

Click Try It! to start a request and see the response here!