Customers

  • Create customer card

  • Delete customer card

Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

<- Customers API

Customers API

All versions ->

Delete customer card

DEPRECATED

 /v2/customers/{customer_id}/cards/{card_id}

Removes a card on file from a customer.

Permissions:CUSTOMERS_WRITE

Guide

Manage cards on file

Deprecation date

2021-06-16

Replaced by

DisableCard

Migration guide
Link to section

Path parameters

Example code

Link to section

customer_id

string

Required

The ID of the customer that the card on file belongs to.

Link to section

card_id

string

Required

The ID of the card on file to delete.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

Examples

All versions ->

DELETE /v2/customers/{customer_id}/cards/{card_id}
curl https://connect.squareup.com/v2/customers/customer_id0/cards/card_id1 \ -X DELETE \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{}