Skip to main content
POST
/
api
/
public
/
v1
/
test
/
execute-scenario
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/test/execute-scenario \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scenarioId": "test-basic-001",
  "accountId": "acc_test",
  "storeId": "store_test"
}
'
{
  "success": true,
  "scenarioId": "test-basic-001",
  "eventId": "evt_abc123",
  "message": "Scenario dispatched successfully",
  "executionTimeMs": 250,
  "handlersDispatched": {
    "immediate": [
      "immediateCriticalHandler",
      "immediateAnalyticsHandler",
      "immediateParallelHandler"
    ],
    "deferredQStash": [
      "deferredQStashNotificationHandler",
      "deferredQStashRetryHandler"
    ],
    "deferredInngest": [
      "deferredInngestWorkflowHandler"
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
scenarioId
string
required

Unique identifier for this test scenario

accountId
string
required

Account ID for testing

storeId
string
required

Store ID for testing

testData
object

Optional test data payload

Response

Successful response