Cashback
Create a tracked purchase link for a user
Changed onUse the live savings result’s id as store_id, and its program_id. The user ID belongs to your partner account; API key rotation keeps the same wallet. Retry with the same idempotency_key and identical purchase context. Follow the returned URL and complete checkout in the same browser context. Following the URL alone never credits money. Rates and eligibility are rechecked when activating.
post/v1/cashback/activate
Request
- Base URLhttps://api.openstock.sh
- URLhttps://api.openstock.sh/v1/cashback/activate
- AuthHTTP bearer
Request body
Example request
{
"user_id": "grok-user-42",
"country": "US"
}Response
Durably recorded click and real affiliate URL.
Changes
- info
endpoint added
- info