Credit Reward Item

Changed on

Credit reward item points to a user profile

post/profiles/{profile_id}/reward-item-credits/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/profiles/{profile_id}/reward-item-credits/
  • Auth
    none required

Path parameters

profile_idstring required

Request body

reward_item_idstring required
reward_item_amountinteger required
descriptionstring

optional description for crediting the reward. eg. attended an away game vs Atlanta Braves on April 30th

custom_datastring

String data to send with the reward item credit. Typically contains a string JSON payload to be decoded by the client SDK

reasonstring

Optional reason for crediting the reward. eg. attend a game

leaderboard_idsstring[]

List of leaderboard UUIDs to update; if provided, only those leaderboards are updated; if empty ([]), no linked leaderboards are updated; if omitted, all linked leaderboards are updated.

expires_atstring date

Date after which the credited amount stops counting toward the profile's balance. Must be today or later, and can't exceed the reward item's earning_ends_at.

idempotency_keystring

Client-supplied dedup token — replaying the same key returns/short-circuits the existing transaction instead of creating a duplicate.

Response

200

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property