Square API
You are viewing an old version of the API
Cards
Square API
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:
- Save a card that can be charged by any Square seller who uses your application. Your application specifies the organization access token in the
CreateCard
request. - Save a card that can be charged by a single Square seller. Your application specifies the access token of the specific seller account in the
CreateCard
request.
The Cards API also supports other endpoints to manage the cards.
-
card.automatically_updated
Published when a Card's expiration information or pan is automatically updated.
-
card.created
Published when a Card is created or imported.
-
card.disabled
Published when a Card is disabled.
-
card.forgotten
Published when a Card is GDPR forgottenvaulted.
-
card.updated
Published when a Card is updated by the developer using the UpdateCard endpoint.