This service returns the amount of a transaction to be able to see it.

GET: 
     `URL_BASE + /ws/util.py/get_importe_transaccion`

## Receives:

All parameters are sent in the querystring of the call, so a percentage
      encoding for URI must be applied (aka URL encoding).

## Returns:

Depending on the result of the operation, this service can return two
      different JSON:

### Answer JSON OK:

```javascript
{
         "status"
        :{' '}
        true
        ,
         "amount"
        : <string>
        ,
         "elapsed"
        : <float>
         }
```

## Where:

* `status:` Shows if the call has been successful (true) or not (false).
* `amount:` Amount of the transaction searched.
* `elapsed:` Operation execution time.

### Answer JSON KO:

```javascript
{
         "status"
        :{' '}
        false
        ,
         "level"
        : <string>
        ,
         "message"
        : <string>
        ,
         "error"
        : <string>
         }
```

## Where:

* `status:` Shows if the call has been successful (true) or not (false).
* `level:` Error importance level.
* `message:` Error message.
* `error:` Sole error code.

## Example requests:

### Python - Requests:

```javascript
import requests
         url ={' '}
        
          "URL_BASE/ws/util.py/get_importe_transaccion?country_code=MX&codtran=e34c6167505acbd1994a23082b3f1fc7"
        
         payload ={' '}
        {
        }
         files ={' '}
        {
        }
         headers={' '}
        {
        }
         response = requests
        .request
        (
        "GET"
        , url
        , headers
        =headers
        , data{' '}
        = payload
        , files{' '}
        = files
        )
         print
        (response
        .text
        .encode
        (
        'utf8'
        )
        )
```

### NodeJs - Request:

```javascript
var request = require('request');
         var options = {
         'method': 'GET',
         'url':
        'URL_BASE/ws/util.py/get_importe_transaccion?country_code=MX&codtran=e34c6167505acbd1994a23082b3f1fc7',
         'headers': {},
         formData: {}
         };
         request(options, function (error, response) {
         if (error) throw new Error(error);
         console.log(response.body);
         });
```

### JavaScript - Fetch:

```javascript
var formdata = new FormData();
         var requestOptions = {
         method: 'GET',
         body: formdata,
         redirect: 'follow'
         };
        {' '}
        fetch("URL_BASE/ws/util.py/get_importe_transaccion?country_code=MX&codtran=e34c6167505acbd1994a23082b3f1fc7",
        requestOptions)
         .then(response => response.text())
         .then(result => console.log(result))
         .catch(error => console.log('error', error));
```

### CURL:

```javascript
curl --location --request GET{' '}
        
          'URL_BASE/ws/util.py/get_importe_transaccion?country_code=MX&codtran=e34c6167505acbd1994a23082b3f1fc7'
```

## Business logic:

By means of this endpoint we obtain the amount associated with a
      transaction.
