Skip to content

This project allows you to easily and quickly host an API for redeeming TrueWallet vouchers. You only need to enter the voucher code and mobile number.

Notifications You must be signed in to change notification settings

jumpogpo/truewallet-voucher-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Angpao Logo

πŸ‘‹ Description

This project allows you to easily and quickly host an API for redeeming TrueWallet vouchers. You only need to enter the voucher code and mobile number.

πŸ§ƒ Preface

I want to create an API that can easily redeem TrueWallet vouchers and ensure fast processing speeds. To achieve this, I am using Golang to develop the project.

πŸ“ How to use?

  • Clone this project following the installation instructions.
  • Setting the port in the .env file.
  • Installing all the necessary packages.
  • Run the program.

πŸ“š Installation

# Clone project
$ git clone https://github.com/jumpogpo/golang-truewallet-api.git
$ cd golang-truewallet-api

# Install packages
$ go mod download

πŸ“Ί Running the app

# run
$ go run .

# build
$ go build .

▢️ How to use

  • Method: Post
  • Url: http://localhost:{port}/redeem/{angpao_code}
  • Body:
{
  "mobile": "phoneNumber"
}

🀝 Reference

About

This project allows you to easily and quickly host an API for redeeming TrueWallet vouchers. You only need to enter the voucher code and mobile number.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published