Check status of acquire
Allows to check acquire operation result.
If currently saved status is 'SUCCESS' or 'FAILURE' we return the status with saved acquire data.
If currently saved status is 'UNKNOWN' we check if it changed to terminal 'SUCCESS' or 'FAILURE' and return latest status with acquire data.
If operation with operation id not found status 'NOT_FOUND' will be returned.
Query Parameters
- operationId AcquireOperationId required
Responses
- 200
- 401
- 403
Successful obtaining of operation status.
- application/json
- Schema
- Example (from schema)
- SuccessAcquiresStatusResponse
- UnknownAcquireStatusResponse
- FailureAcquireStatusResponse
- OperationNotFoundAcquireStatusResponse
Schema
- status string required
Possible values: [
SUCCESS
,FAILURE
,UNKNOWN
,NOT_FOUND
] - error string
Possible values: [
INTERNAL
,INVALID_AMOUNT
,INVALID_BENEFICIARY_ID
,UNSPECIFIED
] - transactionId string
- reference string
- rawErrorCode string
{
"status": "SUCCESS",
"error": "INTERNAL",
"transactionId": "string",
"reference": "string",
"rawErrorCode": "string"
}
Successful acquire
{
"status": "SUCCESS",
"transactionId": "txId123",
"reference": "refId123"
}
Unknown
{
"status": "UNKNOWN",
"error": "UNSPECIFIED",
"transactionId": "txId123",
"reference": "refId123",
"rawErrorCode": "23"
}
Failure
{
"status": "FAILURE",
"error": "UNSPECIFIED",
"transactionId": "txId123",
"reference": "refId123",
"rawErrorCode": "23"
}
Operation with given operation id not found
{
"status": "NOT_FOUND"
}
Your authentication data are invalid or not provided
You don't have proper permission to invoke this operation
Loading...