API reference · Cash Payback
Get a wallet's rewards
GET https://payday.direct/api/v1 /payback/wallets/{owner} Copy
A wallet's share across every Cash Payback coin: what it was paid, an estimate of what it has building for the next round, and everything it earned per asset.
Needs an API key in Authorization: Bearer or X-API-Key. Authentication
ownerstring required
A Solana wallet address
200 OK
401 Missing or invalid key
429 Over the limit. Retry-After says when to try again.
cURL JavaScript Python Copy
curl "https://payday.direct/api/v1/payback/wallets/WALLET_ADDRESS" \
-H "Authorization: Bearer pd_YOUR_KEY" const res = await fetch("https://payday.direct/api/v1/payback/wallets/WALLET_ADDRESS", {
headers: { Authorization: "Bearer " + process.env.PAYDAY_KEY },
});
const json = await res.json();
if (!res.ok) throw new Error(json.error?.code);
console.log(json);import os, requests
r = requests.get(
"https://payday.direct/api/v1/payback/wallets/WALLET_ADDRESS",
headers={"Authorization": "Bearer " + os.environ["PAYDAY_KEY"]},
)
r.raise_for_status()
print(r.json())Response 200 Copy
{
"data" : {
"wallet" : "Ho1der111111111111111111111111111111111111" ,
"coins" : [
{
"mint" : "3unDHbPUsLqQtoHgvuCsRSArnuhVjhsn11vRht5Xpump" ,
"held_days" : 1.6 ,
"boost" : 1.4 ,
"paid" : [
{
"asset" : {
"mint" : "So11111111111111111111111111111111111111112"
},
"amount" : "0.0031" ,
"usd" : "0.72" ,
"rounds" : 3 ,
"last_at" : "2026-11-15T19:25:14.126Z"
}
],
"waiting_estimate" : [
{
"asset" : {
"mint" : "So11111111111111111111111111111111111111112"
},
"amount" : "0.0004" ,
"usd" : "0.09"
}
]
}
],
"earned_by_asset" : [
{
"asset" : {
"mint" : "So11111111111111111111111111111111111111112"
},
"amount" : "0.0031" ,
"usd_when_paid" : "0.72" ,
"rounds" : 3 ,
"coins" : 1
}
]
}
}