Hello hive community members,
We are working tirelessly to improve the experience for cashback. We have developed 2 new API-Endpoints.
Get Cash back details
- Usually, front-end would call
/claim/v2
for user who is logged in. - Now, we'll do all calculations & processing here. It's defined as below
- Fetch account history (user who is logged in)
- Filter outgoing transactions
- Filter transactions having memo
- Filter transactions with memo with matching defined patterns of Invoice-IDs
- Get all businesses
- Filter transactions with whitelisted businesses
- Filter transactions by time - last 2 hours only
- If we find legit payment transaction(s), we fetch more account history
- Check past payments & cash backs
- Based on past cash backs, we decide user is at which level.
- Based on level, cashback % is calculated
- For a given country, a random max cashback payment transaction value is determined
- And after all of these, user gets response (we didn't put in details here for v4v - it's even more)
- You can imagine the wait due to all of these.
/v2/reward
API
/v2/reward
api does all of above on top of additional checks as listed below.- Get specific business
- Is that business whitelisted yet?
- Get specific user
- Is that user banned?
- Does business review post exists?
- Does post have valid beneficiary settings?
- Does post have valid json meta data?
- Does post have any edits?
- Does post have valid content etc etc.
- After all checks passed (approx 15-16), cashback is given
- Cashback given = transfer funds
- After that backend triggers discord webhook
- After that backend drops a comment on business review post
- After that user gets a response Yay ๐, you got your cashback
- Till that time, I guess gets a power nap.
/v3/reward
- We have built v3 API, which will do all of these in async manner
- User will get response, thank you for submitting, you'll get your reward soon.
- You'll be informed by a comment on your review
This is how front-end would look after submitting review.
More on this, I'll share later. For now, I'll keep quite & keep building
I will share as soon as it's ready, I'll inform it to alpha users & after that beta users.
๐ My Contributions to โฆ๏ธ Hive Ecosystem
Contribution | To | Hive | Ecosystem |
---|---|---|---|
Hive Witness Node | Hive API Node | 3Speak Video Encoder Node Operator (highest number of nodes) | 3Speak Mobile App Developer |
Podcast App Developer | 3Shorts App Developer | 3Speak Support & Maintenance Team | Distriator Developer |
CheckinWithXYZ | Hive Inbox | HiFind | Hive Donate App |
Contributed to HiveAuth Mobile App | Ecency โ 3Speak Integration | Ecency โ InLeo Integration | Ecency โ Actifit Integration |
Hive Stats App | Vote for Witness App | HiveFlutterKit | New 3Speak App |
๐ Support Back
โค๏ธ Appreciate my work? Consider supporting @threespeak & @sagarkothari88! โค๏ธ
Vote | For | Witness |
---|---|---|
sagarkothari88 | @sagarkothari88 | |
threespeak | @threespeak |