Skip to content

vuuouiwons/qris-generate-midtrans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Midtrans Payment Gateway Examples

This repository was created demonstrate the use of midtrans payment gateway api with QRIS. The goal is to only use RESTful library to interact with the payment gateway instead of midtrans' opensource library

Payment api with curl (base)

curl -X POST \
  https://api.midtrans.com/v2/charge \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Basic <YOUR SERVER KEY ENCODED in Base64>' \
  -H 'X-Override-Notification: <YOUR BACKEND URL TO RECEIVE NOTIFICATION>' \
  -d '{
  "payment_type": "qris",
  "transaction_details": {
    "order_id": "order102",
    "gross_amount": 789000
  }
}'

Created payment gateway

Roadmap

About

This repository demonstrates dynamic QRIS generation using the Midtrans payment gateway. It provides an easy-to-follow implementation for getting QRIS code.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors