Retrieve data transfer information for the authenticated user's billing account.
GET /billing/transfer
This endpoint allows you to fetch data transfer records. Use this to manage your billing data programmatically through the Sweeppea API.
This endpoint requires Bearer token authentication via the Authorization header.
curl -X GET "https://api-v3.sweeppea.com/billing/transfer" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"const response = await fetch('https://api-v3.sweeppea.com/billing/transfer', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data);import requests
url = "https://api-v3.sweeppea.com/billing/transfer"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
print(response.json())200 OK
{
"success": true,
"data": {},
"message": "Operation completed successfully"
}