Get Event
Information | Data | Description |
---|---|---|
URL | - | Provided by boltPay squad |
Endpoint | /execution-event/{eventSid} | eventSid: Generated sid for the step event. This could be find in the nextEvent attribute detail in the result of the get instance. |
Method | GET | - |
Request
GET {url}/execution-event/911414b4-3e0f-491a-ac00-8a3953c12fca
Headers: { Content-Type: application/json, Strategy-Secret: asdxcv123asdzxcv, Authorization: Bearer asd123asdfd123.asdasd123.asda13213 }
Response
{
"event": {
"attempt": 1,
"createdCycle": 1,
"date": "2024-07-10T09:00:00.000Z",
"task": "execute-flow",
"afterCancellation": false,
"main": true,
"status": "PENDING",
"strategySid": "778118a9-fda9-41c4-abd7-cc0f64b650a7",
"instanceSid": "be0d577f-c7ae-454f-bb2f-631086726472",
"sid": "911414b4-3e0f-491a-ac00-8a3953c12fca",
"createdAt": "2024-06-03T09:18:26.545Z"
}
}