Skip to main content
PATCH
Update cashback information. For internal usage only

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
integer<int64>
required

Body

application/json
title
string
description
string
distributor
string

Where rewards stored

Example:

"EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ"

reward_token
string
Example:

"EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ"

conditions
object[]
distribute
number

How many tokens will be distributed to users

distributed
number

How many tokens already distributed to users

start_time_seconds
integer<int64>

Begin cashback promo in unix seconds

end_time_seconds
integer<int64>

End cashback promo in unix seconds

reward_denominator
number
is_hidden
boolean
limits
object[]
image_url
string
references
object[]

Response

Created cashback

id
integer<int64>
required
title
string
required
description
string
required
distributor
string
required

Where rewards stored

Example:

"EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ"

reward_token
string
required
Example:

"EQCZ_pV6EJNSr6XpvPaa-IVkT6ImqkiPftRMOICJP1B_75wZ"

conditions
object[]
required
distribute
number
required

How many tokens will be distributed to users

distributed
number
required

How many tokens already distributed to users

start_time_seconds
integer<int64>
required

Begin cashback promo in unix seconds

end_time_seconds
integer<int64>
required

End cashback promo in unix seconds

reward_denominator
number
required
is_active
boolean
required

Can this cashback program accrue tokens to participants

limits
object[]
required
image_url
string
required
references
object[]
required
is_hidden
boolean
required