Use the Cards API to save a credit or debit card on file.
You can use the CreateCard endpoint to save a credit or debit card to a Square account. Developers can integrate the Cards API in their application to let Square sellers:
CreateCard
request.CreateCard
request.The Cards API also supports other endpoints to manage the cards.