{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"SDK Reference","product":"Fraud Prevention","type":"markdown"},"seo":{"title":"TSSetActionResponse","description":"Everything about Mosaic Journeys, SDKs, and APIs","siteUrl":"https://developer.transmitsecurity.com/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"tssetactionresponse","__idx":0},"children":["TSSetActionResponse"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Response returned by ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-ref/react-native-ts-accountprotection/drs#triggeraction"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["triggerAction()"]}]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"properties","__idx":1},"children":["Properties"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"success","__idx":2},"children":["success"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["success"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Indicates if the action event was reported successfully"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"actiontoken","__idx":3},"children":["actionToken"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["actionToken"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The token returned by the SDK when the action was reported. Pass this token to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/risk/recommendations.openapi/other/getriskrecommendation"},"children":["Recommendation API"]}," to fetch risk recommendations."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"error","__idx":4},"children":["error"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["error"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Error message if the action event failed to report"]}]},"headings":[{"value":"TSSetActionResponse","id":"tssetactionresponse","depth":1},{"value":"Properties","id":"properties","depth":2},{"value":"success","id":"success","depth":3},{"value":"actionToken","id":"actiontoken","depth":3},{"value":"error","id":"error","depth":3}],"frontmatter":{"title":"TSSetActionResponse","seo":{"title":"TSSetActionResponse"}},"lastModified":"2026-04-09T12:29:05.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-ref/react-native-ts-accountprotection/interfaces/tssetactionresponse","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}