$asyncProcessingController = $client->getAsyncProcessingController();
AsyncProcessingController
Retrieve the current status for a particular code.
function statusCheck(string $statusCode): ResponseAsyncStatus
Parameter | Type | Tags | Description |
---|---|---|---|
statusCode |
string |
Template, Required | A UUID v4 that's unique for the Async Request |
$statusCode = '406c66c3-21cb-47fb-80fc-843bc42507fb';
$result = $asyncProcessingController->statusCheck($statusCode);
{
"type": "AsyncStatus",
"data": {
"code": "406c66c3-21cb-47fb-80fc-843bc42507fb",
"type": "Transaction",
"id": "11e95f8ec39de8fbdb0a4f1a",
"progress": 100,
"error": null,
"ttl": 7956886942
}
}
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | Response401tokenException |