Cashback
Create a private hosted test checkout link
Changed onCreates a sandbox-only checkout for one user, store, order, and USD amount. The catalog quote is fixed at creation (8% fallback). Links expire in one hour. GET and preview never credit. A human presses Simulate purchase; an agent POSTs the returned completion body. Completion is idempotent and never places a real order. Keep the URL and completion token private. Fixed non-USD commissions are unsupported.
post/v1/cashback/sandbox/links
Request
- Base URLhttps://api.openstock.sh
- URLhttps://api.openstock.sh/v1/cashback/sandbox/links
- AuthHTTP bearer
Request body
Example request
{
"user_id": "grok-user-42",
"order_amount": 10000,
"country": "US"
}Response
Hosted sandbox URL and agent JSON completion instructions.
Changes
- info
endpoint added
- info