---
page_title: Cards Integration Workflow
product: EC Headless
platform: Android
page_source: https://juspay.io/in/docs/ec-headless/android/payloads/cards-integration-workflow
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/ec-headless/llms.txt
---


# Cards Integration Architecture



![Image](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/ec-headless/Card%20Transaction%20-%20Flow%20Diagram%20(1).jpg)



Juspay provides a sample code for implementation of Luhn Algorithm:  [https://github.com/juspay/card-validator](https://github.com/juspay/card-validator)

More about Luhn Algorithm : [https://en.wikipedia.org/wiki/Luhn_algorithm](https://en.wikipedia.org/wiki/Luhn_algorithm)

---

## See Also

- [Display Payment Options ](https://juspay.io/in/docs/ec-headless/android/payloads/display-payment-options)
- [Cards - New Cards](https://juspay.io/in/docs/ec-headless/android/payloads/cards--new-cards)
