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
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
}
}'