API Explorer
You are viewing an old version of the API

Create customer card

Adds a card on file to an existing customer.

Open in API Reference

Sign In

Parameters

string

Body

string
Address
string
string
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
curl https://connect.squareupsandbox.com/v2/customers/{customer_id}/cards \
  -X POST \
  -H 'Square-Version: 2020-08-26' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
Response
// No response received yet.

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?