Skip to content

cashfree/payments-icons-java

Repository files navigation

payment-icon-sdk

GitHub GitHub last commit (branch) GitHub forks GitHub Repo stars

Payment Icon SDK allows you to fetch payment icon into your application.

Video

Search By Bank Names Search By Modes

Usage

/*
Supported Size:
sm : "32*32",
md : "64*64",
lg : "128*128",
svg: "svg"
*/

/*
To Fetch icon by modes.
[CARD_BANK, CARD_SCHEME, PAYLATER, UPI, WALLET, CARDLESS]
*/
PaymentIcons.getModesLogo(IconModes.CARD_BANK, "sm")
/*
To Fetch single icon by bank nic name
*/
PaymentIcons.getLogo("sbi", "sm")

/*
To Fetch multiple icons by banks nick names
*/
ArrayList<String> nicks = new ArrayList<String>(Arrays.asList("sbi", "pnb", "axis"));
PaymentIcons.getLogos(Arrays.asList(nicks), "sm")

License

Cashfree Payment Icon SDK is licensed under the MIT License.
See the LICENSE file distributed with this work for additional
information regarding copyright ownership.

Except as contained in the LICENSE file, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization.