Get Validation Result


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

FMake a GET request to the endpoint /wallet/transactions/{transaction_id}


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 Enumerated 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 Code
Code
Description
Reason

400

40001

error decoding json

The data sent does not match the service contract

400

40002

error validating json

Some of the information is badly formatted or not filled in

400

40004

transaction id is invalid

The transaction id is invalid (format)

400

40029

transaction kind is invalid

The transaction sent is not suitable for wallets

403

40301

not allowed

The user does not have permission to perform such an action.

404

40401

transaction not found

Transaction not found

500

50001

internal error

Internal service failure


Still need help?

Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.

Last updated

Copyright © 2024 unico. All rights reserved.