Notifications
1 min
POST
https://api.sandbox.tripleup.dev/reward_webhook_url
bodyobjectThe 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
200Your server returns this code if it accepts the call.
401Unauthorized
curl --request POST \
--url https://api.sandbox.tripleup.dev/reward_webhook_url \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"reward_status": "",
"transaction_timestamp": "",
"transaction_amount": ""
}'Note: This is not a valid triple API endpoint.
If a Publisher or Portfolio Manager subscribes to receive notifications we will send reward status messages to the registered endpoint. This describes what our outbound webhook call will provide to the triple partner.
The payload is contained as a string within the Message key sent by AWS SNS.
The transaction_amount and reward_amount fields are passed as strings but always contain decimal numerics.