Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

se envia solución a reto yape #420

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

se envia solución a reto yape #420

wants to merge 1 commit into from

Conversation

eslegus
Copy link

@eslegus eslegus commented Sep 19, 2024

Hola ✌️! comparto la solución al reto, Saludos!!

🚀 Levantar proyecto
docker compose up

📄 Curl para crear transacciones
curl --location 'localhost:3001/transaction' \--header 'Content-Type: application/json' \--data '{ "accountExternalIdDebit": "daskef-daskef-sdfrt6-daskef-f342sd-2f353d", "accountExternalIdCredit": "f342sd-43njs-43njs-34fds4-53kj5c-43njs", "transferTypeId": 1, "value": 12000}'

📄 Curl para recuperar transacciones
curl --location 'localhost:3001/transaction'

📄 Curl para recuperar transaccion por id
curl --location 'localhost:3001/transaction/{idTransaccion}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant