Triple API and Webhooks
Webhooks
Notifications
1min
POST
https://api.tripleup.dev/reward_webhook_url
triple Prod
BODY PARAMETERS
body
object
Example: {"publisher_external_id":"pub-1231231","card_program_external_id":"card-program-1234-5678","card_account_external_id":"card-account-1234-5678","transaction_external_id":"tx-12314","offer_id":"34","reward_id":"reward-1231231","merchant_name":"Acme Tools","reward_status":"PENDING_MERCHANT_APPROVAL","reward_amount":"0.12","reward_currency_code":"USD","transaction_timestamp":"2022-07-30T00:43:00Z","transaction_amount":"12.34","transaction_currency_code":"USD"}
The Transaction webhook payload is contained within a Notification type SNS message. The documentation on this particular format is available in AWS docs at https://docs.aws.amazon.com/sns/latest/dg/sns-message-and-json-formats.html#http-notification-json
publisher_external_id
string
The external identifier for the publisher
card_program_external_id
string
The external identifier for the card program
card_account_external_id
string
The external identifier for the card account
transaction_external_id
string
The matching transaction which caused the reward to be triggered
offer_id
string
The identifier for the offer
reward_id
string
The identifier for the reward
merchant_name
string
The full name of the merchant offering the reward
reward_status
string
*The status of the reward which currently is one of PENDING_MERCHANT_APPROVAL and DENIED_BY_MERCHANT with more statuses in the pipeline.
reward_amount
string
The amount of the reward earned
reward_currency_code
string
The currency code of the reward
transaction_timestamp
string
*The timestamp of the initial transaction
transaction_amount
string
*The amount of initial transaction
transaction_currency_code
string
The currency code of the initial transaction
RESPONSES
200
Your server returns this code if it accepts the call.
401
Unauthorized
Updated 24 Oct 2023
Did this page help you?