URL to open a CashApp payment?

99封情书 提交于 2021-02-11 12:47:16

问题


I'm building an app where I want users to be able click a link to open up CashApp (as well as various other P2P payment apps), as far along in the transaction as possible. My client doesn't want the app to actually handle the payments, just for it to forward along to a place to make the payment.

So, for example, I can go to venmo.com/username to open the Venmo app to a certain user's profile, which is basically enough for me. (anyone know how to include an amount or message in the url?)

But cash.app/username goes to a webpage that directs me to the App Store get the app, and doesn't even open the app on my phone if it's already downloaded.

Anyone know how to do this?


回答1:


At this time, the ability to integrate with Cash app or accept or send Square Cash payments aren't currently available for Square’s API.




回答2:


To pass info to Venmo app you can use:

venmo://paycharge?txn=pay&recipients=someone&amount=9.99&note=For%20Things



回答3:


This is actually quite simple with a universal link:

https://cash.app/$username/amount

The following example will open a cash app payment of $12.50 for the user with username 'hellworld':

https://cash.app/$helloworld/12.50



回答4:


This is the url format for Venmo deeplinking: https://venmo.com/<USER_NAME_1>,<USER_NAME_2>...?txn=<charge|pay>&note=<NOTE>&amount=<AMOUNT>

You can read more about the url format for Venmo Deeplinking here.



来源:https://stackoverflow.com/questions/56828273/url-to-open-a-cashapp-payment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!