Customers now have a source field that accepts a source or card, and updates related event typesBreaking changes
What’s new![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Replaces the cards
and default_
properties on the Customer
object with sources
and default_
. Both properties can represent Card
objects, as before, and Source
objects with an object
value of card
. Older API versions return both the new and old properties on Customer
. Replaces the customer.
and customer.
events with customer.
.
Impact![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Lets you work with a more flexible and comprehensive representation of payment methods for customers