https://github.com/rianihsan/go-ewallet-yopay
ewallet? nahhh bro, i think just a basic CRUD :v
https://github.com/rianihsan/go-ewallet-yopay
golang midtrans payment-integration postgresql rest-api
Last synced: about 2 months ago
JSON representation
ewallet? nahhh bro, i think just a basic CRUD :v
- Host: GitHub
- URL: https://github.com/rianihsan/go-ewallet-yopay
- Owner: RianIhsan
- Created: 2024-06-07T09:18:03.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T02:21:11.000Z (10 months ago)
- Last Synced: 2025-03-26T09:34:33.716Z (2 months ago)
- Topics: golang, midtrans, payment-integration, postgresql, rest-api
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YoPAY
A Mini E-wallet integrated with a payment gateway.
## Features
- Get Information User
- Authentication (Login, Register)
- Charge Balance
- Get Balance
- Transfer Balance
- QR Code For Receiving Balance
- Withdraw Balance## Tech Stack
- Golang
- Fiber
- Postgres
- Gorm
- Argon
- Midtrans## Endpoints
1. **Authentication**:
- **Register**: Endpoint for user registration. Path: `/v1/auth/register`
- **Login**: Endpoint for user login. Path: `/v1/auth/login`2. **User Information**:
- **Get Current User**: Retrieves the current logged-in user's information. Path: `/v1/user/me`3. **Balance Management**:
- **Add Balance**: Allows users to add funds to their account. Path: `/v1/balance/add`
- **Callback**: Endpoint for handling callbacks. Path: `/v1/balance/callback`
- **Get Total Balance**: Retrieves the total balance of a user. Path: `/v1/balance/total`
- **Transfer Balance**: Allows users to transfer funds from their account to another user's account. Path: `/v1/balance/transfer`
- **Create Token Withdraw**: Creates a token for withdrawing funds. Path: `/v1/balance/withdraw`
- **Confirm Withdraw**: Confirms the withdrawal of funds. Path: `/v1/balance/confirm-withdraw`:label: I still need suggestions and feedback for the development of this application. If you want to contribute, please PM me on [Instagram](https://www.instagram.com/_imriann28/), or you can create an issue in this repository. Thank you.