Triple API and Webhooks
Rewards
Update the status of a Reward
1min
POST
https://api.tripleup.dev/partner/rewards.update_status
triple Prod
BODY PARAMETERS
body
object
status
string<REJECTED | PENDING_REVIEW | PENDING_MERCHANT_APPROVAL | DENIED_BY_MERCHANT | PENDING_MERCHANT_FUNDING | PENDING_TRANSFER_TO_PUBLISHER | DISTRIBUTED_TO_PUBLISHER | DISTRIBUTED_TO_CARDHOLDER>
*The Reward status.
- `REJECTED` - The Transaction did not meet the offer terms.
- `PENDING_REVIEW` - The Transaction is pending a manual review.
The reward may be deleted if it is determined to be an invalid
match to this merchant's offer.
- `PENDING_MERCHANT_APPROVAL` - The Transaction is waiting for the
Merchant or Content Provider to approve or deny the Reward.
- `DENIED_BY_MERCHANT` - The Merchant or Content Provider denied
the Reward. A reason will be included in `reward_details`.
- `PENDING_MERCHANT_FUNDING` - The Reward was approved and is
awaiting funding by the Merchant.
- `PENDING_TRANSFER_TO_PUBLISHER` - The Reward is funded and funds
are awaiting distribution to the Publisher.
- `DISTRIBUTED_TO_PUBLISHER` - Reward funds have been sent to the
Publisher.
- `DISTRIBUTED_TO_CARDHOLDER` - The Publisher has reported that the
Reward has been given to the cardholder.
offer_id
string
*Example: triple-abc-123
The triple-defined ID for the entity.
transaction_id
string
*Example: triple-abc-123
The triple-defined ID for the entity.
RESPONSES
200
OK - Reward Status Updated
object
ok
boolean
*the Reward Status was updated successfully
400
TripleBadRequestError
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
403
TripleNotAuthenticatedError
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
404
TripleInvalidPathError
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
409
TripleIntegrityError
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
415
TripleUnsupportedMediaType
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
422
TripleUnprocessableEntity
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
500
TripleInternalServerError
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
501
TripleNotImplementedError
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.
503
TripleServiceUnavailable
object
status_code
integer
*The 3-digit HTTP Response Status code
content
object
*The error response content.


Updated 24 Oct 2023
Did this page help you?