Cash App Pay payments
Add support for Cash App Pay to your integration.
Checkout
Elements
Direct API
Mobile
This guides you through enabling Cash App Pay on Checkout, our hosted checkout form, and shows the differences between accepting a card payment and a Cash App Pay payment.
Determine compatibility
A Checkout Session must satisfy all of the following conditions to support Cash App Pay payments:
- Prices for all line items must be expressed in USD.
Set up Stripe Server-side
First, you need a Stripe account. Register now.
Use our official libraries for access to the Stripe API from your application:
Command Line
Select a language
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
# Available as a gem
sudo gem install stripe
Gemfile
Select a language
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
# If you use bundler, you can add this line to your Gemfile
gem 'stripe'
Accept a payment
Note
This guide builds on the foundational accept a payment Checkout integration.
Enable Cash App Pay as a payment method
When creating a new Checkout Session, you need to:
- Enable Cash App Pay in your Dashboard. Stripe automatically displays Cash App Pay to eligible customers using dynamic payment methods . If you currently specify payment _ method _ types , see the migration guide .
- Make sure all your line _ items use the usd currency.
Command Line
Select a language
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
Fulfill your orders
After accepting a payment, learn how to fulfill orders.
Test your integration
To test your integration, choose Cash App Pay as the payment method and tap Pay. While testing, this redirects you to a test payment page where you can approve or decline the payment.
In live mode, tapping Pay redirects you to the Cash App mobile application—you don’t have the option to approve or decline the payment within Cash App. The payment is automatically approved after the redirect.
