Sandbox 101: Cards API

preview_player
Показать описание
Use the Cards API to save a credit or debit card for a customer. Your application can then charge the card when the customer makes purchases in the future. The API can also be used by a developer-account-registered application to create and charge cards on behalf of a seller account.

The Cards API is used along with the Customers API to store payment cards for a customer in a Square account. To store a card on file, your application must use the Customers API to fetch an existing customer or create a new customer. When your application obtains a customer ID, it can call the CreateCard endpoint with a payment token or payment ID, and the customer ID. After the card is stored on file for the customer, that customer's stored card can be used for payments to the seller account.

Chapters:
0:00 Intro
0:11 Overview of Cards API
0:33 Save a Card Using a Previous Payment
1:53 How shared card on file work?
2:26 Creating a Shared Card on File
4:46 Recap

Рекомендации по теме
Комментарии
Автор

Hey, Square a Reactjs integration video will be amazing, with full walkthrough. Maybe your team can make a video series about building ecommerce websites in React and Node with Square.

pranjaldoorwar
Автор

Please make a video to explain how to work with subscriptions . I'm working with subscriptions and it is kinda confusing.

TavooQiqee
Автор

Nice. Now, how do I automate all this? I have to use a custom form in my site so clients can enter the CC information to store it.

piesho