Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Versioning
Changelog
    Overview
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Developer tools
SDKs
API
Testing
Workbench
Event Destinations
Workflows
Stripe CLI
Stripe Shell
Developers Dashboard
Agent toolkit
Stripe health alertsBuild with LLMsStripe for Visual Studio CodeFile uploads
Security
Security
Extend Stripe
Stripe Apps
Stripe Connectors
Partners
Partner ecosystem
Partner certification
HomeDeveloper toolsChangelogAcacia2025-01-27.acacia

Adds PayPal country property to the PaymentMethods and Charge objects

What’s new

Adds the country property for PayPal to the Payment Methods and Charge resources:

  • For Payment Methods, in the paypal hash.
  • For Charges, in the payment_method_details.paypal hash.

Impact

The country property represents the buyer’s country, which PayPal provides (if supported) at the time of authorization or settlement. You can’t set or mutate it. With this change, you can now retrieve the country value from either:

  • A customer’s PayPal PaymentMethod
  • A transaction paid using PayPal

Changes

ParameterChangeResources or endpoints
countryAdded
Charge.payment_method_details.paypalConfirmationToken.payment_method_preview.paypalPaymentMethod.paypal

Upgrade

  1. View your current API version in Workbench.
  2. 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: 2025-01-27.acacia
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Related changes

  • Adds support for the Pay by Bank local payment method
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc