Skip to main content

Get Validation Result

This article explains how to get a validation result through the REST API.

Make a GETrequest to the /wallet/transactions/{transaction_id} endpoint.

With a valid access token, make a request to the (GET/wallet/transactions/{transaction_id}) endpoint, sending the following parameters.

If everything is right in the request, the response is a JSON with the transaction status, as follows:

{
"status": "processing"
}

For more information about the status, see the Enumerations article.

If an error occurs, the response is a JSON with the error and the error code:

{
"error": {
"code": "40004",
"description": "transaction id is invalid"
}
}

The following is a list of possible errors returned by the service:

HTTP CodeCodeDescriptionReason
40040001error decoding jsonThe data sent does not match the service contract
40040002error validating jsonSome of the information is badly formatted or not filled in
40040004transaction id is invalidThe transaction id is invalid (format)
40040029transaction kind is invalidThe transaction sent is not suitable for wallets
40340301not allowedThe user does not have permission to perform such an action.
40440401transaction not foundTransaction not found
50050001internal errorInternal service failure

Any concerns?

Missing something or still need help? If you are already a customer or partner, you can contact us through the Help Center.