Create Card Token Using Web Client

The merchant can use this service to store the customer cards information in a secured PCI environment, then use the returned token in the charge request, you can save multiple cards for the same user using the following request

Production Environment:

URL: https://www.atfawry.com/ECommercePlugin/addCard/creatCardToken.jsp

SandBox Environment:

URL: https://atfawry.fawrystaging.com/ECommercePlugin/addCard/creatCardToken.jsp

https://atfawry.fawrystaging.com/ECommercePlugin/addCard/creatCardToken.jsp?merchantCode=is0N+YQzlE4=&lang=en&customerProfileId=123&successPageUrl=http://www.successPageUrl.com&failerPageUrl=https://www.failerPageUrl.com

Element description:
merchantCode The merchant code provided during account setup
customerProfileId The customer profile id to store token with it , this id will be used for retrieve customer tokens and payment
successPageUrl After success creation for the token the customer will redirected to this url
failerPageUrl If the token creation failed the customer will redirected to this url