POST
/
v1
/
deals
/
cashback-offers
/
{id}
/
activate
Activate cashback offer
curl --request POST \
  --url https://api.onsleek.ai/v1/deals/cashback-offers/{id}/activate
{
  "url": "https://retailer.com/activate?offerId=12345&SID=ABC123"
}

Path Parameters

id
string
required

The ID of the cashback offer to activate.

Example:

"e8400e53-078f-4641-97e2-5c397401c0f0"

Query Parameters

passbackUid
string
required

A unique identifier for this activation. This will be passed back to you when a transaction occurs. Format: any string

Example:

"your_uid_here"

passbackData
string

Any data you want to pass back to you when a transaction occurs. Format: any string.

Example:

"your_data_here"

orgId
string
required

Your organization's UID for activating retailer's cashback offers

Example:

"your_org_uid_here"

Response

200 - application/json

Returns a signed URL that the user should be redirected to in order to activate the retailer's cashback offer. This URL may include tracking parameters and must be visited for the offer to be properly attributed.

The response is of type object.