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.
https://crimson-meadow-438973.postman.co/workspace/PAT~5e4b20a9-a21e-48b8-8eef-baeb56a29ad7/collection/31372685-9e138045-410f-4f9b-9748-f4e193256740?action=share&creator=30701742&active-environment=30701742-3c17942c-d556-4a3c-b175-2402ac791441
- 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