Generate CashApp QR Code
Generate QR codes and payment information for CashApp usernames.
Endpoint
Query Parameters
CashApp username (without the $ symbol)
Response format. Options: json, png
Example Request
curl -X GET "https://rocks.rive.wtf/api/cashapp?username=mrbeast" \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://rocks.rive.wtf/api/cashapp?username=mrbeast&format=png" \
-H "Authorization: Bearer YOUR_API_KEY" \
-o mrbeast-qr.png
const response = await fetch('https://rocks.rive.wtf/api/cashapp?username=mrbeast', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
import requests
headers = {'Authorization': 'Bearer YOUR_API_KEY'}
params = {'username': 'mrbeast'}
response = requests.get(
'https://rocks.rive.wtf/api/cashapp',
headers=headers,
params=params
)
print(response.json())
Response Example (JSON)
{
"url": "https://cash.app/$mrbeast"
}
When format=png is specified, the endpoint returns a PNG image of the QR code directly.
The returned URL is the CashApp payment link that can be used to send payments to the specified user.