From 1381e450fbbfff66969d727aa1d2c4e0fd2577b7 Mon Sep 17 00:00:00 2001 From: Rogelio Date: Fri, 22 May 2020 07:41:27 -0500 Subject: [PATCH] Cuenca python (#1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Name in transfers * Unit test * more test and cassettes * reciever -> recipient * Travis + coveralls * coveralls in setup * Lint * count and all * Increase coverage * Fix Test * Fix Test * full .travis.yml * fix * github action * ci and cd * remove travis * implicitly return None * full typing for Generator * api should _always_ return the network * configure once * Fix Tests * Fix Tests * up coverage * codecov * fix * Remove ApiKey.roll and modify test * fix lint * CD on release event * CD action * Minor changes * Format CD * Enocde enum values in query url * Coverage * better way to pre-process for Queryable.all() * fix lint * More transfer tests * Remove Id in tests * Add Query validators * change version * more descriptive exceptions * most style changes and cleaning up a few items * these file names make more sense * useful comment * update Makefile and add mypy * more reasonable names * resolve method signature issue and improve docstring * cleaner * block mypy for now. will add it back later Co-authored-by: Felipe López Co-authored-by: Matin Tamizi --- .codecov.yml | 9 + .github/workflows/release.yml | 22 + .github/workflows/test.yml | 26 +- Makefile | 48 +- README.md | 14 +- cuenca/exc.py | 4 +- cuenca/http/client.py | 18 +- cuenca/resources/api_keys.py | 22 +- cuenca/resources/base.py | 46 +- cuenca/resources/transfers.py | 18 +- cuenca/resources/utils.py | 9 - cuenca/types.py | 23 +- cuenca/typing.py | 5 + cuenca/validators.py | 50 ++ cuenca/version.py | 2 +- setup.cfg | 5 +- setup.py | 8 +- tests/__init__.py | 0 tests/conftest.py | 12 + tests/http/__init__.py | 0 tests/http/cassettes/test_invalid_auth.yaml | 52 ++ tests/http/test_client.py | 13 + tests/resources/__init__.py | 0 .../cassettes/test_api_key_deactivate.yaml | 144 ++++ .../cassettes/test_api_keys_create.yaml | 52 ++ .../cassettes/test_api_keys_retrieve.yaml | 48 ++ .../cassettes/test_transfers_all.yaml | 98 +++ .../cassettes/test_transfers_count.yaml | 94 +++ .../test_transfers_count_vs_all.yaml | 724 ++++++++++++++++++ .../cassettes/test_transfers_create.yaml | 102 +++ .../cassettes/test_transfers_first.yaml | 95 +++ .../cassettes/test_transfers_one.yaml | 49 ++ .../cassettes/test_transfers_one_errors.yaml | 96 +++ .../cassettes/test_transfers_retrieve.yaml | 49 ++ tests/resources/test_api_keys.py | 65 ++ tests/resources/test_transfers.py | 89 +++ tests/test_stub.py | 2 - tests/test_types.py | 10 + tests/test_validators.py | 27 + 39 files changed, 2033 insertions(+), 117 deletions(-) create mode 100644 .codecov.yml create mode 100644 .github/workflows/release.yml delete mode 100644 cuenca/resources/utils.py create mode 100644 cuenca/typing.py create mode 100644 cuenca/validators.py create mode 100644 tests/__init__.py create mode 100644 tests/conftest.py create mode 100644 tests/http/__init__.py create mode 100644 tests/http/cassettes/test_invalid_auth.yaml create mode 100644 tests/http/test_client.py create mode 100644 tests/resources/__init__.py create mode 100644 tests/resources/cassettes/test_api_key_deactivate.yaml create mode 100644 tests/resources/cassettes/test_api_keys_create.yaml create mode 100644 tests/resources/cassettes/test_api_keys_retrieve.yaml create mode 100644 tests/resources/cassettes/test_transfers_all.yaml create mode 100644 tests/resources/cassettes/test_transfers_count.yaml create mode 100644 tests/resources/cassettes/test_transfers_count_vs_all.yaml create mode 100644 tests/resources/cassettes/test_transfers_create.yaml create mode 100644 tests/resources/cassettes/test_transfers_first.yaml create mode 100644 tests/resources/cassettes/test_transfers_one.yaml create mode 100644 tests/resources/cassettes/test_transfers_one_errors.yaml create mode 100644 tests/resources/cassettes/test_transfers_retrieve.yaml create mode 100644 tests/resources/test_api_keys.py create mode 100644 tests/resources/test_transfers.py delete mode 100644 tests/test_stub.py create mode 100644 tests/test_types.py create mode 100644 tests/test_validators.py diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..e42ff2ad --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,9 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 2 + range: [95, 100] + +comment: + layout: 'header, diff, flags, files, footer' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..a8d1d9ae --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: release + +on: release + +jobs: + publish-pypi: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: pip install -qU setuptools wheel twine + - name: Generating distribution archives + run: python setup.py sdist bdist_wheel + - name: Publish distribution 📦 to PyPI + if: startsWith(github.event.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.pypi_password }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19c86bbc..31e40e9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: test -on: [push, pull_request] +on: push jobs: lint: @@ -10,7 +10,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: '3.8' + python-version: 3.8 - name: Install dependencies run: make install-test - name: Lint @@ -30,4 +30,24 @@ jobs: - name: Install dependencies run: make install-test - name: Run tests - run: pytest --vcr-record=none + run: pytest + + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Setup Python + uses: actions/setup-python@master + with: + python-version: 3.8 + - name: Install dependencies + run: make install-test + - name: Generate coverage report + run: pytest --cov-report=xml + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + file: ./coverage.xml + flags: unittests + name: codecov-umbrella + fail_ci_if_error: true diff --git a/Makefile b/Makefile index 46c412e9..2b2f3fa6 100644 --- a/Makefile +++ b/Makefile @@ -1,41 +1,51 @@ SHELL := bash PATH := ./venv/bin:${PATH} -PYTHON=python3.7 -PROJECT=cuenca +PYTHON = python3.7 +PROJECT = cuenca isort = isort -rc -ac $(PROJECT) tests setup.py -black = black -S -l 79 --target-version py37 $(PROJECT) tests setup.py +black = black -S -l 79 --target-version py38 $(PROJECT) tests setup.py all: test venv: - $(PYTHON) -m venv --prompt $(PROJECT) venv - pip install -qU pip + $(PYTHON) -m venv --prompt $(PROJECT) venv + pip install -qU pip install-test: - pip install -q .[test] + pip install -q .[test] test: clean install-test lint - python setup.py test + python setup.py test format: - $(isort) - $(black) + $(isort) + $(black) lint: - flake8 $(PROJECT) tests setup.py - $(isort) --check-only - $(black) --check + flake8 $(PROJECT) tests setup.py + $(isort) --check-only + $(black) --check +# mypy $(PROJECT) tests clean: - find . -name '*.pyc' -exec rm -f {} + - find . -name '*.pyo' -exec rm -f {} + - find . -name '*~' -exec rm -f {} + - rm -rf build dist $(PROJECT).egg-info + rm -rf `find . -name __pycache__` + rm -f `find . -type f -name '*.py[co]' ` + rm -f `find . -type f -name '*~' ` + rm -f `find . -type f -name '.*~' ` + rm -rf .cache + rm -rf .pytest_cache + rm -rf .mypy_cache + rm -rf htmlcov + rm -rf *.egg-info + rm -f .coverage + rm -f .coverage.* + rm -rf build + rm -rf dist release: clean - python setup.py sdist bdist_wheel - twine upload dist/* + python setup.py sdist bdist_wheel + twine upload dist/* -.PHONY: all install-test test format lint clean release +.PHONY: all install-test test format lint clean release \ No newline at end of file diff --git a/README.md b/README.md index 9ce64a14..7df71aba 100644 --- a/README.md +++ b/README.md @@ -61,11 +61,15 @@ count = cuenca.Transfer.count(status=Status.succeeded) ## Api Keys -### Roll the `ApiKey` - +### Create new `ApiKey` and deactivate old ```python import cuenca -# create new key and deactive old key in 60 mins -old_key, new_key = cuenca.ApiKey.roll(60) -``` +# Create new ApiKey +new = cuenca.ApiKey.create() + +# Have to use the new key to deactivate the old key +old_id = cuenca.session.auth[0] +cuenca.session.configure(new.id, new.secret) +cuenca.ApiKey.deactivate(old_id, minutes) +``` \ No newline at end of file diff --git a/cuenca/exc.py b/cuenca/exc.py index f58d9784..5979e049 100644 --- a/cuenca/exc.py +++ b/cuenca/exc.py @@ -3,8 +3,8 @@ class CuencaException(Exception): class NoResultFound(CuencaException): - ... + """No results were found""" class MultipleResultsFound(CuencaException): - ... + """One result was expected but multiple were returned""" diff --git a/cuenca/http/client.py b/cuenca/http/client.py index c8ee1089..e255a309 100644 --- a/cuenca/http/client.py +++ b/cuenca/http/client.py @@ -1,10 +1,10 @@ import os -from typing import Any, Dict, Optional, Tuple +from typing import Optional, Tuple import requests from requests import Response -from ..types import OptionalDict +from ..typing import ClientRequestParams, DictStrAny, OptionalDict from ..version import API_VERSION, CLIENT_VERSION API_URL = 'https://api.cuenca.com' @@ -52,26 +52,24 @@ def configure( self.base_url = SANDBOX_URL def get( - self, endpoint: str, params: OptionalDict = None - ) -> Dict[str, Any]: + self, endpoint: str, params: ClientRequestParams = None, + ) -> DictStrAny: return self.request('get', endpoint, params=params) - def post(self, endpoint: str, data: Dict[str, Any]) -> Dict[str, Any]: + def post(self, endpoint: str, data: DictStrAny) -> DictStrAny: return self.request('post', endpoint, data=data) - def delete( - self, endpoint: str, data: OptionalDict = None - ) -> Dict[str, Any]: + def delete(self, endpoint: str, data: OptionalDict = None) -> DictStrAny: return self.request('delete', endpoint, data=data) def request( self, method: str, endpoint: str, - params: OptionalDict = None, + params: ClientRequestParams = None, data: OptionalDict = None, **kwargs, - ) -> Dict[str, Any]: + ) -> DictStrAny: resp = self.session.request( method=method, url=self.base_url + endpoint, diff --git a/cuenca/resources/api_keys.py b/cuenca/resources/api_keys.py index 967271c7..34aa7989 100644 --- a/cuenca/resources/api_keys.py +++ b/cuenca/resources/api_keys.py @@ -1,16 +1,17 @@ import datetime as dt -from typing import ClassVar, Optional, Tuple +from typing import ClassVar, Optional from pydantic.dataclasses import dataclass from ..http import session +from ..validators import ApiKeyQuery from .base import Creatable, Queryable, Retrievable @dataclass class ApiKey(Creatable, Queryable, Retrievable): _endpoint: ClassVar = '/api_keys' - _query_params: ClassVar = set() + _query_params: ClassVar = ApiKeyQuery id: str secret: str @@ -26,22 +27,7 @@ def active(self) -> bool: @classmethod def create(cls) -> 'ApiKey': - return super().create() - - @classmethod - def roll(cls, minutes: int = 0) -> Tuple['ApiKey', 'ApiKey']: - """ - 1. create a new ApiKey - 2. configure client with new ApiKey - 3. deactivate prior ApiKey in a certain number of minutes - 4. return both ApiKeys - """ - old_id = session.auth[0] - new = cls.create() - # have to use the new key to deactivate the old key - session.configure(new.id, new.secret) - old = cls.deactivate(old_id, minutes) - return old, new + return cls._create() @classmethod def deactivate(cls, api_key_id: str, minutes: int = 0) -> 'ApiKey': diff --git a/cuenca/resources/base.py b/cuenca/resources/base.py index 44a2c1dc..ba1416c9 100644 --- a/cuenca/resources/base.py +++ b/cuenca/resources/base.py @@ -4,7 +4,8 @@ from ..exc import MultipleResultsFound, NoResultFound from ..http import session -from .utils import DictFactory +from ..types import SantizedDict +from ..validators import QueryParams @dataclass @@ -28,7 +29,7 @@ def _filter_excess_fields(cls, obj_dict): del obj_dict[f] def to_dict(self): - return asdict(self, dict_factory=DictFactory) + return asdict(self, dict_factory=SantizedDict) class Retrievable(Resource): @@ -45,19 +46,18 @@ def refresh(self): class Creatable(Resource): @classmethod - def create(cls, **data) -> Resource: + def _create(cls, **data) -> Resource: resp = session.post(cls._endpoint, data) return cls._from_dict(resp) class Queryable(Resource): - _query_params: ClassVar[set] + _query_params: ClassVar = QueryParams @classmethod def one(cls, **query_params) -> Resource: - cls._check_query_params(query_params) - query_params['limit'] = 2 - resp = session.get(cls._endpoint, query_params) + q = cls._query_params(limit=2, **query_params) + resp = session.get(cls._endpoint, q.dict()) items = resp['items'] len_items = len(items) if not len_items: @@ -68,35 +68,27 @@ def one(cls, **query_params) -> Resource: @classmethod def first(cls, **query_params) -> Optional[Resource]: - cls._check_query_params(query_params) - query_params['limit'] = 1 - resp = session.get(cls._endpoint, query_params) + q = cls._query_params(limit=1, **query_params) + resp = session.get(cls._endpoint, q.dict()) try: item = resp['items'][0] except IndexError: - item = None - return cls._from_dict(item) + rv = None + else: + rv = cls._from_dict(item) + return rv @classmethod def count(cls, **query_params) -> int: - cls._check_query_params(query_params) - query_params['count'] = 1 - resp = session.get(cls._endpoint, query_params) + q = cls._query_params(count=True, **query_params) + resp = session.get(cls._endpoint, q.dict()) return resp['count'] @classmethod - def all(cls, **query_params) -> Generator[Resource]: - cls._check_query_params(query_params) - next_page_url = f'{cls._endpoint}?{urlencode(query_params)}' + def all(cls, **query_params) -> Generator[Resource, None, None]: + q = cls._query_params(**query_params) + next_page_url = f'{cls._endpoint}?{urlencode(q.dict())}' while next_page_url: page = session.get(next_page_url) yield from (cls._from_dict(item) for item in page['items']) - next_page_url = page['next'] - - @classmethod - def _check_query_params(cls, query_params): - if not query_params: - return - unaccepted = set(query_params.keys()) - cls._query_params - if unaccepted: - raise ValueError(f'{unaccepted} are not accepted query parameters') + next_page_url = page['next_page_url'] diff --git a/cuenca/resources/transfers.py b/cuenca/resources/transfers.py index 5e72c777..e2987782 100644 --- a/cuenca/resources/transfers.py +++ b/cuenca/resources/transfers.py @@ -5,7 +5,8 @@ from pydantic import BaseModel, StrictStr from pydantic.dataclasses import dataclass -from ..types import Network, Status, StrictPositiveInt +from ..types import Network, Status +from ..validators import StrictPositiveInt, TransferQuery from .base import Creatable, Queryable, Retrievable @@ -20,7 +21,7 @@ class TransferRequest(BaseModel): @dataclass class Transfer(Creatable, Queryable, Retrievable): _endpoint: ClassVar = '/transfers' - _query_params: ClassVar = {'account_number', 'idempotency_key', 'status'} + _query_params: ClassVar = TransferQuery id: str created_at: dt.datetime @@ -40,12 +41,16 @@ def create( account_number: str, amount: int, descriptor: str, + recipient_name: str, idempotency_key: Optional[str] = None, ) -> 'Transfer': """ - - amount: needs to be in centavos (not pesos) - - descriptor: how it'll appear for the recipient - - idempotency_key: must be unique for each transfer to avoid duplicates + :param account_number: CLABE + :param amount: needs to be in centavos (not pesos) + :param descriptor: how it'll appear for the recipient + :param recipient_name: name of recipient + :param idempotency_key: must be unique for each transfer to avoid + duplicates The recommended idempotency_key scheme: 1. create a transfer entry in your own database with the status @@ -61,9 +66,10 @@ def create( account_number=account_number, amount=amount, descriptor=descriptor, + recipient_name=recipient_name, idempotency_key=idempotency_key, ) - return super().create(**req.dict()) + return cls._create(**req.dict()) @staticmethod def _gen_idempotency_key(account_number: str, amount: int) -> str: diff --git a/cuenca/resources/utils.py b/cuenca/resources/utils.py deleted file mode 100644 index 1ce9a4da..00000000 --- a/cuenca/resources/utils.py +++ /dev/null @@ -1,9 +0,0 @@ -import datetime as dt - - -class DictFactory(dict): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - for k, v in self.items(): - if isinstance(v, dt.date): - self[k] = v.isoformat() diff --git a/cuenca/types.py b/cuenca/types.py index f9f1ee94..3922861e 100644 --- a/cuenca/types.py +++ b/cuenca/types.py @@ -1,9 +1,5 @@ +import datetime as dt from enum import Enum -from typing import Dict, Optional, Union - -from pydantic import PositiveInt, StrictInt - -OptionalDict = Optional[Dict[str, Union[int, str]]] class Status(str, Enum): @@ -17,10 +13,15 @@ class Network(str, Enum): internal = 'internal' -class StrictPositiveInt(StrictInt, PositiveInt): - """ - - StrictInt: ensures a float isn't passed in by accident - - PositiveInt: ensures the value is above 0 - """ +def sanitize_dict(d: dict): + for k, v in d.items(): + if isinstance(v, dt.date): + d[k] = v.isoformat() + elif isinstance(v, Enum): + d[k] = v.value + - ... +class SantizedDict(dict): + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + sanitize_dict(self) diff --git a/cuenca/typing.py b/cuenca/typing.py new file mode 100644 index 00000000..e96eda0e --- /dev/null +++ b/cuenca/typing.py @@ -0,0 +1,5 @@ +from typing import Any, Dict, MutableMapping, Optional, Union + +ClientRequestParams = Union[None, bytes, MutableMapping[str, str]] +DictStrAny = Dict[str, Any] +OptionalDict = Optional[Dict[str, Union[int, str]]] diff --git a/cuenca/validators.py b/cuenca/validators.py new file mode 100644 index 00000000..5fe71f6e --- /dev/null +++ b/cuenca/validators.py @@ -0,0 +1,50 @@ +import datetime as dt +from typing import Optional + +from pydantic import BaseModel, Extra, PositiveInt, StrictInt +from pydantic.types import ConstrainedInt + +from .types import sanitize_dict +from .typing import DictStrAny + +MAX_PAGE_LIMIT = 100 + + +class StrictPositiveInt(StrictInt, PositiveInt): + """ + - StrictInt: ensures a float isn't passed in by accident + - PositiveInt: ensures the value is above 0 + """ + + ... + + +class Limit(ConstrainedInt): + ge = 0 + le = MAX_PAGE_LIMIT + + +class QueryParams(BaseModel): + count: bool = False + limit: Optional[Limit] = None + created_before: Optional[dt.datetime] = None + + class Config: + extra = Extra.forbid # raise ValidationError if there are extra fields + + def dict(self, *args, **kwargs) -> DictStrAny: + d = super().dict(exclude_none=True, exclude_unset=True) + if self.count: + d['count'] = 1 + sanitize_dict(d) + return d + + +class TransferQuery(QueryParams): + account_number: Optional[str] = None + idempotency_key: Optional[str] = None + status: Optional[str] = None + + +class ApiKeyQuery(QueryParams): + active: Optional[bool] = None diff --git a/cuenca/version.py b/cuenca/version.py index b837ed25..58dbbeb0 100644 --- a/cuenca/version.py +++ b/cuenca/version.py @@ -1,3 +1,3 @@ -__version__ = '0.0.1dev0' +__version__ = '0.1.0' CLIENT_VERSION = __version__ API_VERSION = '2020-03-19' diff --git a/setup.cfg b/setup.cfg index b1ce8cb7..60547132 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ test=pytest [tool:pytest] -addopts = -p no:warnings -v --cov=cuenca +addopts = -p no:warnings -v --cov-report term-missing --cov=cuenca [flake8] inline-quotes = ' @@ -13,3 +13,6 @@ multi_line_output=3 include_trailing_comma=True force_grid_wrap=0 combine_as_imports=True + +[mypy-pytest] +ignore_missing_imports = true diff --git a/setup.py b/setup.py index 2fa5d337..3d003efb 100644 --- a/setup.py +++ b/setup.py @@ -5,12 +5,14 @@ version = SourceFileLoader('version', 'cuenca/version.py').load_module() test_requires = [ + 'black', + 'coverage<5', + 'flake8', + 'isort[pipfile]', 'pytest', 'pytest-vcr', 'pytest-cov', - 'black', - 'isort[pipfile]', - 'flake8', + 'mypy', ] with open('README.md', 'r') as f: diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 00000000..c189b790 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,12 @@ +import pytest + +import cuenca + +cuenca.configure(sandbox=True) + + +@pytest.fixture(scope='module') +def vcr_config(): + config = dict() + config['filter_headers'] = [('Authorization', 'DUMMY')] + return config diff --git a/tests/http/__init__.py b/tests/http/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/http/cassettes/test_invalid_auth.yaml b/tests/http/cassettes/test_invalid_auth.yaml new file mode 100644 index 00000000..72d174fd --- /dev/null +++ b/tests/http/cassettes/test_invalid_auth.yaml @@ -0,0 +1,52 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: POST + uri: https://api.cuenca.com/api_keys + response: + body: + string: '{"Code":"UnauthorizedError","Message":"UnauthorizedError: Wrong creds"}' + headers: + Connection: + - keep-alive + Content-Length: + - '71' + Content-Type: + - application/json + Date: + - Thu, 14 May 2020 03:30:43 GMT + Via: + - 1.1 5c58021efde9831dc4a4b288db2f5256.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - rCbapXA22ztNBD-TrY9YvjAWupeTqPLuiBoGyX4qh9xz44U5y6rp1w== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5ebcbb61-a371ad289b02ea22a93466be;Sampled=0 + X-Cache: + - Error from cloudfront + x-amz-apigw-id: + - MgI3QHg-oAMFykQ= + x-amzn-RequestId: + - a099594c-cec8-4459-9330-c68db0a34841 + status: + code: 401 + message: Unauthorized +version: 1 diff --git a/tests/http/test_client.py b/tests/http/test_client.py new file mode 100644 index 00000000..ce4fb216 --- /dev/null +++ b/tests/http/test_client.py @@ -0,0 +1,13 @@ +import pytest +from requests import HTTPError + +from cuenca.http.client import Session + + +@pytest.mark.vcr +def test_invalid_auth(): + session = Session() + session.configure(sandbox=False) + with pytest.raises(HTTPError) as e: + session.post('/api_keys', dict()) + assert '401 Client Error: Unauthorized' in str(e) diff --git a/tests/resources/__init__.py b/tests/resources/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/resources/cassettes/test_api_key_deactivate.yaml b/tests/resources/cassettes/test_api_key_deactivate.yaml new file mode 100644 index 00000000..499ad3a5 --- /dev/null +++ b/tests/resources/cassettes/test_api_key_deactivate.yaml @@ -0,0 +1,144 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/api_keys/test + response: + body: + string: '{"id":"test","created_at":"2020-05-11T17:20:25.603000","secret":"********","deactivated_at":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '119' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:30:32 GMT + Via: + - 1.1 d8c8706cff3de7db4b8e8b9726774938.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - AKuzZDU7v-hmyGu-9zB9VHgy9S4pbSGqKNIJJMcPnRqzIm8Crk1fWQ== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb999c8-e36f1e7c4aa751f8ce4452c0;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYT3VGxDoAMFbZQ= + x-amzn-RequestId: + - d1f6ab21-3e4f-493e-8d9b-d1aff4ef82a9 + status: + code: 200 + message: OK +- request: + body: '{"minutes": 0}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + Content-Length: + - '14' + Content-Type: + - application/json + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: DELETE + uri: https://sandbox.cuenca.com/api_keys/test + response: + body: + string: '{"id":"test","created_at":"2020-05-11T17:20:25.603000","secret":"********","deactivated_at":"2020-05-11T18:30:35.210967"}' + headers: + Connection: + - keep-alive + Content-Length: + - '143' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:30:35 GMT + Via: + - 1.1 d8c8706cff3de7db4b8e8b9726774938.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - DFKQoRapavD6PEHAapEf_BvZiywXiIK3Yi3Fh-kkCJe6Yu1lKX8IvA== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb999cb-890940501ec67728f7f59fa0;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYT3wGh9oAMFTSQ= + x-amzn-RequestId: + - b87437d5-18f4-4e7b-adf3-4302d3f144b3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/api_keys/test + response: + body: + string: '{"id":"test","created_at":"2020-05-11T17:20:25.603000","secret":"********","deactivated_at":"2020-05-11T18:30:35.210000"}' + headers: + Connection: + - keep-alive + Content-Length: + - '143' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:30:35 GMT + Via: + - 1.1 d8c8706cff3de7db4b8e8b9726774938.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - Q6iMsqOj5TZMk9XnoMk1Pj_bfQ2ycqs1CrTcZPsUk5VXaUMVeaprIA== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb999cb-ae60e1a60989f617bbbb1675;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYT3yEZqIAMFyvw= + x-amzn-RequestId: + - 7f4b362f-6e5d-4867-883a-2b2b44e12852 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_api_keys_create.yaml b/tests/resources/cassettes/test_api_keys_create.yaml new file mode 100644 index 00000000..0d71013d --- /dev/null +++ b/tests/resources/cassettes/test_api_keys_create.yaml @@ -0,0 +1,52 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: POST + uri: https://sandbox.cuenca.com/api_keys + response: + body: + string: '{"id":"PKjtv8Qn-3Tp2Eh1bBzXphOg==","created_at":"2020-05-11T18:25:36.369866","secret":"fcLkDkymPF9nJloQfEbYwnBthMtrwFssxyuzpMs-qIDEnmJNAr8nC3_xkC-MY-reV6WjT10DLwpF_v_G4MqBPw","deactivated_at":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '197' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:25:38 GMT + Via: + - 1.1 991cddfa34f7096aab42079b287a0629.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - C3GZwW0t28QJ75J-3Md6RzRHjehrab6-GVSBYzCli7UMhu6rsPoY0w== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb998a0-5b85148fe075039e951ce376;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYTJEE4iIAMFyDA= + x-amzn-RequestId: + - 98c2462c-9c8f-4f04-a590-fc76d96cdca2 + status: + code: 201 + message: Created +version: 1 diff --git a/tests/resources/cassettes/test_api_keys_retrieve.yaml b/tests/resources/cassettes/test_api_keys_retrieve.yaml new file mode 100644 index 00000000..4482580c --- /dev/null +++ b/tests/resources/cassettes/test_api_keys_retrieve.yaml @@ -0,0 +1,48 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/api_keys/test + response: + body: + string: '{"id":"test","created_at":"2020-05-04T19:43:40.439000","secret":"********","deactivated_at":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '119' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:25:38 GMT + Via: + - 1.1 e11ff5647028a0e212255f92e5436d8b.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - ZXFzIAdYi9neivcMO1KZ1Lpq2SBf-9Q-bJDPujzzryBSvb8mxAxgCQ== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb998a2-be6c915eeb0eee745d58beb2;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYTJZGfToAMFm4w= + x-amzn-RequestId: + - 9c5352f0-f3df-41f2-9618-07c095ff4f71 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_all.yaml b/tests/resources/cassettes/test_transfers_all.yaml new file mode 100644 index 00000000..14b6023a --- /dev/null +++ b/tests/resources/cassettes/test_transfers_all.yaml @@ -0,0 +1,98 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?status=succeeded + response: + body: + string: '{"items":[{"id":"TRykH9-lXrS6iJocclOl4ATQ==","created_at":"2020-05-11T18:41:00.332000","updated_at":"2020-05-11T18:41:01.352000","account_number":"646180157034181180","recipient_name":"cuenca user","amount":10000,"descriptor":"Mi + primer transferencia","idempotency_key":"my_custom_id","status":"succeeded","network":"internal","tracking_key":null},{"id":"TR41ohSc7ET4a6XNJlTQwO-g==","created_at":"2020-05-09T03:43:59.029000","updated_at":"2020-05-09T03:43:59.924000","account_number":"646180157034181180","recipient_name":"cuenca user","amount":10000,"descriptor":"Mi + primer transferencia","idempotency_key":"my_unique_id","status":"succeeded","network":"internal","tracking_key":null},{"id":"TRbunDZEb9Q9CpFQGqZlVzQA==","created_at":"2020-05-09T03:41:12.048000","updated_at":"2020-05-09T03:41:15.932000","account_number":"646180157034181180","recipient_name":"cuenca user","amount":10000,"descriptor":"Mi + primer transferencia","idempotency_key":"2020-05-09:646180157034181180:10000","status":"succeeded","network":"internal","tracking_key":null},{"id":"TRXrre-cmATVag5-eGrpczeQ==","created_at":"2020-05-08T23:19:34.541000","updated_at":"2020-05-08T23:19:35.873000","account_number":"646180157034181180","recipient_name":"cuenca user","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"key_roger_3","status":"succeeded","network":"internal","tracking_key":null}],"next_page_url":"/transfers?created_before=2020-05-08T23%3A19%3A34.541000&status=succeeded&count=False"}' + headers: + Connection: + - keep-alive + Content-Length: + - '1448' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 21:18:46 GMT + Via: + - 1.1 985019c7ef5fb5ac317bec78ceb88d53.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - Vkx6OPbbAH-OopAB2UJPZ97jYycsRkH_ePiR3wvMrWSR_R-jcy1ZYA== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb9c136-e49554ba864d85e0974d7434;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYsgkE9SoAMFidA= + x-amzn-RequestId: + - c99f4e7d-227b-4d47-a08f-942d49f76db4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?created_before=2020-05-08T23%3A19%3A34.541000&status=succeeded&count=False + response: + body: + string: '{"items":[],"next_page_url":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 21:18:47 GMT + Via: + - 1.1 985019c7ef5fb5ac317bec78ceb88d53.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - _F9ZwCoMxsgNPFo0RWX5A0dZiaTtRn7hn6KpX_2GGxMlsGaTzs8DnQ== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb9c136-dd6403fe86606d9c59d40877;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYsgmEDloAMFQ8A= + x-amzn-RequestId: + - a2cbdb34-ada1-4da7-995a-18d2dd34700e + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_count.yaml b/tests/resources/cassettes/test_transfers_count.yaml new file mode 100644 index 00000000..63d3a577 --- /dev/null +++ b/tests/resources/cassettes/test_transfers_count.yaml @@ -0,0 +1,94 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?count=1 + response: + body: + string: '{"count":42}' + headers: + Connection: + - keep-alive + Content-Length: + - '12' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 21:59:35 GMT + Via: + - 1.1 07a8524ef9b19a43fbf0b8e522dc9942.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - YEJCUb_jGNiB2JBr0mdtjnuprilReCnO9TYqSeDXHGcsXiPIYEPdXw== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb9cac5-d19de4cbc893054ad3fb0c34;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYye2HO0IAMFsvQ= + x-amzn-RequestId: + - 159511b5-3d76-4e5f-8f23-bfe889dbf1ac + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?status=succeeded&count=1 + response: + body: + string: '{"count":4}' + headers: + Connection: + - keep-alive + Content-Length: + - '11' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 21:59:45 GMT + Via: + - 1.1 07a8524ef9b19a43fbf0b8e522dc9942.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - Fi2jEuLM8RQjSimNd0VEO6X_q4-oeIcAP6xOknl-etGwebUcWVJ_Ag== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb9cad1-d519ac7f613a7f6bfcd99e93;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYygsEE0oAMFpQQ= + x-amzn-RequestId: + - ce2ca60e-3b6d-4c3e-a471-bd2bac298b86 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_count_vs_all.yaml b/tests/resources/cassettes/test_transfers_count_vs_all.yaml new file mode 100644 index 00000000..4731625d --- /dev/null +++ b/tests/resources/cassettes/test_transfers_count_vs_all.yaml @@ -0,0 +1,724 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?status=succeeded&count=1 + response: + body: + string: '{"count":2}' + headers: + Connection: + - keep-alive + Content-Length: + - '11' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:04 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - Dw6WWrWG8fL0YaHMUFKi3OE9VxsRz9ZUAKtZeZXB63lIH7sXn5VNXQ== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e18-96c784c6ea45c568b560f474;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYj5GkfoAMFmPA= + x-amzn-RequestId: + - 8351b405-1f38-4e75-81c1-5f960649e02d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?status=succeeded + response: + body: + string: '{"items":[{"id":"TRhKxyL1lhQvSiMx7whOpEJA==","created_at":"2020-05-19T19:34:31.400000","updated_at":"2020-05-19T19:34:34.985000","account_number":"646180157034181180","recipient_name":"Rogelio","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"key_roger_2","status":"succeeded","network":"internal","tracking_key":null},{"id":"TRRAnqEwwRRZWVgwbDjtAGeA==","created_at":"2020-05-19T19:07:10.018000","updated_at":"2020-05-19T19:07:14.234000","account_number":"646180157034181180","recipient_name":"Rogelio","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"key_roger_3","status":"succeeded","network":"internal","tracking_key":null}],"next_page_url":"/transfers?limit=100&created_before=2020-05-19T19%3A07%3A10.018000&status=succeeded"}' + headers: + Connection: + - keep-alive + Content-Length: + - '769' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:07 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - AXDMVqQ2AF7-Fpj-iZFALyXnr9kRfXvtaXQOE2vMQkLEl3TM9vPVMQ== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e1b-503529387980bff690cd3d81;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYkWGC0oAMFb9w= + x-amzn-RequestId: + - 306ac85b-fb9e-4fee-afbc-8aecb84f7e33 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?limit=100&created_before=2020-05-19T19%3A07%3A10.018000&status=succeeded + response: + body: + string: '{"items":[],"next_page_url":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:08 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - xqcuBvDnQ6qObVvsqTaTaZOfJEg2zbbI-jTjFbB5q4fM0-9-5EYWIg== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e1b-e78ad800508a3114320d2754;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYkZEH6oAMFfMw= + x-amzn-RequestId: + - 2bfceac0-ae88-4e57-8cac-bc5a689327ca + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?count=1 + response: + body: + string: '{"count":306}' + headers: + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:21 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - 4b54SubqUqGwdc7o_zAV2yAqTH1VkzMiqcqufhCTZy8QvjNoOLoJYQ== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e29-15037e31acfd6734558701c3;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYmdGWlIAMF-mw= + x-amzn-RequestId: + - f5f994c9-62d7-4f1d-99eb-ec7dbc947978 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers + response: + body: + string: '{"items":[{"id":"TRNEejctVIQuyNCjAGwq1IUw==","created_at":"2020-05-19T23:04:08.029000","updated_at":"2020-05-19T23:04:08.733000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"31bd253ae50c476097a832734206142c","status":"failed","network":"internal","tracking_key":null},{"id":"TRuf3WmgmBReOYBKahEH9KMg==","created_at":"2020-05-19T23:04:07.412000","updated_at":"2020-05-19T23:04:07.849000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e5d55a6dc3e54fa796533d951134901d","status":"failed","network":"internal","tracking_key":null},{"id":"TRnnl6hrQYRsS38HRTv7ZWLA==","created_at":"2020-05-19T23:04:06.169000","updated_at":"2020-05-19T23:04:07.403000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0892723d84f34d20b92ed2e9f86cc460","status":"failed","network":"internal","tracking_key":null},{"id":"TRlDVhsnRXRT-_7aE9b2zqoQ==","created_at":"2020-05-19T22:51:36.157000","updated_at":"2020-05-19T22:51:37.623000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bf7ad163e4fa4c43bc6b6507bb3342ae","status":"failed","network":"internal","tracking_key":null},{"id":"TRl7ekOBmjQeO1Fd1X64k7xA==","created_at":"2020-05-19T22:51:35.656000","updated_at":"2020-05-19T22:51:41.537000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e69bcf581e614c8da7ae8360c316143d","status":"failed","network":"internal","tracking_key":null},{"id":"TRQ54vdvaxR46KMfDVcG2nlg==","created_at":"2020-05-19T22:51:35.057000","updated_at":"2020-05-19T22:51:42.512000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7465f6b82db0435285cab291c0edcd50","status":"failed","network":"internal","tracking_key":null},{"id":"TR-QVmsLOIT1m-FZm1eJ0t_w==","created_at":"2020-05-19T22:51:34.376000","updated_at":"2020-05-19T22:51:37.537000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"cfa24d7bbdf64fab8e210d1ad195e6d3","status":"failed","network":"internal","tracking_key":null},{"id":"TR0gfWuhfBSUmOW5FGjTuXlw==","created_at":"2020-05-19T22:51:33.878000","updated_at":"2020-05-19T22:51:36.495000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d43abc53c1c8424f960e22432cc0de2d","status":"failed","network":"internal","tracking_key":null},{"id":"TRrGMeuouYSne_54az6UeKcA==","created_at":"2020-05-19T22:51:33.296000","updated_at":"2020-05-19T22:51:34.476000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bfd51e4aca6f43e58704cbc97973f9fa","status":"failed","network":"internal","tracking_key":null},{"id":"TRV_7Wz-ywRTWZvhkx0YLqJw==","created_at":"2020-05-19T22:51:32.656000","updated_at":"2020-05-19T22:51:37.471000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"2de27643a3fa46249b2a3fbf56b729dc","status":"failed","network":"internal","tracking_key":null},{"id":"TReslnWoYdRqCAl1I_b9NnTA==","created_at":"2020-05-19T22:51:32.076000","updated_at":"2020-05-19T22:51:43.601000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"63b15d7832bc46faa475e4ab0d94d097","status":"failed","network":"internal","tracking_key":null},{"id":"TR7rleFygKTouH3So4-erbaA==","created_at":"2020-05-19T22:51:31.459000","updated_at":"2020-05-19T22:51:43.520000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ecdce8962e224f6485bb288542a817a5","status":"failed","network":"internal","tracking_key":null},{"id":"TRaaZDZNdgTryDEU0UUXqjWQ==","created_at":"2020-05-19T22:51:30.859000","updated_at":"2020-05-19T22:51:40.551000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"41acacdd7aa4472695aa5a472abd5b71","status":"failed","network":"internal","tracking_key":null},{"id":"TR32NA-lG_S2WNu5NprJ6HTQ==","created_at":"2020-05-19T22:51:30.276000","updated_at":"2020-05-19T22:51:31.607000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7fe3c45744f041c4b077ffbf3bd8a538","status":"failed","network":"internal","tracking_key":null},{"id":"TRTUXE_hQIQretRYctjcjzYA==","created_at":"2020-05-19T22:51:29.736000","updated_at":"2020-05-19T22:51:39.581000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b08764d3a620449681badcf323367f39","status":"failed","network":"internal","tracking_key":null},{"id":"TRuccnLshfRuikaYiaQEAyoQ==","created_at":"2020-05-19T22:51:29.196000","updated_at":"2020-05-19T22:51:31.537000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"450e9bee4ef44dfca4879334659a0019","status":"failed","network":"internal","tracking_key":null},{"id":"TRWc6V7lwRRimkr4WpLAmK6g==","created_at":"2020-05-19T22:51:28.699000","updated_at":"2020-05-19T22:51:30.478000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4e4102309a5b494dbe34412b8fea62a8","status":"failed","network":"internal","tracking_key":null},{"id":"TRoxOyTeDARAS9zaIOXi7-Jw==","created_at":"2020-05-19T22:51:28.016000","updated_at":"2020-05-19T22:51:31.469000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"fabbdd33e8154411997fd2a2dd3ed15d","status":"failed","network":"internal","tracking_key":null},{"id":"TR_5obflBvQnusqfMDUfagIw==","created_at":"2020-05-19T22:51:27.476000","updated_at":"2020-05-19T22:51:40.472000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"1a78e81028ad4e9084c090f97e47d19c","status":"failed","network":"internal","tracking_key":null},{"id":"TRERoX9Ek8TTOPPIopQcq1Xg==","created_at":"2020-05-19T22:51:26.840000","updated_at":"2020-05-19T22:51:27.481000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"913e1f2acd35438799dbda174646c622","status":"failed","network":"internal","tracking_key":null},{"id":"TRoojZYC9EQZeF3pJTPhTCTQ==","created_at":"2020-05-19T22:51:26.316000","updated_at":"2020-05-19T22:51:28.617000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"81265a3c4319465f94ad57a9080c617d","status":"failed","network":"internal","tracking_key":null},{"id":"TRYK5iyJsMT4emJeFA5thIQg==","created_at":"2020-05-19T22:51:25.759000","updated_at":"2020-05-19T22:51:29.515000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c9e78e1ccbd1450caa74067444f3966b","status":"failed","network":"internal","tracking_key":null},{"id":"TRhxZy9dliTxGx6z5yGUSOmw==","created_at":"2020-05-19T22:51:25.258000","updated_at":"2020-05-19T22:51:39.529000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"fb647bbf58cf42b1b45b713d6f012f8d","status":"failed","network":"internal","tracking_key":null},{"id":"TR58WBAQ7US7mV-wbILViUHg==","created_at":"2020-05-19T22:51:24.759000","updated_at":"2020-05-19T22:51:33.609000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b36272c85a834321be907a679e3a07f4","status":"failed","network":"internal","tracking_key":null},{"id":"TRI1FJp7TaR9mMEyK81ZLq4A==","created_at":"2020-05-19T22:51:24.136000","updated_at":"2020-05-19T22:51:35.783000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"11bd224d19a54eaa858a30e2545f0fb9","status":"failed","network":"internal","tracking_key":null},{"id":"TRHuHVcaXeSlWP8FRuPTUlmw==","created_at":"2020-05-19T22:51:23.516000","updated_at":"2020-05-19T22:51:33.841000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"27b1338aa97d423f8c95f6971dcde8d5","status":"failed","network":"internal","tracking_key":null},{"id":"TR8xpTSpgcSe65jupGStyidQ==","created_at":"2020-05-19T22:51:22.996000","updated_at":"2020-05-19T22:51:38.477000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d7e3b765e885473e9774bacfbacbd6e1","status":"failed","network":"internal","tracking_key":null},{"id":"TRhqVn9OoKT-y_9SAah6oGaA==","created_at":"2020-05-19T22:51:22.499000","updated_at":"2020-05-19T22:51:28.545000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"01a794be9bc84453b9b400c04b033d84","status":"failed","network":"internal","tracking_key":null},{"id":"TR2wnug6tTTOGq9ye9Emeltg==","created_at":"2020-05-19T22:51:21.959000","updated_at":"2020-05-19T22:51:35.570000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"08742a88bf1e45c99f816015b43a0e66","status":"failed","network":"internal","tracking_key":null},{"id":"TRq5ZIQFV5T0uESotU4AvcpA==","created_at":"2020-05-19T22:51:21.459000","updated_at":"2020-05-19T22:51:33.493000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"967c2218c36f40c9ab14fa120242d577","status":"failed","network":"internal","tracking_key":null},{"id":"TRMaDmhXDEQvOPzGD68ByDuQ==","created_at":"2020-05-19T22:51:20.938000","updated_at":"2020-05-19T22:51:24.464000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bf79c527af2d42a089564828725fd547","status":"failed","network":"internal","tracking_key":null},{"id":"TR2ITI_5rHT_WhGA4p64-Bjw==","created_at":"2020-05-19T22:51:20.396000","updated_at":"2020-05-19T22:51:22.579000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7ccf8e29a6b94d39a8f35fd53a189a64","status":"failed","network":"internal","tracking_key":null},{"id":"TREc6lYRH0RumlwlZmmCzCCA==","created_at":"2020-05-19T22:51:19.919000","updated_at":"2020-05-19T22:51:35.489000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"63e65d137411491ca41bf40683be3301","status":"failed","network":"internal","tracking_key":null},{"id":"TRP6hy53HMQ02czu7MmTc70w==","created_at":"2020-05-19T22:51:19.438000","updated_at":"2020-05-19T22:51:32.481000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9a1122c1fdc1459ab68086737b258d4a","status":"failed","network":"internal","tracking_key":null},{"id":"TRMA5xv0onTCKlVDDTMWYAGw==","created_at":"2020-05-19T22:51:18.936000","updated_at":"2020-05-19T22:51:28.475000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9a3cfe61e152405c8b6a116801bc742a","status":"failed","network":"internal","tracking_key":null},{"id":"TRH_Zch9iXSeqUzCwjzHRWqA==","created_at":"2020-05-19T22:51:18.419000","updated_at":"2020-05-19T22:51:23.540000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a262c3fa58ea42f29557d26746a4f069","status":"failed","network":"internal","tracking_key":null},{"id":"TRfBXALeE_TmGMoaCkQOl3Ww==","created_at":"2020-05-19T22:51:17.876000","updated_at":"2020-05-19T22:51:25.597000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"05c82a1d11774556a61ab860355a4915","status":"failed","network":"internal","tracking_key":null},{"id":"TRXcMBWjFeSjuMQotw7tl0_g==","created_at":"2020-05-19T22:51:17.259000","updated_at":"2020-05-19T22:51:26.461000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8add7cffcfc34beea00cfdc3d320e6da","status":"failed","network":"internal","tracking_key":null},{"id":"TRKy95V4ZaRNeEsNtHt8ZFCw==","created_at":"2020-05-19T22:51:16.756000","updated_at":"2020-05-19T22:51:25.527000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b6569cec282e44618f969498523c4a04","status":"failed","network":"internal","tracking_key":null},{"id":"TR7d_VgH_tQJOqV1rt3Y7rew==","created_at":"2020-05-19T22:51:16.216000","updated_at":"2020-05-19T22:51:17.498000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ac357303f1f24a59a520f96272656c48","status":"failed","network":"internal","tracking_key":null},{"id":"TRmK9t5S-ERBWVOvC8mp9vlA==","created_at":"2020-05-19T22:51:15.559000","updated_at":"2020-05-19T22:51:18.585000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"34fbac2cf6564d91930351b67f6b725d","status":"failed","network":"internal","tracking_key":null},{"id":"TR_f3hyi0STkGfs1LJkFjwog==","created_at":"2020-05-19T22:51:15.079000","updated_at":"2020-05-19T22:51:22.510000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9e48b006fa6046c282a716210ee2e53f","status":"failed","network":"internal","tracking_key":null},{"id":"TRcamGkf_OQV-9q49axuuS1w==","created_at":"2020-05-19T22:51:14.537000","updated_at":"2020-05-19T22:51:18.496000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"91c18e23e5824f7ebe758b236cf83a77","status":"failed","network":"internal","tracking_key":null},{"id":"TR1XvulrEkQXy4NwYdNxdHHw==","created_at":"2020-05-19T22:51:14.056000","updated_at":"2020-05-19T22:51:22.441000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"94d9c2a7e0af4361843393740bc28cc4","status":"failed","network":"internal","tracking_key":null},{"id":"TReJxy81DJTBq88EPUUeP7eQ==","created_at":"2020-05-19T22:51:13.456000","updated_at":"2020-05-19T22:51:16.501000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"49d341d57a7b4d84aa31dcd11b0ddacb","status":"failed","network":"internal","tracking_key":null},{"id":"TRlp7m473aRW-nInHADKAwew==","created_at":"2020-05-19T22:51:12.859000","updated_at":"2020-05-19T22:51:16.441000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9fae735cfd864586bafe7fbf85321c5a","status":"failed","network":"internal","tracking_key":null},{"id":"TRrmkj68KPT6WOIs6JHSB5aw==","created_at":"2020-05-19T22:51:12.336000","updated_at":"2020-05-19T22:51:15.501000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ba6ec5654f424376a3cfa75e55433210","status":"failed","network":"internal","tracking_key":null},{"id":"TRqd__RlG_Q6K5uI8kZLXF1g==","created_at":"2020-05-19T22:51:11.736000","updated_at":"2020-05-19T22:51:25.443000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c17a48d4f5f44d2e884fdcacb0471568","status":"failed","network":"internal","tracking_key":null},{"id":"TRSTD7l-HMR8Gq6MHfgtRovA==","created_at":"2020-05-19T22:51:11.219000","updated_at":"2020-05-19T22:51:14.601000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7d5f252f57d74d61b743427b0e456009","status":"failed","network":"internal","tracking_key":null},{"id":"TRR_7qdq9uSm2v5mZDh0kDhQ==","created_at":"2020-05-19T22:51:10.604000","updated_at":"2020-05-19T22:51:18.434000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a75b291480b4491a8b7d80d21af9d8a7","status":"failed","network":"internal","tracking_key":null},{"id":"TRdxnfImhtTF-NKGvjixBuGg==","created_at":"2020-05-19T22:51:10.096000","updated_at":"2020-05-19T22:51:11.492000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"51e726b443744020aab0f2117e8c5836","status":"failed","network":"internal","tracking_key":null},{"id":"TRIC-Kx_GWQOuqvjoqi56MIA==","created_at":"2020-05-19T22:51:09.576000","updated_at":"2020-05-19T22:51:10.625000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4d1d5430432f4aec92547c024eb43bb6","status":"failed","network":"internal","tracking_key":null},{"id":"TRSMi3TjlUR-GR55aVsmx9Fw==","created_at":"2020-05-19T22:51:09.116000","updated_at":"2020-05-19T22:51:10.511000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9abb713b280c4c9da5e2493c378d4974","status":"failed","network":"internal","tracking_key":null},{"id":"TREFV6hriQTL-hEzZuJoXc-w==","created_at":"2020-05-19T22:51:08.619000","updated_at":"2020-05-19T22:51:14.432000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"11c9ea5cde9240608b3fcb5a0586fd4f","status":"failed","network":"internal","tracking_key":null},{"id":"TRgNbguCOKRISL2qqYwuB91g==","created_at":"2020-05-19T22:51:07.980000","updated_at":"2020-05-19T22:51:09.423000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"89232202908a48739a47e900dd0bcf7a","status":"failed","network":"internal","tracking_key":null},{"id":"TRaENxyYoZRpSnmuKx1hQncg==","created_at":"2020-05-19T22:51:07.496000","updated_at":"2020-05-19T22:51:15.441000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d626a5f693f14da0b5ead6ed8c5cdb07","status":"failed","network":"internal","tracking_key":null},{"id":"TRLAZ1SbquQsajYUaavOQPnw==","created_at":"2020-05-19T22:51:06.859000","updated_at":"2020-05-19T22:51:07.461000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d035f210d4b84fe88ea4ad6f6aa5bc33","status":"failed","network":"internal","tracking_key":null},{"id":"TRb5WT-D95RzqVPLxHyGj5sg==","created_at":"2020-05-19T22:51:06.299000","updated_at":"2020-05-19T22:51:11.421000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b7d6d09f9b4948788fd10ef4f2f87ead","status":"failed","network":"internal","tracking_key":null},{"id":"TRgU2sqph-SUyFEZ-5TH6m4A==","created_at":"2020-05-19T22:51:05.759000","updated_at":"2020-05-19T22:51:20.581000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"23e15c99fb714ec28f1e13c00e8d7994","status":"failed","network":"internal","tracking_key":null},{"id":"TRzfR9fZe-Q76l7nbeXsJ5Hg==","created_at":"2020-05-19T22:51:05.276000","updated_at":"2020-05-19T22:51:06.476000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6407c135ca1f46afb2f57ceb595ff0dd","status":"failed","network":"internal","tracking_key":null},{"id":"TRtT-4lVBNQcu4taQtQhoy3w==","created_at":"2020-05-19T22:51:04.698000","updated_at":"2020-05-19T22:51:05.492000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a5080475798d48ef8f928de3caa4292a","status":"failed","network":"internal","tracking_key":null},{"id":"TRa1DKohfjS0KOBiQOhN6g9g==","created_at":"2020-05-19T22:51:04.219000","updated_at":"2020-05-19T22:51:20.511000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"171f1a83101b4c49b253359811bc82d8","status":"failed","network":"internal","tracking_key":null},{"id":"TR7onnQcooTr-giPHj_l81xA==","created_at":"2020-05-19T22:51:03.599000","updated_at":"2020-05-19T22:51:04.569000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e738798833d84f49941ef7ac32904474","status":"failed","network":"internal","tracking_key":null},{"id":"TRABoGRXGkQ4KDMC69qP-CWA==","created_at":"2020-05-19T22:51:02.997000","updated_at":"2020-05-19T22:51:21.434000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8c7cb727f2644d7bbd502e4abb7c3b6e","status":"failed","network":"internal","tracking_key":null},{"id":"TRpBMNTqMZRbeSF_m82sGa9A==","created_at":"2020-05-19T22:51:02.341000","updated_at":"2020-05-19T22:51:05.409000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"1b44f3366eb9489481f11f5b0f4e3fea","status":"failed","network":"internal","tracking_key":null},{"id":"TRkRE5P-wMTBO6tROw__GxeA==","created_at":"2020-05-19T22:51:01.696000","updated_at":"2020-05-19T22:51:20.440000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0fe3d495c82f43b99698ebdfc7fc3ac2","status":"failed","network":"internal","tracking_key":null},{"id":"TRZeJJqvZ0ThiHvt3WSUL52Q==","created_at":"2020-05-19T22:51:01.176000","updated_at":"2020-05-19T22:51:04.498000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c611b51805d1458988bb608b22d40ff1","status":"failed","network":"internal","tracking_key":null},{"id":"TRXVilR7i-SKeopKYp-KTk5g==","created_at":"2020-05-19T22:51:00.636000","updated_at":"2020-05-19T22:51:19.445000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0323942646154c9fa713191b0e9c07f8","status":"failed","network":"internal","tracking_key":null},{"id":"TRunItITNbSF28GHOTNb65Hg==","created_at":"2020-05-19T22:51:00.158000","updated_at":"2020-05-19T22:51:08.571000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8ffd03f21ad54f74ae2989cca2d7a0bb","status":"failed","network":"internal","tracking_key":null},{"id":"TRasF5FkTGQGysxNwHTW--aQ==","created_at":"2020-05-19T22:50:59.636000","updated_at":"2020-05-19T22:51:03.416000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e2fa64233ea84e3f86d8a827075a54ab","status":"failed","network":"internal","tracking_key":null},{"id":"TRy7a0hAwGT2Css4EZ7YF9ig==","created_at":"2020-05-19T22:50:59.096000","updated_at":"2020-05-19T22:51:01.441000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"68b4dfd5896e4fbbbe8ce34cce47f7b2","status":"failed","network":"internal","tracking_key":null},{"id":"TRmfvxhIXIRX6QiRAbb5KKcg==","created_at":"2020-05-19T22:50:58.516000","updated_at":"2020-05-19T22:51:00.469000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ef7b257e733c4d28864c4db715dc3e73","status":"failed","network":"internal","tracking_key":null},{"id":"TR7RUaD4LZQoW6QfvXnfnGZA==","created_at":"2020-05-19T22:50:58.039000","updated_at":"2020-05-19T22:51:08.497000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d0ae63fe9a3c431aa78055eded991cec","status":"failed","network":"internal","tracking_key":null},{"id":"TR34sYNac4TQGAMaMvEj065g==","created_at":"2020-05-19T22:50:57.399000","updated_at":"2020-05-19T22:50:59.649000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"cc471c0583be4d83a95dabe5c0987562","status":"failed","network":"internal","tracking_key":null},{"id":"TR-MeAM7e-RlyxMcQ1pMPzhQ==","created_at":"2020-05-19T22:50:56.836000","updated_at":"2020-05-19T22:50:57.422000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"88ee5f00fd0c432cbbcfa9b5e5ddabc4","status":"failed","network":"internal","tracking_key":null},{"id":"TRMomrsHnwQDebEBJMXV7QIg==","created_at":"2020-05-19T22:50:56.218000","updated_at":"2020-05-19T22:50:59.581000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6fd0c99f17154836850af070661a79ae","status":"failed","network":"internal","tracking_key":null},{"id":"TR3gQpAnqXSl2iz46JQLziDg==","created_at":"2020-05-19T22:50:55.636000","updated_at":"2020-05-19T22:51:08.441000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"1c6cf1accebe4cf287712f9d31975726","status":"failed","network":"internal","tracking_key":null},{"id":"TRzyH2_D-5Q9S4t860jZXcAA==","created_at":"2020-05-19T22:50:55.156000","updated_at":"2020-05-19T22:50:58.419000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ea318380d8b7473a819f9e1062ef8dca","status":"failed","network":"internal","tracking_key":null},{"id":"TRiEgvWuNPRd-EqKqDirfLsQ==","created_at":"2020-05-19T22:50:54.599000","updated_at":"2020-05-19T22:50:55.420000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8814435ad72945a689bccf40e473594c","status":"failed","network":"internal","tracking_key":null},{"id":"TRidLp_XWqSP2V-MY7YLQDqw==","created_at":"2020-05-19T22:50:54.116000","updated_at":"2020-05-19T22:50:59.516000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8626a117a3f5489b98041bdaf8bd43b7","status":"failed","network":"internal","tracking_key":null},{"id":"TRu2shc4b1SeCBG3V8p7J5sQ==","created_at":"2020-05-19T22:50:53.576000","updated_at":"2020-05-19T22:50:54.412000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b86992fc313a4effbf3db6227d1f158f","status":"failed","network":"internal","tracking_key":null},{"id":"TRDp0YiV_MQemH37lve4xKUg==","created_at":"2020-05-19T22:50:52.996000","updated_at":"2020-05-19T22:50:56.461000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7df63cc8260c484691f78319bfeed652","status":"failed","network":"internal","tracking_key":null},{"id":"TREmF0WoPRTryKmNadcg26qQ==","created_at":"2020-05-19T22:50:52.499000","updated_at":"2020-05-19T22:50:53.420000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"933621e6d6b647c7bad81b068d9adcb8","status":"failed","network":"internal","tracking_key":null},{"id":"TR497q-rSeTWOWFlGdfDxvVw==","created_at":"2020-05-19T22:50:51.916000","updated_at":"2020-05-19T22:50:52.454000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"20faf63ebcea40c19c47e542545d8bf0","status":"failed","network":"internal","tracking_key":null},{"id":"TR5Hnq0h8gSyivwBcTMru8dw==","created_at":"2020-05-19T22:50:51.279000","updated_at":"2020-05-19T22:51:02.725000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8d5f6ea7186d41b2acffeb5dcaeb010e","status":"failed","network":"internal","tracking_key":null},{"id":"TRcTeJjzPPRpufxzg-GWpyHQ==","created_at":"2020-05-19T22:50:50.736000","updated_at":"2020-05-19T22:51:02.489000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"565c34304e634536bc7c7f8a9c4f688a","status":"failed","network":"internal","tracking_key":null},{"id":"TRg2t9tHbjT3uZqAIoetybQA==","created_at":"2020-05-19T22:50:50.236000","updated_at":"2020-05-19T22:50:51.461000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b3785fc66d934319bd5d9d28147ddbf7","status":"failed","network":"internal","tracking_key":null},{"id":"TR4QPZygQOQXW26ruoNjRDjw==","created_at":"2020-05-19T22:50:49.719000","updated_at":"2020-05-19T22:50:51.387000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"73bef54e4f4247909292d1df5bcc1794","status":"failed","network":"internal","tracking_key":null},{"id":"TRJyVDzsM_Rg6Ku7U2nq3Nlw==","created_at":"2020-05-19T22:50:49.179000","updated_at":"2020-05-19T22:50:50.481000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"cfee63cbcc904638bf91bc6d22b09523","status":"failed","network":"internal","tracking_key":null},{"id":"TRqlt2lu2rSJW6fEtWhs9a9A==","created_at":"2020-05-19T22:50:48.279000","updated_at":"2020-05-19T22:50:50.409000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c89afc1820a0479db58afb1399545eaa","status":"failed","network":"internal","tracking_key":null},{"id":"TRYjbd8zV1TnyqTdVWRm_Zww==","created_at":"2020-05-19T22:50:47.759000","updated_at":"2020-05-19T22:51:02.417000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f7a708cdd9eb4f36b53d784fb0541f6e","status":"failed","network":"internal","tracking_key":null},{"id":"TR4JL7fNpxS7mWYA6irAHlUg==","created_at":"2020-05-19T22:50:47.216000","updated_at":"2020-05-19T22:50:49.420000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4dd294208a37451c8fc1a982ac9ae57f","status":"failed","network":"internal","tracking_key":null},{"id":"TRsepmqbCfSAutdirq80jizg==","created_at":"2020-05-19T22:50:46.736000","updated_at":"2020-05-19T22:50:48.541000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"38fde0a9defb47d19928e7bef872de76","status":"failed","network":"internal","tracking_key":null},{"id":"TRW972j2mCQPayEZChhQwSww==","created_at":"2020-05-19T22:50:46.119000","updated_at":"2020-05-19T22:50:48.417000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8ae4cef2df1841cb8540c319bf3fe8e5","status":"failed","network":"internal","tracking_key":null},{"id":"TRtIhpxj4NQjixiCwIcQMoEQ==","created_at":"2020-05-19T22:50:45.636000","updated_at":"2020-05-19T22:50:46.416000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f7ddd5fd1e9f44129666a272a2a57b16","status":"failed","network":"internal","tracking_key":null},{"id":"TROKWStY9kTyOKYhrjpg3TZw==","created_at":"2020-05-19T22:50:45.136000","updated_at":"2020-05-19T22:50:47.569000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"03d94d86238d4c20956206d6b2e4eee6","status":"failed","network":"internal","tracking_key":null},{"id":"TRNPvi4vQ1RK-iBOxIq4Vgmw==","created_at":"2020-05-19T22:50:44.558000","updated_at":"2020-05-19T22:50:45.486000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e42f05f230bc47268df1e1af9b97540c","status":"failed","network":"internal","tracking_key":null},{"id":"TRt0SsyO8pTL-wa36jIBIOTg==","created_at":"2020-05-19T22:50:44.079000","updated_at":"2020-05-19T22:50:45.415000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"33d0173d73a2413e9508facbfdb8c6fe","status":"failed","network":"internal","tracking_key":null},{"id":"TR4g7qLeDKSyOmXW-igaibLA==","created_at":"2020-05-19T22:50:43.399000","updated_at":"2020-05-19T22:50:44.456000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c8b7950fd4bc43a8a1ab2bbb3ead8c72","status":"failed","network":"internal","tracking_key":null},{"id":"TRoNVh2TR7S2WVs8pc8wDChg==","created_at":"2020-05-19T22:50:42.916000","updated_at":"2020-05-19T22:50:45.701000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ce27f69f47994c9fa2930ca04de84acb","status":"failed","network":"internal","tracking_key":null}],"next_page_url":"/transfers?limit=100&created_before=2020-05-19T22%3A50%3A42.916000"}' + headers: + Connection: + - keep-alive + Content-Length: + - '35296' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:55 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - EEJ8twRZCMBKVYLPW_T9Vvw4uD5emCmPao1FgW-6VYMBbV_pWS6olg== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e4b-5e7986809e7041b5642a761b;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYrwHmZoAMFZ_g= + x-amzn-RequestId: + - e97a5e9d-3497-4cd1-b5bb-d31711449057 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?limit=100&created_before=2020-05-19T22%3A50%3A42.916000 + response: + body: + string: '{"items":[{"id":"TRa7QsZJxfTB2tmrY3SciCMA==","created_at":"2020-05-19T22:50:42.296000","updated_at":"2020-05-19T22:50:45.662000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3fe8686908c549c19f3e84521d1d4619","status":"failed","network":"internal","tracking_key":null},{"id":"TRHPRMP6ZnQE2dvfIyPC-W_A==","created_at":"2020-05-19T22:50:41.716000","updated_at":"2020-05-19T22:50:44.553000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"393f606b2fa24158becc326723bdeb7f","status":"failed","network":"internal","tracking_key":null},{"id":"TRPN79P_60TvuCUE-o_cdYow==","created_at":"2020-05-19T22:50:41.099000","updated_at":"2020-05-19T22:50:43.835000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b1201a2c30924ad28023aef30620883d","status":"failed","network":"internal","tracking_key":null},{"id":"TR9XjxmrAjQwOwb1OLOrHwBA==","created_at":"2020-05-19T22:27:56.929000","updated_at":"2020-05-19T22:28:00.614000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e08df9c78dc441e6b996d7fec1de2b34","status":"failed","network":"internal","tracking_key":null},{"id":"TRTdTlfKF6Qk-TsWloYiSD2g==","created_at":"2020-05-19T22:27:56.429000","updated_at":"2020-05-19T22:28:05.569000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bbf6eadf02974a489a5da2624e3ea02a","status":"failed","network":"internal","tracking_key":null},{"id":"TRcb2Reh1HSOW8lPFFzd9juw==","created_at":"2020-05-19T22:27:55.992000","updated_at":"2020-05-19T22:28:08.599000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b711523c691148ea9fa67936383e769d","status":"failed","network":"internal","tracking_key":null},{"id":"TRfYoXNACJQOW2hEZw33_Q6A==","created_at":"2020-05-19T22:27:55.549000","updated_at":"2020-05-19T22:28:02.561000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0d25b506e363416e83d853fbb106fd6b","status":"failed","network":"internal","tracking_key":null},{"id":"TR58t9BxfQQH2T6aLGXl5w7w==","created_at":"2020-05-19T22:27:55.110000","updated_at":"2020-05-19T22:28:04.542000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"61415c28c1504e49be28eb39fe6c46df","status":"failed","network":"internal","tracking_key":null},{"id":"TR4DX-Q0PKSl-R4V8pOP_9tQ==","created_at":"2020-05-19T22:27:54.649000","updated_at":"2020-05-19T22:28:00.537000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a641d16a0546483dbf6ae205461639fe","status":"failed","network":"internal","tracking_key":null},{"id":"TRcg0UlEKASK2RrXjs97TTjA==","created_at":"2020-05-19T22:27:54.192000","updated_at":"2020-05-19T22:28:03.814000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6abd3ae4082640c09373803e8e138f07","status":"failed","network":"internal","tracking_key":null},{"id":"TRWlEHFpB7S0qN8I_am6ANdw==","created_at":"2020-05-19T22:27:53.669000","updated_at":"2020-05-19T22:28:07.554000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ffca869028664b70a073cc5243c620ec","status":"failed","network":"internal","tracking_key":null},{"id":"TRcbXYTQrHSe6l-0_xP81AhQ==","created_at":"2020-05-19T22:27:53.229000","updated_at":"2020-05-19T22:27:55.633000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b9998bd045324369962c6ea662cca340","status":"failed","network":"internal","tracking_key":null},{"id":"TRNWYp8_ggRsaP-Id9GFLefA==","created_at":"2020-05-19T22:27:52.769000","updated_at":"2020-05-19T22:27:55.575000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9312ee086417493bbe888fc26cf9c486","status":"failed","network":"internal","tracking_key":null},{"id":"TRHv--mRp1Sl2Kv5ElizTelw==","created_at":"2020-05-19T22:27:52.289000","updated_at":"2020-05-19T22:28:03.750000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bdd58565021f4ad8b71bca04d6afa9c7","status":"failed","network":"internal","tracking_key":null},{"id":"TRJk4cEcitQZWy2XbmulQq0g==","created_at":"2020-05-19T22:27:51.851000","updated_at":"2020-05-19T22:27:54.527000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"2627ec1a969f42b09c4c6860eb34d8a6","status":"failed","network":"internal","tracking_key":null},{"id":"TRqI2p-cb1Q_uoghac_29gEQ==","created_at":"2020-05-19T22:27:51.351000","updated_at":"2020-05-19T22:28:06.715000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c5cea0ba50594e898c5f428f0488bfaa","status":"failed","network":"internal","tracking_key":null},{"id":"TRo5kZS5FIQ5uAY_E155CJ0A==","created_at":"2020-05-19T22:27:50.909000","updated_at":"2020-05-19T22:28:03.672000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f6bf63e9a3cf4ef783ff6f9199cb3f90","status":"failed","network":"internal","tracking_key":null},{"id":"TRTH38LLdMSfia1QvQAE5jAw==","created_at":"2020-05-19T22:27:50.429000","updated_at":"2020-05-19T22:27:59.609000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b8556bc7d59148b7a38451c555ccd95d","status":"failed","network":"internal","tracking_key":null},{"id":"TR55crLA9SQCGtlAkn9u6tyg==","created_at":"2020-05-19T22:27:49.969000","updated_at":"2020-05-19T22:28:01.658000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b92df4f88d6340e884afd23a5fbbb427","status":"failed","network":"internal","tracking_key":null},{"id":"TRUO18rxvHSfK2zP3TGiT6Jw==","created_at":"2020-05-19T22:27:49.452000","updated_at":"2020-05-19T22:27:58.603000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8aa51672459b4b13a31f143344097c30","status":"failed","network":"internal","tracking_key":null},{"id":"TRIoSpy2DqRW2NiuRQjRBJ_A==","created_at":"2020-05-19T22:27:48.969000","updated_at":"2020-05-19T22:27:58.528000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ad0b650d499849b48c4528d5193faae4","status":"failed","network":"internal","tracking_key":null},{"id":"TRSRVyfa95ShamSAMcDH_c-w==","created_at":"2020-05-19T22:27:48.529000","updated_at":"2020-05-19T22:27:53.623000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3cbd325e1a4f432bb0f9518cbd5dd835","status":"failed","network":"internal","tracking_key":null},{"id":"TR3zr8eprgQLaoVYz02ZjJDw==","created_at":"2020-05-19T22:27:48.089000","updated_at":"2020-05-19T22:27:57.594000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"52c748863aec4308998222533ba3111a","status":"failed","network":"internal","tracking_key":null},{"id":"TRWWdlHa_1Sn2lR4eGCL5ptQ==","created_at":"2020-05-19T22:27:47.589000","updated_at":"2020-05-19T22:27:50.523000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"add1e787c0cf4b4aa679de761c298d9e","status":"failed","network":"internal","tracking_key":null},{"id":"TRSSrcRNd2SlWCLogTpaltNw==","created_at":"2020-05-19T22:27:47.132000","updated_at":"2020-05-19T22:27:57.526000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4827dc3a199e4b1db9d82c9d9e058e76","status":"failed","network":"internal","tracking_key":null},{"id":"TR2atwKNYlQF6Sw6S_eTAKlw==","created_at":"2020-05-19T22:27:46.671000","updated_at":"2020-05-19T22:27:53.566000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9dacd8090283461392b8eed0865c5f93","status":"failed","network":"internal","tracking_key":null},{"id":"TR3wzPkvRrRHOPffpvgGoYhg==","created_at":"2020-05-19T22:27:46.231000","updated_at":"2020-05-19T22:27:51.661000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b727b74e48cb438196b8f48430fb36fd","status":"failed","network":"internal","tracking_key":null},{"id":"TRs_K0zRkyQ5-ar81bx0iIgQ==","created_at":"2020-05-19T22:27:45.709000","updated_at":"2020-05-19T22:28:01.582000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"09499ae678f3434ebb2d743dd763e34f","status":"failed","network":"internal","tracking_key":null},{"id":"TRH0_y5yCCTNKf0u76hhZUcg==","created_at":"2020-05-19T22:27:45.249000","updated_at":"2020-05-19T22:27:51.590000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"37c67129381049cc8977aa0f2f06e597","status":"failed","network":"internal","tracking_key":null},{"id":"TRFkXUgvK5SGGsqOV_uqbhtQ==","created_at":"2020-05-19T22:27:44.411000","updated_at":"2020-05-19T22:27:51.512000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"779e603bf6fd4861a824cce07a501fc6","status":"failed","network":"internal","tracking_key":null},{"id":"TReH958gutSk2f4dydvBKUdA==","created_at":"2020-05-19T22:27:43.929000","updated_at":"2020-05-19T22:27:59.626000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3ecd8e0b8aae40a3bb8a5028d71c06b4","status":"failed","network":"internal","tracking_key":null},{"id":"TR1vpiVSdYRsu-P_uOK3rs8g==","created_at":"2020-05-19T22:27:43.489000","updated_at":"2020-05-19T22:27:53.504000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"49ec66a2890948508d3d4a37d5f5c0e2","status":"failed","network":"internal","tracking_key":null},{"id":"TRFp_vBuMVSt6gR6ZkozdpBA==","created_at":"2020-05-19T22:27:43.051000","updated_at":"2020-05-19T22:28:06.644000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"30a8f90d33e849beb0544a0528e23535","status":"failed","network":"internal","tracking_key":null},{"id":"TRhLU3fJMZRTOdIU2cY58DPA==","created_at":"2020-05-19T22:27:42.592000","updated_at":"2020-05-19T22:27:44.535000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9c04fa90b8ca4a31bc5510b271f7e4b3","status":"failed","network":"internal","tracking_key":null},{"id":"TRXl7eVnw_SxiNg0iBdu7LPA==","created_at":"2020-05-19T22:27:42.129000","updated_at":"2020-05-19T22:27:56.610000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"2f6a7dd7187d43f0adf142e4574d5a9f","status":"failed","network":"internal","tracking_key":null},{"id":"TRCy-Vp8d6QRSew9iSCljfvQ==","created_at":"2020-05-19T22:27:41.669000","updated_at":"2020-05-19T22:27:42.505000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b724c2ce81ee431aa12146f392bce0c5","status":"failed","network":"internal","tracking_key":null},{"id":"TRTmF2PPUaTC-WWzFbyZzDfQ==","created_at":"2020-05-19T22:27:41.211000","updated_at":"2020-05-19T22:28:06.576000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0b2c74683fef43cca847724a049496e8","status":"failed","network":"internal","tracking_key":null},{"id":"TRUDovmo6vSUm2P4eajPSr6Q==","created_at":"2020-05-19T22:27:40.769000","updated_at":"2020-05-19T22:27:52.511000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c90af04fabad4db9bd19155d3f1cb60d","status":"failed","network":"internal","tracking_key":null},{"id":"TRqJKVX7x-Q5-XddsWPB0EVQ==","created_at":"2020-05-19T22:27:40.191000","updated_at":"2020-05-19T22:27:56.571000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4d7ff71b882d4d9297c484a1b02d857f","status":"failed","network":"internal","tracking_key":null},{"id":"TRNSVlPwOpQzeOxE4lta3x5g==","created_at":"2020-05-19T22:27:39.729000","updated_at":"2020-05-19T22:27:45.663000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"526cb84d90f04ebfad0fee9690f28ced","status":"failed","network":"internal","tracking_key":null},{"id":"TR1Z27mTbYR3S6Jp6J9ym4pw==","created_at":"2020-05-19T22:27:39.229000","updated_at":"2020-05-19T22:27:49.693000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f18764b4a2c1494c98b8728c393dfe8d","status":"failed","network":"internal","tracking_key":null},{"id":"TRo8Pk5EG7ReWduDew3LRsOg==","created_at":"2020-05-19T22:27:38.729000","updated_at":"2020-05-19T22:27:49.603000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6d2c1e0978f14b5e9d4ba324973da833","status":"failed","network":"internal","tracking_key":null},{"id":"TRVzpjqdATS-6lvEOvQCWImQ==","created_at":"2020-05-19T22:27:38.252000","updated_at":"2020-05-19T22:27:45.582000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e73741e1e13648a29238e806100ef4e3","status":"failed","network":"internal","tracking_key":null},{"id":"TR9x8pF7lYShKAzDHGzYbKDA==","created_at":"2020-05-19T22:27:37.753000","updated_at":"2020-05-19T22:27:45.510000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"53dc4aa429e64ce586256aee85745f60","status":"failed","network":"internal","tracking_key":null},{"id":"TRnorwNKLUTMGMAPIWhmVBBw==","created_at":"2020-05-19T22:27:37.309000","updated_at":"2020-05-19T22:27:38.527000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"62ff6530d74941a39582ba0321676a68","status":"failed","network":"internal","tracking_key":null},{"id":"TRDPKKN4TrQn2wGSJmQudeuA==","created_at":"2020-05-19T22:27:36.832000","updated_at":"2020-05-19T22:27:41.642000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e564051e82174157ab7a3f412f22fa69","status":"failed","network":"internal","tracking_key":null},{"id":"TRhLMWTClZRIy6VmO17y2kuQ==","created_at":"2020-05-19T22:27:36.372000","updated_at":"2020-05-19T22:27:43.649000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c1a120b25f794d3dad404b3dd2a6937d","status":"failed","network":"internal","tracking_key":null},{"id":"TRic5abn4iQiGmiGvAZmvyog==","created_at":"2020-05-19T22:27:35.911000","updated_at":"2020-05-19T22:27:43.566000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d08676cd05b64212ac0f8fb1f9e12046","status":"failed","network":"internal","tracking_key":null},{"id":"TRWzSEjQduSg6icXz5cWCskA==","created_at":"2020-05-19T22:27:35.452000","updated_at":"2020-05-19T22:27:49.511000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ab27a9ab499f4e9e8643dc62a6130661","status":"failed","network":"internal","tracking_key":null},{"id":"TRSdorsJWYTr6Cy-WuZ8TLFA==","created_at":"2020-05-19T22:27:34.910000","updated_at":"2020-05-19T22:27:37.536000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"673c828756464da3bb2cbc8d8514809e","status":"failed","network":"internal","tracking_key":null},{"id":"TRMdZfwA_KSA28dud1obU6Jg==","created_at":"2020-05-19T22:27:34.411000","updated_at":"2020-05-19T22:27:36.517000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"1807f4f6a71047e0b72b7763b6cfab2d","status":"failed","network":"internal","tracking_key":null},{"id":"TRUyyM24eiQaeBCz5tH0q-yA==","created_at":"2020-05-19T22:27:33.889000","updated_at":"2020-05-19T22:27:48.519000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"319516e1bb2247d086bbe021b3a2d074","status":"failed","network":"internal","tracking_key":null},{"id":"TRHXhs5MLyTvixGIPzgYCNNw==","created_at":"2020-05-19T22:27:33.448000","updated_at":"2020-05-19T22:27:41.563000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"41c4bc0e911443748c102c9b373ebf5a","status":"failed","network":"internal","tracking_key":null},{"id":"TRJ1y8lFMtR5WMzp93KEW6UA==","created_at":"2020-05-19T22:27:32.971000","updated_at":"2020-05-19T22:27:41.494000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b87c0c6a402d4420af979f1b50a52087","status":"failed","network":"internal","tracking_key":null},{"id":"TR3Wxs8rWnSsy8bcoAugdh3w==","created_at":"2020-05-19T22:27:32.449000","updated_at":"2020-05-19T22:27:43.503000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3df5e8f878454b529e4580f57b20cf3a","status":"failed","network":"internal","tracking_key":null},{"id":"TR1KnFUQxZSSKSxoeTv1KaIQ==","created_at":"2020-05-19T22:27:31.852000","updated_at":"2020-05-19T22:27:39.620000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b16aea08bf0b4396bf08b5aa968f6408","status":"failed","network":"internal","tracking_key":null},{"id":"TRHJUDNXpUTguDxKQyXTtGaA==","created_at":"2020-05-19T22:27:31.369000","updated_at":"2020-05-19T22:27:39.557000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"5abe98823bd44e1f95955186ccde7e5b","status":"failed","network":"internal","tracking_key":null},{"id":"TR4kx-2SltQNuY2OpmvzwlKA==","created_at":"2020-05-19T22:27:30.929000","updated_at":"2020-05-19T22:27:35.560000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"aa2807ada6f84e3091eebb6b609f3a4a","status":"failed","network":"internal","tracking_key":null},{"id":"TR3pMuDXNTRuuK7Z311UvZ-Q==","created_at":"2020-05-19T22:27:30.511000","updated_at":"2020-05-19T22:27:33.930000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3c8b143984f04688826bb461b34774a5","status":"failed","network":"internal","tracking_key":null},{"id":"TRUtCtCsgsTy-015MMtMx-og==","created_at":"2020-05-19T22:27:30.049000","updated_at":"2020-05-19T22:27:39.500000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"de350fa28d4b4f75b9215e04c1b98fae","status":"failed","network":"internal","tracking_key":null},{"id":"TR38wZ-WiCQZiWg5e4-e_Q_g==","created_at":"2020-05-19T22:27:29.609000","updated_at":"2020-05-19T22:27:32.584000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"478e612421c34fd9b36c9b0dc97c4bd2","status":"failed","network":"internal","tracking_key":null},{"id":"TRHEH0jmLBTUeRrgbMRnFMyA==","created_at":"2020-05-19T22:27:29.171000","updated_at":"2020-05-19T22:27:33.519000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6c24eda1d8844c9fa13fa8cada67d4f1","status":"failed","network":"internal","tracking_key":null},{"id":"TRkNkRAmXCSy-TKtZKMuyrEQ==","created_at":"2020-05-19T22:27:28.729000","updated_at":"2020-05-19T22:27:31.552000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4d89df634edf41a69f48ff8f60ed319d","status":"failed","network":"internal","tracking_key":null},{"id":"TR-PpUXzD-Rkqa-7Fw4dpyNg==","created_at":"2020-05-19T22:27:28.271000","updated_at":"2020-05-19T22:27:40.506000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9f56eb2d5d804141b220ff1ebbff5bdb","status":"failed","network":"internal","tracking_key":null},{"id":"TR3CdwXVBARxm_T9gJWU18Zw==","created_at":"2020-05-19T22:27:27.769000","updated_at":"2020-05-19T22:27:32.612000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3eb719fbdcba4b36a7e8cbf3cf05d0d5","status":"failed","network":"internal","tracking_key":null},{"id":"TRIBNmvRRxQBiCPf6weA_XAA==","created_at":"2020-05-19T22:27:27.271000","updated_at":"2020-05-19T22:27:34.629000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d7b1552ae2ca48aeaa5623b5b84a85da","status":"failed","network":"internal","tracking_key":null},{"id":"TR9ccZDTU-SSikDOwDjOIhVQ==","created_at":"2020-05-19T22:27:26.777000","updated_at":"2020-05-19T22:27:35.497000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"869217a2781d4255b0a8348311ca66c9","status":"failed","network":"internal","tracking_key":null},{"id":"TRstOQO3dPTMekSWRiTGX39Q==","created_at":"2020-05-19T22:27:26.331000","updated_at":"2020-05-19T22:27:29.482000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"18de155ce1a3426bb615393e22e05d58","status":"failed","network":"internal","tracking_key":null},{"id":"TRAZlYNCe6RfSGLsAl7YoeSg==","created_at":"2020-05-19T22:27:25.871000","updated_at":"2020-05-19T22:27:30.656000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"53f80055a21048e1bfb01aba0aade221","status":"failed","network":"internal","tracking_key":null},{"id":"TRrPsEZG8URw-DR4eMWjQb1g==","created_at":"2020-05-19T22:27:25.431000","updated_at":"2020-05-19T22:27:30.578000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"62c8c0e923af44ea9868a86f705d694a","status":"failed","network":"internal","tracking_key":null},{"id":"TR-8e76NXEQqGJNYN3o7IaGQ==","created_at":"2020-05-19T22:27:24.989000","updated_at":"2020-05-19T22:27:34.498000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"54a199ec1d8948549286a38285ed00e1","status":"failed","network":"internal","tracking_key":null},{"id":"TRizMvCNB7RaKs4Xf3F5Hj_A==","created_at":"2020-05-19T22:27:24.489000","updated_at":"2020-05-19T22:27:25.561000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8d8064541ee2445cb651c8849d119bba","status":"failed","network":"internal","tracking_key":null},{"id":"TRb9tmJssDR32pkre2Bxzicw==","created_at":"2020-05-19T22:27:24.031000","updated_at":"2020-05-19T22:27:26.575000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6d52019814164ff0bb0bb177117e9f0f","status":"failed","network":"internal","tracking_key":null},{"id":"TRxXa8rhhQSkK8zMMAY5OLXg==","created_at":"2020-05-19T22:27:23.512000","updated_at":"2020-05-19T22:27:26.503000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d549a20bf53f479d9d325912b1738df4","status":"failed","network":"internal","tracking_key":null},{"id":"TRFi9JOg05TYuflw0aB5GWlQ==","created_at":"2020-05-19T22:27:22.989000","updated_at":"2020-05-19T22:27:23.553000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3623b33c1b8c484b97f5dcdfe55ebf87","status":"failed","network":"internal","tracking_key":null},{"id":"TRe2E89GJkRzO7AmJ0mQFqww==","created_at":"2020-05-19T22:27:22.490000","updated_at":"2020-05-19T22:27:30.509000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"66f5c9c4401d4b828c8e00ae636f94ed","status":"failed","network":"internal","tracking_key":null},{"id":"TRG8OJlAK1SyirL1CD_3kUoQ==","created_at":"2020-05-19T22:27:22.051000","updated_at":"2020-05-19T22:27:23.482000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"669c96f7e2d8476bba52503db4b16837","status":"failed","network":"internal","tracking_key":null},{"id":"TR35prem8UQXO42_pytCimXA==","created_at":"2020-05-19T22:27:21.591000","updated_at":"2020-05-19T22:27:22.547000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6a81e06d1eee4a90b002668743c432c0","status":"failed","network":"internal","tracking_key":null},{"id":"TRqC4u7dbWRe6ZEfpgeIJ5lg==","created_at":"2020-05-19T22:27:21.093000","updated_at":"2020-05-19T22:27:25.490000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e4abdc4e0afb4ad090b7e74426eb07c9","status":"failed","network":"internal","tracking_key":null},{"id":"TRCn4wq_UrQiCPw2DGTKBwYA==","created_at":"2020-05-19T22:27:20.629000","updated_at":"2020-05-19T22:27:21.568000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"227a236646644a58ab92c104479081b7","status":"failed","network":"internal","tracking_key":null},{"id":"TRAAeOckmZQB6ruwCKcGO7FA==","created_at":"2020-05-19T22:27:19.911000","updated_at":"2020-05-19T22:27:22.475000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8d123c1a7197404ca5b37d1ff58c9469","status":"failed","network":"internal","tracking_key":null},{"id":"TRtBm73U2kTvyoCAWWZu_c0Q==","created_at":"2020-05-19T22:27:19.372000","updated_at":"2020-05-19T22:27:27.540000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"aeebcd44860649f9b8626dcb302f1e12","status":"failed","network":"internal","tracking_key":null},{"id":"TRSFYmCOWFQF22VMv55_4hCA==","created_at":"2020-05-19T22:27:18.831000","updated_at":"2020-05-19T22:27:19.507000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"2a2ae344132d40618260cf5fd410bc86","status":"failed","network":"internal","tracking_key":null},{"id":"TRyXgoH5vnRBuXJ-0B8_oSxg==","created_at":"2020-05-19T22:27:18.389000","updated_at":"2020-05-19T22:27:21.501000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"029c78d88e13457cb70a1074850a8200","status":"failed","network":"internal","tracking_key":null},{"id":"TRsX9qO0NQRhG4gC6k_EHPfA==","created_at":"2020-05-19T22:27:17.951000","updated_at":"2020-05-19T22:27:28.631000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7b9174b7edc44b10a63848fd929c117d","status":"failed","network":"internal","tracking_key":null},{"id":"TRLjpJh-bxR5eR51Mm-76t3w==","created_at":"2020-05-19T22:27:17.431000","updated_at":"2020-05-19T22:27:20.608000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c83accc4733442d2b5c95aee3c49ec25","status":"failed","network":"internal","tracking_key":null},{"id":"TRaHSAebAtS72H_SdTUrCyQg==","created_at":"2020-05-19T22:27:16.989000","updated_at":"2020-05-19T22:27:24.558000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e83c4aeee6a64bf8b7f162b129e28fbc","status":"failed","network":"internal","tracking_key":null},{"id":"TR8sv8XLmvTpiHQlQZy9F6pA==","created_at":"2020-05-19T22:27:16.549000","updated_at":"2020-05-19T22:27:28.552000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"904466234a2f4194b023e13cc0bf44fb","status":"failed","network":"internal","tracking_key":null},{"id":"TRqeQwx35cT5-B8GQp4yF5Zg==","created_at":"2020-05-19T22:27:16.109000","updated_at":"2020-05-19T22:27:24.491000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d2a1f348de344c5f8360c99701a10ff2","status":"failed","network":"internal","tracking_key":null},{"id":"TRaIBo7DlDQB-5V7dVgHCPHg==","created_at":"2020-05-19T22:27:15.655000","updated_at":"2020-05-19T22:27:17.542000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4130d23bd9314f03970522fe8e21b3c4","status":"failed","network":"internal","tracking_key":null},{"id":"TRY9ikK-7HSWeJk0JXYsClVg==","created_at":"2020-05-19T22:27:15.150000","updated_at":"2020-05-19T22:27:28.491000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7e73f05d365747c7a4e10284b3baa5dd","status":"failed","network":"internal","tracking_key":null},{"id":"TRKIExB2qlQOGwugB3tzQCcQ==","created_at":"2020-05-19T22:27:14.669000","updated_at":"2020-05-19T22:27:15.506000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"62e4e9b7671a482a83fad1f6c1856ff7","status":"failed","network":"internal","tracking_key":null},{"id":"TRevzKLIrrTMKDy2grkxj_Gg==","created_at":"2020-05-19T22:27:14.131000","updated_at":"2020-05-19T22:27:18.500000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"532ae145b9f4452bbeb77b6c1cf55287","status":"failed","network":"internal","tracking_key":null},{"id":"TR8-JYN9ItTASHS-6Ooxi-ww==","created_at":"2020-05-19T22:27:13.591000","updated_at":"2020-05-19T22:27:16.641000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"98da624f1b274e7cb7df39f9c5e133e2","status":"failed","network":"internal","tracking_key":null},{"id":"TRySFx80FsQ3SpPDOehIMlgA==","created_at":"2020-05-19T22:27:13.111000","updated_at":"2020-05-19T22:27:16.498000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"21a70ba816f646e0906cd190ca5b297b","status":"failed","network":"internal","tracking_key":null},{"id":"TRnf94MnidRqqjEsigDwD57w==","created_at":"2020-05-19T22:27:12.589000","updated_at":"2020-05-19T22:27:14.473000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8ed1d94352544605b134d28d9a343792","status":"failed","network":"internal","tracking_key":null},{"id":"TRCuUJlqmaTUqTVYUFdh0jxQ==","created_at":"2020-05-19T22:27:12.091000","updated_at":"2020-05-19T22:27:13.698000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"49f6466f8cd1420e9fe1105fe993bdf5","status":"failed","network":"internal","tracking_key":null},{"id":"TRIDuLDDRHQY27gRpqTfeZbg==","created_at":"2020-05-19T22:27:11.611000","updated_at":"2020-05-19T22:27:13.654000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"dc42b8084fd34564b576691a60f0538c","status":"failed","network":"internal","tracking_key":null},{"id":"TRGXPypqZhRRCkw_IOzeGpdA==","created_at":"2020-05-19T22:27:11.129000","updated_at":"2020-05-19T22:27:13.543000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a41d41ee7d92404dab3fe13e074af657","status":"failed","network":"internal","tracking_key":null},{"id":"TRa1Mvq7UYT2eJbopSTGfPRA==","created_at":"2020-05-19T22:27:10.669000","updated_at":"2020-05-19T22:27:13.584000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"285c7d3440dd43e9ad7acc4dd9d90f0d","status":"failed","network":"internal","tracking_key":null}],"next_page_url":"/transfers?limit=100&created_before=2020-05-19T22%3A27%3A10.669000"}' + headers: + Connection: + - keep-alive + Content-Length: + - '35296' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:56 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - oiBV3TQEpFD6Tw1Jen8xRDH4y0SDcvmVVVeKBmqsnKddpPzoX2xPjA== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e4b-ec669cecd86b0b8cbe048788;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYr3G97IAMFS9Q= + x-amzn-RequestId: + - eae506c9-6c08-43f2-ae90-d8251279ef76 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?limit=100&created_before=2020-05-19T22%3A27%3A10.669000 + response: + body: + string: '{"items":[{"id":"TRVRfsI_RiSi-uMRC5GLSNIw==","created_at":"2020-05-19T22:27:10.191000","updated_at":"2020-05-19T22:27:12.542000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f524ed0b6cc84650a72255b1905a5b5c","status":"failed","network":"internal","tracking_key":null},{"id":"TRp6dLzyt0TZmD_Maei_Qm6A==","created_at":"2020-05-19T22:27:09.669000","updated_at":"2020-05-19T22:27:12.617000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"852ad648e2cb4ff5a40f2f8d59a67c07","status":"failed","network":"internal","tracking_key":null},{"id":"TRJYKupTuXQTSST4OlDoEQXg==","created_at":"2020-05-19T22:27:08.409000","updated_at":"2020-05-19T22:27:11.870000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"cff78e07b2a94d94a11a06c406269652","status":"failed","network":"internal","tracking_key":null},{"id":"TR8337Zkd0SeyyyX5378m7ug==","created_at":"2020-05-19T22:00:58.756000","updated_at":"2020-05-19T22:01:34.298000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7dc0b656aaef4cf3b713febf48a84f3a","status":"failed","network":"internal","tracking_key":null},{"id":"TR9fH7ZhicRduDovaAGU9C1w==","created_at":"2020-05-19T22:00:58.038000","updated_at":"2020-05-19T22:01:07.295000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"31c966032d0843fdba909daa0dd0d09d","status":"failed","network":"internal","tracking_key":null},{"id":"TRcIlTpYNtQIeKMotMX1ZV2w==","created_at":"2020-05-19T22:00:57.436000","updated_at":"2020-05-19T22:00:59.246000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"54abd471b9e144b5bb8f40a8e9af18b7","status":"failed","network":"internal","tracking_key":null},{"id":"TRI6kvIpRgQRSxMBzBDtwKNQ==","created_at":"2020-05-19T22:00:56.858000","updated_at":"2020-05-19T22:01:34.226000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"5cd307f253b249d1bbc0c91b0b9ad98b","status":"failed","network":"internal","tracking_key":null},{"id":"TRtOP1WKdsQpioLyFEgclaTQ==","created_at":"2020-05-19T22:00:56.416000","updated_at":"2020-05-19T22:01:34.138000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a9051d9d55a4472f93f5cdde2abe769a","status":"failed","network":"internal","tracking_key":null},{"id":"TRohwOOsSmT_CSygfjpZX-VA==","created_at":"2020-05-19T22:00:55.776000","updated_at":"2020-05-19T22:01:06.305000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"dddce749f57344b1bb721b9ea9b6c5f6","status":"failed","network":"internal","tracking_key":null},{"id":"TRiOvmDxe7SvqklW8oi3_5ow==","created_at":"2020-05-19T22:00:55.298000","updated_at":"2020-05-19T22:01:10.009000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"cce35e55059f4a0fbe03da239b5f3c82","status":"failed","network":"internal","tracking_key":null},{"id":"TRQLD04AfeQsiEe--sHT50qQ==","created_at":"2020-05-19T22:00:54.797000","updated_at":"2020-05-19T22:00:57.311000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"40d4863ecf2d42dd92a757e2c3308363","status":"failed","network":"internal","tracking_key":null},{"id":"TRXxiFA6YfQlKxxKu-K1QDXg==","created_at":"2020-05-19T22:00:54.357000","updated_at":"2020-05-19T22:01:02.282000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"581fd4cdff524dd5a3c6eb4acc3b0f69","status":"failed","network":"internal","tracking_key":null},{"id":"TRSFJO-1ePQHanGNXbwrV1fw==","created_at":"2020-05-19T22:00:53.796000","updated_at":"2020-05-19T22:01:08.579000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bef76c420aa04fda9fd7b89b3f926f65","status":"failed","network":"internal","tracking_key":null},{"id":"TR-_Z1JshNSfivX83YCBV98w==","created_at":"2020-05-19T22:00:53.340000","updated_at":"2020-05-19T22:01:33.445000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"63ab5e05a9284a2899a0ba62e1e6ada2","status":"failed","network":"internal","tracking_key":null},{"id":"TRUMnmofwNR0aylhkKbr5MDg==","created_at":"2020-05-19T22:00:52.878000","updated_at":"2020-05-19T22:01:05.413000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"89a12cc8fc2b40a2a73efc48d3d242d7","status":"failed","network":"internal","tracking_key":null},{"id":"TRjVu3o7h3TWOzzcnMpWImSw==","created_at":"2020-05-19T22:00:52.276000","updated_at":"2020-05-19T22:00:58.425000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8ffc88b788fc496c98f2848b41ac4d7a","status":"failed","network":"internal","tracking_key":null},{"id":"TRuOeEDjpfRnO2tdd3NMU64Q==","created_at":"2020-05-19T22:00:51.816000","updated_at":"2020-05-19T22:00:58.329000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"2d5001793b5047d39b4ac963f98e63e5","status":"failed","network":"internal","tracking_key":null},{"id":"TR97bbu5YQQvqi0nNKr6i8Mw==","created_at":"2020-05-19T22:00:51.378000","updated_at":"2020-05-19T22:01:08.425000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"188e70a4add4464c862cbeda2cbce1fc","status":"failed","network":"internal","tracking_key":null},{"id":"TRoJuSr9zfR2m3Zmft0mg5FA==","created_at":"2020-05-19T22:00:50.938000","updated_at":"2020-05-19T22:00:52.260000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"89a85eb2ec8242c2851737c0e7c89c87","status":"failed","network":"internal","tracking_key":null},{"id":"TRaFfoCp7tS4SZfeJeBBAQFA==","created_at":"2020-05-19T22:00:50.476000","updated_at":"2020-05-19T22:00:58.247000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"1ffe268944e44ff6ba7597c3cf30105b","status":"failed","network":"internal","tracking_key":null},{"id":"TRKLGA-I7_Ty-jVTy-UBwrxg==","created_at":"2020-05-19T22:00:49.876000","updated_at":"2020-05-19T22:01:01.311000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8ef5044312a441288bebaced525aede1","status":"failed","network":"internal","tracking_key":null},{"id":"TRSjVQsppURV6zgoTfX5zLkA==","created_at":"2020-05-19T22:00:49.396000","updated_at":"2020-05-19T22:01:08.319000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d986206522ed4fbc8c43e1ec3f5649d5","status":"failed","network":"internal","tracking_key":null},{"id":"TRph1mxH7KQYGhNXTp09bsig==","created_at":"2020-05-19T22:00:48.956000","updated_at":"2020-05-19T22:01:04.271000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"559d6156e0c04df9b1fb59e85915742d","status":"failed","network":"internal","tracking_key":null},{"id":"TRSe0wn4EDQSOlBaE5pvU0FQ==","created_at":"2020-05-19T22:00:48.436000","updated_at":"2020-05-19T22:01:05.341000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"06cd6516d7fd4c879a2c3d9bd473dae1","status":"failed","network":"internal","tracking_key":null},{"id":"TRKAIX2vqHQyS8YlgN2yaUgQ==","created_at":"2020-05-19T22:00:47.978000","updated_at":"2020-05-19T22:00:56.262000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d78d1b94d5154f6b88cce03a01189658","status":"failed","network":"internal","tracking_key":null},{"id":"TRINbrHrFnSmakM_3w_9u8YA==","created_at":"2020-05-19T22:00:47.478000","updated_at":"2020-05-19T22:00:50.335000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"4fc460cbd5c24f64be17d3013743f0fe","status":"failed","network":"internal","tracking_key":null},{"id":"TRZOexfHjGQ6-takf_HNkE-Q==","created_at":"2020-05-19T22:00:47.016000","updated_at":"2020-05-19T22:00:50.267000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"88525b3dcf1045e388dc42546fb59be6","status":"failed","network":"internal","tracking_key":null},{"id":"TRSSMU8TEbQpGX3kXWfmDVvA==","created_at":"2020-05-19T22:00:46.179000","updated_at":"2020-05-19T22:00:48.395000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"88d2f7b6b462485d948f3dd2fafa96c3","status":"failed","network":"internal","tracking_key":null},{"id":"TRUwCLFXn1TmeXpwhDWDd9jw==","created_at":"2020-05-19T22:00:45.618000","updated_at":"2020-05-19T22:01:05.264000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ad92139b18ef4ee4bc6ca74459d2614d","status":"failed","network":"internal","tracking_key":null},{"id":"TRXdDcfZ1fRn2lHTtLKE3rnQ==","created_at":"2020-05-19T22:00:45.118000","updated_at":"2020-05-19T22:00:48.308000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e558bad911da4d3092630028c9867d15","status":"failed","network":"internal","tracking_key":null},{"id":"TRVwucydW6SfOn6ipr7QYnjA==","created_at":"2020-05-19T22:00:44.660000","updated_at":"2020-05-19T22:00:47.317000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ec0c0745666c4b1e817f6b66680115c3","status":"failed","network":"internal","tracking_key":null},{"id":"TRlkMy9aKuTVGe1UOYRDFlZg==","created_at":"2020-05-19T22:00:44.198000","updated_at":"2020-05-19T22:00:46.333000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bc97486e515840eab27a9ac45cf9edfc","status":"failed","network":"internal","tracking_key":null},{"id":"TRDhQu5OxPSCqn5tlKAx4--A==","created_at":"2020-05-19T22:00:43.697000","updated_at":"2020-05-19T22:00:53.384000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"315322c3e84040e68308e5e0942086c8","status":"failed","network":"internal","tracking_key":null},{"id":"TRpYMWaOP3RZqFuN80cGBBpA==","created_at":"2020-05-19T22:00:43.096000","updated_at":"2020-05-19T22:00:46.255000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"dd7b82ff74f9417994ee308a2d7afa0b","status":"failed","network":"internal","tracking_key":null},{"id":"TRfgEw20x9QiOjNf80Jtr5-g==","created_at":"2020-05-19T22:00:42.664000","updated_at":"2020-05-19T22:01:03.423000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8173a05428644553b4be4b75a7b47f53","status":"failed","network":"internal","tracking_key":null},{"id":"TREyf1Ox7iTAyilFnjETD_4w==","created_at":"2020-05-19T22:00:42.178000","updated_at":"2020-05-19T22:01:03.344000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"497483d607474d82a0c7d69932d2dda4","status":"failed","network":"internal","tracking_key":null},{"id":"TRUFcalSwoSLK5oxB7RyX-XA==","created_at":"2020-05-19T22:00:41.718000","updated_at":"2020-05-19T22:00:53.325000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b2bb36d53128447daf3ff1283222305c","status":"failed","network":"internal","tracking_key":null},{"id":"TR5Mn3tQt5QwWYgEFAXYGk0Q==","created_at":"2020-05-19T22:00:41.196000","updated_at":"2020-05-19T22:01:03.273000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"30d61d7752a242a7b3d0c6d3c3b0222d","status":"failed","network":"internal","tracking_key":null},{"id":"TRSyreYf7dS1SYq-25_H_0lg==","created_at":"2020-05-19T22:00:40.737000","updated_at":"2020-05-19T22:00:42.328000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"cfca7971f2264cbb97e2672c4c48cd38","status":"failed","network":"internal","tracking_key":null},{"id":"TRkKUdbr6hRTeEJhfnRlezhw==","created_at":"2020-05-19T22:00:40.219000","updated_at":"2020-05-19T22:00:43.257000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"693e02db1309419ab1948472e6acde6d","status":"failed","network":"internal","tracking_key":null},{"id":"TR637AEsWhQHudWn7k8cOL7w==","created_at":"2020-05-19T22:00:39.638000","updated_at":"2020-05-19T22:00:42.248000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c607d770275a45799f9f473a6302b916","status":"failed","network":"internal","tracking_key":null},{"id":"TRZKoAOM_xRbiKc3hMv4youg==","created_at":"2020-05-19T22:00:39.176000","updated_at":"2020-05-19T22:00:53.250000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0190605646a6474e89964efcacc04414","status":"failed","network":"internal","tracking_key":null},{"id":"TRhOtwwGMRQOaMvVcPwCK1Cw==","created_at":"2020-05-19T22:00:38.736000","updated_at":"2020-05-19T22:00:49.277000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"85415dde6fde4ff28ed4022308e33273","status":"failed","network":"internal","tracking_key":null},{"id":"TRL2v0WvnRSDqNRi83dmpNTA==","created_at":"2020-05-19T22:00:38.138000","updated_at":"2020-05-19T22:00:48.238000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"1ac0e451d9a04218ab3e4c9588152ffb","status":"failed","network":"internal","tracking_key":null},{"id":"TRoqG1dQMqQ4yQodgUO9vcLA==","created_at":"2020-05-19T22:00:37.718000","updated_at":"2020-05-19T22:01:00.745000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d6a10ae1ae0144f98798ad47e63b961a","status":"failed","network":"internal","tracking_key":null},{"id":"TRXGofZl26R2OuhzOy_11UNw==","created_at":"2020-05-19T22:00:37.158000","updated_at":"2020-05-19T22:00:45.230000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"22399ef447c140b2b2d9dbd2d6264753","status":"failed","network":"internal","tracking_key":null},{"id":"TROEYzyX5gRMKcGm9ClNaQrQ==","created_at":"2020-05-19T22:00:36.598000","updated_at":"2020-05-19T22:00:41.245000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f1f17407dc154e77a62c997d20092de3","status":"failed","network":"internal","tracking_key":null},{"id":"TRJ9SsevrhTsa8NwKZqo96Ng==","created_at":"2020-05-19T22:00:36.158000","updated_at":"2020-05-19T22:00:40.215000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c0ab04702f0e4ed5b7d81c55c75c49aa","status":"failed","network":"internal","tracking_key":null},{"id":"TR7Btvb_OyQDajk2bupnERUg==","created_at":"2020-05-19T22:00:35.679000","updated_at":"2020-05-19T22:00:38.324000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c85ad4252cc14da4a8aea67624098984","status":"failed","network":"internal","tracking_key":null},{"id":"TRUY3KaIkTQNajhlBtCYQC6Q==","created_at":"2020-05-19T22:00:35.138000","updated_at":"2020-05-19T22:00:36.346000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f23ef209f9354d639f6f099649e20fec","status":"failed","network":"internal","tracking_key":null},{"id":"TRGCY083WqQ2uFMHM9URvsog==","created_at":"2020-05-19T22:00:34.659000","updated_at":"2020-05-19T22:00:37.245000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b1aadbd4731d47a1bad34a0d9e7526b8","status":"failed","network":"internal","tracking_key":null},{"id":"TRJaS0Lt6GQBmD1b9jBR5vtw==","created_at":"2020-05-19T22:00:34.156000","updated_at":"2020-05-19T22:01:00.347000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"7884f61cee90449d9f63a3cc860c3fc1","status":"failed","network":"internal","tracking_key":null},{"id":"TR66FVWhzrTceIl2x2lvUVWQ==","created_at":"2020-05-19T22:00:33.696000","updated_at":"2020-05-19T22:00:35.264000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"9d2e39688dd64365bee64ed43726e291","status":"failed","network":"internal","tracking_key":null},{"id":"TRPcJWkioYQDK1sQ877qt8DA==","created_at":"2020-05-19T22:00:33.238000","updated_at":"2020-05-19T22:00:44.433000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8ddcc473c8e24ef9bbbaac98e7cb14d9","status":"failed","network":"internal","tracking_key":null},{"id":"TRhefm1uC-TcSaLVoPNrTsyw==","created_at":"2020-05-19T22:00:32.658000","updated_at":"2020-05-19T22:00:33.316000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"195d036ed81d4c3380013751dd3391f5","status":"failed","network":"internal","tracking_key":null},{"id":"TRAA751rYtQ2miXCYeXTmfVQ==","created_at":"2020-05-19T22:00:32.178000","updated_at":"2020-05-19T22:01:00.266000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b701368329dd4fccbede2f9bf6ba8f77","status":"failed","network":"internal","tracking_key":null},{"id":"TRr9BaFNXmSDKya_Z7Udg7XQ==","created_at":"2020-05-19T22:00:31.720000","updated_at":"2020-05-19T22:00:51.345000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"3a9160e8845c43569c32f685c3cccb68","status":"failed","network":"internal","tracking_key":null},{"id":"TRHv7Yxz2iTqaoFQx0cGD-Vw==","created_at":"2020-05-19T22:00:31.255000","updated_at":"2020-05-19T22:00:32.237000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"909bedbdbc164404a24121eefe139d96","status":"failed","network":"internal","tracking_key":null},{"id":"TR6BUV8NADQJ6Hd10j9NObQg==","created_at":"2020-05-19T22:00:30.798000","updated_at":"2020-05-19T22:00:44.362000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"555e4e5dc97949ef9000910007ce6256","status":"failed","network":"internal","tracking_key":null},{"id":"TRJKybM5NvRNSDDHJMVjUgZA==","created_at":"2020-05-19T22:00:30.317000","updated_at":"2020-05-19T22:00:36.248000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"8f809a14ec294460975bf310fdb2e95e","status":"failed","network":"internal","tracking_key":null},{"id":"TRX3DUppv6SWm6fW7QqNVFpA==","created_at":"2020-05-19T22:00:29.719000","updated_at":"2020-05-19T22:00:31.328000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"57aa71ffefa74d569869a2f68109b211","status":"failed","network":"internal","tracking_key":null},{"id":"TRlpzm5wfbTMC74AwNBX8R9A==","created_at":"2020-05-19T22:00:29.218000","updated_at":"2020-05-19T22:00:44.289000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b5d72e737184447f8a074fdf6b672e6d","status":"failed","network":"internal","tracking_key":null},{"id":"TRQZMuWiL7TyS_EmMWTurIKA==","created_at":"2020-05-19T22:00:28.756000","updated_at":"2020-05-19T22:00:51.249000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0507a10b20a34fc9976b6282f4288316","status":"failed","network":"internal","tracking_key":null},{"id":"TR5Qo6__TLQoyz1676m7SLXQ==","created_at":"2020-05-19T22:00:28.238000","updated_at":"2020-05-19T22:00:33.235000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d35a9ba475a740c8bf91eee005f79587","status":"failed","network":"internal","tracking_key":null},{"id":"TR8WEk1ycuT8CuTjiijgEsiw==","created_at":"2020-05-19T22:00:27.786000","updated_at":"2020-05-19T22:00:39.395000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"c580c5c0e156404fba7c9519ef37f0f7","status":"failed","network":"internal","tracking_key":null},{"id":"TRml5YJrwcT-O22_jJUcxLww==","created_at":"2020-05-19T22:00:27.296000","updated_at":"2020-05-19T22:00:29.200000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"10bb3fe3be9a4600908eba122395c6c2","status":"failed","network":"internal","tracking_key":null},{"id":"TR97N0MrdBS8Scl-S_59-HEw==","created_at":"2020-05-19T22:00:26.698000","updated_at":"2020-05-19T22:00:31.258000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b66cab1caf484c22b385d24445d895b2","status":"failed","network":"internal","tracking_key":null},{"id":"TRLQjkc77aSBSYEIHCXkZztQ==","created_at":"2020-05-19T22:00:26.217000","updated_at":"2020-05-19T22:00:30.244000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"884331c660914a0892351d18a6ad0c74","status":"failed","network":"internal","tracking_key":null},{"id":"TREr2TVKfGTG2x92ol16rELQ==","created_at":"2020-05-19T22:00:25.757000","updated_at":"2020-05-19T22:00:26.365000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0fa62a4ff6474598aaf9a61b4de1c22d","status":"failed","network":"internal","tracking_key":null},{"id":"TRbBUu55l6R8uBJg8XfLaiQg==","created_at":"2020-05-19T22:00:25.339000","updated_at":"2020-05-19T22:00:39.316000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6fc898642744487abd34aebdc0cdba2f","status":"failed","network":"internal","tracking_key":null},{"id":"TR1M8vodQDTFurtxDrevnagg==","created_at":"2020-05-19T22:00:24.876000","updated_at":"2020-05-19T22:00:26.281000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"aa4c7297809b498da7f1a7055ed2c419","status":"failed","network":"internal","tracking_key":null},{"id":"TRn9EFOACtSv-SYgvxzO7agw==","created_at":"2020-05-19T22:00:24.416000","updated_at":"2020-05-19T22:00:39.244000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"dc0650460692479683330bcc19ded58d","status":"failed","network":"internal","tracking_key":null},{"id":"TR9pJOiK3cSiWyBQwyWFnZmw==","created_at":"2020-05-19T22:00:23.896000","updated_at":"2020-05-19T22:00:34.304000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"92f174feb3ef4bad8da1da3a093db13d","status":"failed","network":"internal","tracking_key":null},{"id":"TRHZLzjJEQQMCX909p7r1WrQ==","created_at":"2020-05-19T22:00:23.318000","updated_at":"2020-05-19T22:00:34.224000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"bc4f010150d445f0a37f71b1b5278c9c","status":"failed","network":"internal","tracking_key":null},{"id":"TRFqbCWaVRT2OmC8Xg3BN-3A==","created_at":"2020-05-19T22:00:22.818000","updated_at":"2020-05-19T22:00:25.220000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0420e596292140139b6d033c718b74a4","status":"failed","network":"internal","tracking_key":null},{"id":"TRGh9ntDg_RmGLwSJwa-ALJQ==","created_at":"2020-05-19T22:00:22.256000","updated_at":"2020-05-19T22:00:24.266000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"20c1b96ca08a46b3b28f6989fc459072","status":"failed","network":"internal","tracking_key":null},{"id":"TR89YJEyVDRSuRBzbRrcWBDg==","created_at":"2020-05-19T22:00:21.716000","updated_at":"2020-05-19T22:00:24.189000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b83921e3e3a64c3f942f59ce4b644e45","status":"failed","network":"internal","tracking_key":null},{"id":"TRlcltcGJwQ9yjM9EsASNGmw==","created_at":"2020-05-19T22:00:21.278000","updated_at":"2020-05-19T22:00:28.385000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"fb11fbb40fb74ffa8c43db20c469c75b","status":"failed","network":"internal","tracking_key":null},{"id":"TR85ySMnOwS52z8UIEE0q-_Q==","created_at":"2020-05-19T22:00:20.796000","updated_at":"2020-05-19T22:00:27.234000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e415d55d1b5a48718f45b60caa2f4aa3","status":"failed","network":"internal","tracking_key":null},{"id":"TRra82T1F6TCKzSlNVBRfH2A==","created_at":"2020-05-19T22:00:20.156000","updated_at":"2020-05-19T22:00:23.358000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"b7dc0eec31a84d1ab5e90fef2072f3d0","status":"failed","network":"internal","tracking_key":null},{"id":"TRy1nIGXa8SwqEhqViMvW-BA==","created_at":"2020-05-19T22:00:19.676000","updated_at":"2020-05-19T22:00:21.217000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"ee2b04c90cf24ce8827c9930ef22574f","status":"failed","network":"internal","tracking_key":null},{"id":"TRspfcYF1ZRhiBs7FxOlmC3w==","created_at":"2020-05-19T22:00:19.136000","updated_at":"2020-05-19T22:00:20.219000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"05b9d2478cb3497b957680024c38d982","status":"failed","network":"internal","tracking_key":null},{"id":"TRRvcUPY-ZRk6glzcN1xafyQ==","created_at":"2020-05-19T22:00:18.459000","updated_at":"2020-05-19T22:00:28.305000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"91151fc745c14fd3b07765b0e0641435","status":"failed","network":"internal","tracking_key":null},{"id":"TRgp6c1NuRTtaw5fSKpbsHxQ==","created_at":"2020-05-19T22:00:17.916000","updated_at":"2020-05-19T22:00:23.304000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"89299b5c9ec04258bde098642bad80f7","status":"failed","network":"internal","tracking_key":null},{"id":"TRfn6q63exSMazg33BAcbypg==","created_at":"2020-05-19T22:00:17.478000","updated_at":"2020-05-19T22:00:19.204000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"59828ad04b8046068f08936029906594","status":"failed","network":"internal","tracking_key":null},{"id":"TRQWkfqzrfRN21s8tMyKkNZQ==","created_at":"2020-05-19T22:00:16.916000","updated_at":"2020-05-19T22:00:18.345000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"39308baf18cf4168890e0a9b647cb9ae","status":"failed","network":"internal","tracking_key":null},{"id":"TRD70kctrbTvuI_nzA6sbTZQ==","created_at":"2020-05-19T22:00:16.158000","updated_at":"2020-05-19T22:00:17.223000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"196e7e700603473d86682c598470e29c","status":"failed","network":"internal","tracking_key":null},{"id":"TROT5scdICTtO350NIPy4lug==","created_at":"2020-05-19T22:00:15.736000","updated_at":"2020-05-19T22:00:28.217000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d2010f9947644410a17b7864d33e69d1","status":"failed","network":"internal","tracking_key":null},{"id":"TRcdclpoiTSnOaqmpENw1t-w==","created_at":"2020-05-19T22:00:15.256000","updated_at":"2020-05-19T22:00:18.261000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"947c24d704734518921528539e55731c","status":"failed","network":"internal","tracking_key":null},{"id":"TRb9ilP7zgTHeTj7pCyInQEw==","created_at":"2020-05-19T22:00:14.678000","updated_at":"2020-05-19T22:00:16.206000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"1d9092f3c14d4cbf9077f3af2da74fbd","status":"failed","network":"internal","tracking_key":null},{"id":"TR4wmzcGUlQtm-cgxzgCuFYA==","created_at":"2020-05-19T22:00:14.219000","updated_at":"2020-05-19T22:00:22.336000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"0a1ae6ce09f840c8a4c86a4737b2800e","status":"failed","network":"internal","tracking_key":null},{"id":"TRG7jSpmiRTBCFx7ELDHpPHA==","created_at":"2020-05-19T22:00:13.696000","updated_at":"2020-05-19T22:00:15.221000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"62c013e2352a48e692ceaef971f6336a","status":"failed","network":"internal","tracking_key":null},{"id":"TRHTgFjzWGTgutQ9dGzeouIw==","created_at":"2020-05-19T22:00:13.196000","updated_at":"2020-05-19T22:00:18.191000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"685abd8184464ee6b570bcaefc59dda9","status":"failed","network":"internal","tracking_key":null},{"id":"TRs6SufUjoToiyg8-aoDIEVw==","created_at":"2020-05-19T22:00:12.696000","updated_at":"2020-05-19T22:00:13.410000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"f66200f495bc49a2bfa2d511fc7c1f4f","status":"failed","network":"internal","tracking_key":null},{"id":"TRZFy1KRKXSwCTlzM0v4VesQ==","created_at":"2020-05-19T22:00:12.177000","updated_at":"2020-05-19T22:00:14.205000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"23f05fd47eb44448ba51dc53be071bb4","status":"failed","network":"internal","tracking_key":null},{"id":"TRA8i5unnhTvqxzSokEuEt6w==","created_at":"2020-05-19T22:00:11.556000","updated_at":"2020-05-19T22:00:13.325000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a91818d09c664ceb90f8d373a81a7ed0","status":"failed","network":"internal","tracking_key":null},{"id":"TRT1DqrDu1S2WA-AqpXEkrIQ==","created_at":"2020-05-19T22:00:11.076000","updated_at":"2020-05-19T22:00:22.228000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"6cc3ac27937b4cc8aad848fecc016635","status":"failed","network":"internal","tracking_key":null},{"id":"TRbD353LHZSbW4pmZJovNqwA==","created_at":"2020-05-19T22:00:10.296000","updated_at":"2020-05-19T22:00:11.212000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"2262dfaf7b494b13bea62edd2aba05b8","status":"failed","network":"internal","tracking_key":null},{"id":"TRJcILfqJLRDGGEgUf2Bp4Sw==","created_at":"2020-05-19T22:00:09.716000","updated_at":"2020-05-19T22:00:12.218000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"d9e30a354aa240f7b05443baf9096cb5","status":"failed","network":"internal","tracking_key":null},{"id":"TRjTIMlZ52ROec2nIA4PqefA==","created_at":"2020-05-19T22:00:09.216000","updated_at":"2020-05-19T22:00:10.241000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"e1fda51348d041909b48fbdb33bb7974","status":"failed","network":"internal","tracking_key":null}],"next_page_url":"/transfers?limit=100&created_before=2020-05-19T22%3A00%3A09.216000"}' + headers: + Connection: + - keep-alive + Content-Length: + - '35296' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:57 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - UytXc5dzvAdyfJ2szlfsqMNq-ok_0LDqXBPRNGEy-k6KHcVXceB0Rg== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e4c-ad1554608410d82d7580bd51;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYr_GJeoAMFRDg= + x-amzn-RequestId: + - e1b83cdb-0559-44b4-89e4-689656a583bf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?limit=100&created_before=2020-05-19T22%3A00%3A09.216000 + response: + body: + string: '{"items":[{"id":"TR0RtmETUAQuSe0A1jspqu0w==","created_at":"2020-05-19T22:00:08.617000","updated_at":"2020-05-19T22:00:12.285000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"421889d73dcc4af6a14cd39c54bdbaac","status":"failed","network":"internal","tracking_key":null},{"id":"TRBCbUN-jWR7iIVMTF4dw29g==","created_at":"2020-05-19T22:00:07.939000","updated_at":"2020-05-19T22:00:10.922000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"a17928b8e6994a6cbbe2091e160a48e0","status":"failed","network":"internal","tracking_key":null},{"id":"TRTl-RKPIoSiabqaqX9YruFg==","created_at":"2020-05-19T22:00:06.636000","updated_at":"2020-05-19T22:00:10.131000","account_number":"646180157042875763","recipient_name":"Benito + Ju\u00e1rez","amount":12345,"descriptor":"sending money","idempotency_key":"cf0c854c318a4b5b95c6af867c5376cf","status":"failed","network":"internal","tracking_key":null},{"id":"TRqCCl4tyBQnSyR8YvP1Og6A==","created_at":"2020-05-19T19:34:36.343000","updated_at":"2020-05-19T19:35:37.286000","account_number":"646180157034181180","recipient_name":"Rogelio","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"key_roger_1","status":"pending","network":"internal","tracking_key":null},{"id":"TRhKxyL1lhQvSiMx7whOpEJA==","created_at":"2020-05-19T19:34:31.400000","updated_at":"2020-05-19T19:34:34.985000","account_number":"646180157034181180","recipient_name":"Rogelio","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"key_roger_2","status":"succeeded","network":"internal","tracking_key":null},{"id":"TRRAnqEwwRRZWVgwbDjtAGeA==","created_at":"2020-05-19T19:07:10.018000","updated_at":"2020-05-19T19:07:14.234000","account_number":"646180157034181180","recipient_name":"Rogelio","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"key_roger_3","status":"succeeded","network":"internal","tracking_key":null}],"next_page_url":"/transfers?limit=100&created_before=2020-05-19T19%3A07%3A10.018000"}' + headers: + Connection: + - keep-alive + Content-Length: + - '2134' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:57 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - MIUiB-ZtHUaBy-O3LipM5vVKAQdCvkEQEugrrqvkECQxEPJVkaSF0Q== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e4d-3f4702e3600ee051a3f53d7f;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYsHGEKoAMFivw= + x-amzn-RequestId: + - ff66faf9-9985-4e68-b170-2d24bac5f314 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.2dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?limit=100&created_before=2020-05-19T19%3A07%3A10.018000 + response: + body: + string: '{"items":[],"next_page_url":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + Date: + - Tue, 19 May 2020 23:39:57 GMT + Via: + - 1.1 8f99d698624c0704470547731241e283.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - uhvj64QVfymknNaHg4b7aBOsIN4q5Gp6JrrfjOpfQzXHbxf---8jeQ== + X-Amz-Cf-Pop: + - MIA3-C3 + X-Amzn-Trace-Id: + - Root=1-5ec46e4d-c001f8859e5493bf9d64c6d1;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MzYsKHgsoAMF3mQ= + x-amzn-RequestId: + - c2cedd66-1067-4206-ab5d-49ec339b85e5 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_create.yaml b/tests/resources/cassettes/test_transfers_create.yaml new file mode 100644 index 00000000..99a91b6c --- /dev/null +++ b/tests/resources/cassettes/test_transfers_create.yaml @@ -0,0 +1,102 @@ +interactions: +- request: + body: '{"account_number": "646180157034181180", "amount": 10000, "descriptor": + "Mi primer transferencia", "recipient_name": "Rogelio Lopez", "idempotency_key": + "my_custom_id"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + Content-Length: + - '167' + Content-Type: + - application/json + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: POST + uri: https://sandbox.cuenca.com/transfers + response: + body: + string: '{"id":"TRykH9-lXrS6iJocclOl4ATQ==","created_at":"2020-05-11T18:41:00.332534","updated_at":"2020-05-11T18:41:00.352103","account_number":"646180157034181180","recipient_name":"Rogelio + Lopez","amount":10000,"descriptor":"Mi primer transferencia","idempotency_key":"my_custom_id","status":"pending","network":"internal","tracking_key":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '330' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:41:02 GMT + Via: + - 1.1 10d5043185168ff98a7c4be514b70521.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - sdzCZsXYzDxhVRAqhkB5wtcsXzTWjyARU842u5XDEo_qg8gyW8uIQw== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb99c3c-54fdb29188beac4b8d3c9fac;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYVZbGDfIAMFogw= + x-amzn-RequestId: + - b488f64c-4a76-4a45-9405-301ae5456791 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers/TRykH9-lXrS6iJocclOl4ATQ== + response: + body: + string: '{"id":"TRykH9-lXrS6iJocclOl4ATQ==","created_at":"2020-05-11T18:41:00.332000","updated_at":"2020-05-11T18:41:01.352000","account_number":"646180157034181180","recipient_name":"Rogelio + Lopez","amount":10000,"descriptor":"Mi primer transferencia","idempotency_key":"my_custom_id","status":"succeeded","network":"internal","tracking_key":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '338' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:43:54 GMT + Via: + - 1.1 10d5043185168ff98a7c4be514b70521.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - E6tp7iuaCI5cBUAzt5i_RlxRJlnT_YSHes0csCR9017weDY79ybrPA== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb99ce8-bffe2150b0d161402b4dabe0;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYV0UGTUIAMFZRQ= + x-amzn-RequestId: + - 6904c847-bb49-4ac7-bdcc-b2f97d201602 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_first.yaml b/tests/resources/cassettes/test_transfers_first.yaml new file mode 100644 index 00000000..13422a8d --- /dev/null +++ b/tests/resources/cassettes/test_transfers_first.yaml @@ -0,0 +1,95 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?account_number=646180157013244941&limit=1 + response: + body: + string: '{"items":[{"id":"TRGtslEptDT0-_cVVLmXojBg==","created_at":"2020-05-08T23:12:25.042000","updated_at":"2020-05-08T23:12:28.854000","account_number":"646180157013244941","recipient_name":"test + 85d91ea6-76b6-49ab-913b-0481e8df7379","amount":8888,"descriptor":"lambda","idempotency_key":"b2bf01cb-da5f-4a42-9462-23078b81b6ea","status":"failed","network":"internal","tracking_key":null}],"next_page_url":"/transfers?account_number=646180157013244941&created_before=2020-05-08T23%3A12%3A25.042000&limit=1&count=False"}' + headers: + Connection: + - keep-alive + Content-Length: + - '504' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:21:41 GMT + Via: + - 1.1 fb8e6daa39bc4124e46750734008822c.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - HYeLiUbglrXQqpCaUNSzv4_ySICvrBMaeM-dtJiutm4nTyKrZKJz8A== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb997b5-450d92fbc5af694a8baf43af;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYSkUGDhIAMFY6Q= + x-amzn-RequestId: + - ccd8399e-0714-4ce7-a46a-5d7a554f85e4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?account_number=bad_account&limit=1 + response: + body: + string: '{"items":[],"next_page_url":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:21:41 GMT + Via: + - 1.1 fb8e6daa39bc4124e46750734008822c.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - FRm5o3iRXnATqXkoBmnNKXa7B6lttiVDeh2JBXyBiqmLiwi5nvJPIQ== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb997b5-b5322857a5dcc2fdd9793714;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYSkXF25oAMFYCw= + x-amzn-RequestId: + - 81840d9f-0a46-42b3-88c1-077036d457cb + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_one.yaml b/tests/resources/cassettes/test_transfers_one.yaml new file mode 100644 index 00000000..5136a3ab --- /dev/null +++ b/tests/resources/cassettes/test_transfers_one.yaml @@ -0,0 +1,49 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?idempotency_key=idempotency_key_1&limit=2 + response: + body: + string: '{"items":[{"id":"TR6sozlFsTQsGxzwQfWm5N_g==","created_at":"2020-05-07T17:01:30.774000","updated_at":"2020-05-07T17:01:30.794000","account_number":"646180157034181180","recipient_name":"test","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"idempotency_key_1","status":"pending","network":"internal","tracking_key":null}],"next_page_url":"/transfers?idempotency_key=idempotency_key_1&created_before=2020-05-07T17%3A01%3A30.774000&limit=2&count=False"}' + headers: + Connection: + - keep-alive + Content-Length: + - '460' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:21:40 GMT + Via: + - 1.1 991cddfa34f7096aab42079b287a0629.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - ArZfCoaAzFFoOAWAUyy7cy2Wr1x7cXlufbUHMWPAmLHgD6e6O00hPA== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb997b4-64d09900003c7c004f33aa00;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYSkKE6IIAMFY0g= + x-amzn-RequestId: + - 2024b44b-6111-477d-8cd9-0f4b1043f197 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_one_errors.yaml b/tests/resources/cassettes/test_transfers_one_errors.yaml new file mode 100644 index 00000000..6bafc03a --- /dev/null +++ b/tests/resources/cassettes/test_transfers_one_errors.yaml @@ -0,0 +1,96 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?idempotency_key=wrong_key&limit=2 + response: + body: + string: '{"items":[],"next_page_url":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:21:40 GMT + Via: + - 1.1 4e6b2f68c53dbedd5953c188691cfdf3.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - Dick_0sNbtPgK-n-KHkgA6qwLTmUqj4XmOdkeZMXQ2P4erhbvgpi-g== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb997b4-ea5859e058405fe0f2ca68e0;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYSkPEs0IAMFhPw= + x-amzn-RequestId: + - 9b6c0958-932a-48bf-bd9c-d839baf8d428 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers?status=pending&limit=2 + response: + body: + string: '{"items":[{"id":"TRIeJD25AJTCaaqd5mvSz-hA==","created_at":"2020-05-08T22:48:19.624000","updated_at":"2020-05-08T22:48:19.643000","account_number":"646180157013244941","recipient_name":"test + ec941f79-0c0f-4c1a-9648-4ca221103b9b","amount":8888,"descriptor":"lambda","idempotency_key":"ee3d8fbb-e2b6-4c81-94ea-b4ff240a2913","status":"pending","network":"internal","tracking_key":null},{"id":"TRo4iQvJD5TreE51v3_cVLlA==","created_at":"2020-05-08T19:53:29.917000","updated_at":"2020-05-08T19:53:29.937000","account_number":"646180157013244941","recipient_name":"pach + 31fe4f55-b7c8-49a5-bec4-460e62b94cf9","amount":8888,"descriptor":"lambda","idempotency_key":"972a5034-91de-4fb8-99a2-9733afc4065b","status":"pending","network":"internal","tracking_key":null}],"next_page_url":"/transfers?created_before=2020-05-08T19%3A53%3A29.917000&status=pending&limit=2&count=False"}' + headers: + Connection: + - keep-alive + Content-Length: + - '851' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:21:40 GMT + Via: + - 1.1 4e6b2f68c53dbedd5953c188691cfdf3.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - KiXqqSIngsMZVG4wNJWgwhqB5Z94b3wlIIv0OYr3IBv0LwQAQ9zxig== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb997b4-11eedcdc59b40aea5ed9e1c2;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYSkRENGoAMFmgw= + x-amzn-RequestId: + - 84de0e41-4beb-435e-b1c1-cc68350dcc57 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/cassettes/test_transfers_retrieve.yaml b/tests/resources/cassettes/test_transfers_retrieve.yaml new file mode 100644 index 00000000..6ee83ca9 --- /dev/null +++ b/tests/resources/cassettes/test_transfers_retrieve.yaml @@ -0,0 +1,49 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - DUMMY + Connection: + - keep-alive + User-Agent: + - cuenca-python/0.0.1dev0 + X-Cuenca-Api-Version: + - '2020-03-19' + method: GET + uri: https://sandbox.cuenca.com/transfers/test + response: + body: + string: '{"id":"test","created_at":"2020-05-07T16:57:55.833000","updated_at":"2020-05-07T16:57:55.872000","account_number":"646180157034181180","recipient_name":"test","amount":10000,"descriptor":"Transferencia + Demo","idempotency_key":"idempotency_key_8","status":"pending","network":"internal","tracking_key":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '319' + Content-Type: + - application/json + Date: + - Mon, 11 May 2020 18:21:39 GMT + Via: + - 1.1 a77dd74bb9c72f0eb05ce504c2023f4b.cloudfront.net (CloudFront) + X-Amz-Cf-Id: + - V2d_0m9spKIgvzBujSYKWtd-Jg3SZGEpEkJp7N-p2UpwtXOhDLJyJQ== + X-Amz-Cf-Pop: + - DFW3-C1 + X-Amzn-Trace-Id: + - Root=1-5eb997b3-01558c80140598007bc62d80;Sampled=0 + X-Cache: + - Miss from cloudfront + x-amz-apigw-id: + - MYSkFFJMIAMFYIA= + x-amzn-RequestId: + - 8e8a5645-dc24-4872-ba0e-62833248cfcd + status: + code: 200 + message: OK +version: 1 diff --git a/tests/resources/test_api_keys.py b/tests/resources/test_api_keys.py new file mode 100644 index 00000000..648142df --- /dev/null +++ b/tests/resources/test_api_keys.py @@ -0,0 +1,65 @@ +import datetime as dt + +import pytest + +from cuenca import ApiKey + + +@pytest.mark.vcr +def test_api_keys_create(): + api_key = ApiKey.create() + assert api_key.id is not None + assert api_key.secret is not None + assert api_key.active + + +@pytest.mark.vcr +def test_api_keys_retrieve(): + id_key = 'test' + api_key: ApiKey = ApiKey.retrieve(id_key) + assert api_key.id == id_key + assert api_key.secret == '********' + + +@pytest.mark.vcr +def test_api_key_deactivate(): + id_key = 'test' + api_key: ApiKey = ApiKey.retrieve(id_key) + assert api_key.active + + disabled = ApiKey.deactivate(id_key, 0) + assert disabled.id == api_key.id + assert disabled.deactivated_at is not None + assert not disabled.active + + api_key.refresh() + assert not api_key.active + + +def test_api_key_to_dict(): + created = dt.datetime.utcnow() + api_key: ApiKey = ApiKey( + id='12345', secret='********', created_at=created, deactivated_at=None, + ) + api_key_dict = dict( + id='12345', + secret='********', + created_at=created.isoformat(), + deactivated_at=None, + ) + assert api_key_dict == api_key.to_dict() + + +def test_api_key_from_dict(): + api_keys_dict = dict( + id='123455', + secret='*********', + created_at=dt.datetime.utcnow(), + deactivated_at=None, + extra_field_1='not necessary', + extra_field_2=12345, + ) + api_key = ApiKey._from_dict(api_keys_dict) + assert not hasattr(api_key, 'extra_field_1') + assert not hasattr(api_key, 'extra_field_2') + assert api_key.id is not None diff --git a/tests/resources/test_transfers.py b/tests/resources/test_transfers.py new file mode 100644 index 00000000..4634c90e --- /dev/null +++ b/tests/resources/test_transfers.py @@ -0,0 +1,89 @@ +import pytest +from pydantic import ValidationError + +from cuenca import Transfer +from cuenca.exc import MultipleResultsFound, NoResultFound +from cuenca.types import Network, Status + + +@pytest.mark.vcr +def test_transfers_create(): + transfer = Transfer.create( + account_number='646180157034181180', + amount=10000, + descriptor='Mi primer transferencia', + recipient_name='Rogelio Lopez', + ) + assert transfer.id is not None + assert transfer.idempotency_key is not None + assert transfer.status + assert transfer.status == Status.pending + # Some seconds latter + transfer.refresh() + assert transfer.status == Status.succeeded + assert transfer.network == Network.internal + + +@pytest.mark.vcr +def test_transfers_retrieve(): + id_transfer = 'test' + transfer: Transfer = Transfer.retrieve(id_transfer) + assert transfer.id == id_transfer + assert transfer.status is not None + + +@pytest.mark.vcr +def test_transfers_one(): + key = 'idempotency_key_1' + transfer: Transfer = Transfer.one(idempotency_key=key) + assert transfer.idempotency_key == key + + +@pytest.mark.vcr +def test_transfers_one_errors(): + with pytest.raises(NoResultFound): + Transfer.one(idempotency_key='wrong_key') + + with pytest.raises(MultipleResultsFound): + Transfer.one(status=Status.pending) + + +@pytest.mark.vcr +def test_transfers_first(): + account = '646180157013244941' + transfer = Transfer.first(account_number=account) + assert transfer is not None + assert transfer.account_number == account + transfer = Transfer.first(account_number='bad_account') + assert transfer is None + + +@pytest.mark.vcr +def test_transfers_all(): + transfers = Transfer.all(status=Status.succeeded) + assert all([tr.status is Status.succeeded for tr in transfers]) + + +@pytest.mark.vcr +def test_transfers_count(): + # Count all items + count = Transfer.count() + assert count == 42 + + # Count with filters + count = Transfer.count(status=Status.succeeded) + assert count == 4 + + +@pytest.mark.vcr +def test_transfers_count_vs_all(): + assert Transfer.count(status=Status.succeeded) == len( + list(Transfer.all(status=Status.succeeded)) + ) + assert Transfer.count() == len(list(Transfer.all())) + + +def test_invalid_params(): + with pytest.raises(ValidationError) as e: + Transfer.one(invalid_param='invalid_param') + assert 'extra fields not permitted' in str(e) diff --git a/tests/test_stub.py b/tests/test_stub.py deleted file mode 100644 index 315d2c48..00000000 --- a/tests/test_stub.py +++ /dev/null @@ -1,2 +0,0 @@ -def test(): - ... diff --git a/tests/test_types.py b/tests/test_types.py new file mode 100644 index 00000000..e9eb07dc --- /dev/null +++ b/tests/test_types.py @@ -0,0 +1,10 @@ +import datetime as dt + +from cuenca.types import SantizedDict, Status + + +def test_sanitized_dict(): + now = dt.datetime.now() + assert SantizedDict( + status=Status.succeeded, time=now, hello='there' + ) == dict(status='succeeded', time=now.isoformat(), hello='there') diff --git a/tests/test_validators.py b/tests/test_validators.py new file mode 100644 index 00000000..8d014fc0 --- /dev/null +++ b/tests/test_validators.py @@ -0,0 +1,27 @@ +import datetime as dt + +import pytest + +from cuenca.validators import QueryParams + + +@pytest.mark.parametrize( + 'count, truth', + [ + (1, True), + ('1', True), + (True, True), + (False, False), + (0, False), + ('0', False), + ], +) +def test_count(count, truth): + q = QueryParams(count=count) + assert q.count is truth + + +def test_dict(): + now = dt.datetime.utcnow() + model = QueryParams(count=1, created_before=now) + assert model.dict() == dict(count=1, created_before=now.isoformat())