Triple API and Webhooks
Rewards

Update the status of a Reward

1min
PATCH
https://api.tripleup.dev/partner/rewards/{id}
triple Prod

Transitions a Reward from its current status to a new status.

Content Providers may only update rewards with a status of PENDING_MERCHANT_APPROVAL to DENIED_BY_MERCHANT or PENDING_MERCHANT_FUNDING.

When updating a reward to DENIED_BY_MERCHANT, the notes field must be populated with an explanation for the denial.

Publishers (and Portfolio Managers) may only update rewards with a status of DISTRIBUTED_TO_PUBLISHER to DISTRIBUTED_TO_CARDHOLDER.

Only Triple may set the rejection and notification fields.

Path Parameters
id
*
Body Parameters
body
status
*
rejection
notes
notification
Responses
200
The reward resulting from a matched offer and transaction.
amount
currency_code
notes
offer_id
*
rejection
reward_id
*
status
*
status_updated_at
*
400
TripleBadRequestError
status_code
*
content
*
403
TripleNotAuthenticatedError
status_code
*
content
*
404
TripleInvalidPathError
status_code
*
content
*
409
TripleIntegrityError
status_code
*
content
*
415
TripleUnsupportedMediaType
status_code
*
content
*
422
TripleUnprocessableEntity
status_code
*
content
*
500
TripleInternalServerError
status_code
*
content
*
501
TripleNotImplementedError
status_code
*
content
*
503
TripleServiceUnavailable
status_code
*
content
*