Breaking changes
Charges now have a source field that accepts a source or card Breaking changes
What’s new
Replaces the card property on the Charge object with source. As before, provide this parameter with a Card token or with a Source token that has an object value of card. Older API versions return both the card and source properties on Charge.
Impact
Replacing the card property on the Charge object with source broadens payment source types.
Changes
Upgrade
- View your current API version in Workbench.
- If you use an SDK, upgrade to the corresponding SDK version for this API version.
- If you don’t use an SDK, update your API requests to include Stripe-Version: 2015-02-18
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
