HTTP Method | Endpoint | Description |
---|---|---|
POST | {{base_payment_url}}/api/v1/invoice |
Create new Invoice |
GET | {{base_payment_url}}/api/v1/payment/pay?invoice_id= |
Pay Link |
- Replace
{{base_payment_url}}
with the actual base URL of the Payment App service. - The endpoint for "Pay Link" requires an
invoice_id
query parameter.
- Clone or fork this repository
https://github.com/NicholasLiem/IF4031_M1_Payment_App
- Initialize .env file using the template given (.env.example and docker.env.example)
touch .env
touch docker.env
- Run docker compose and build
docker-compose up --build