Shopee - MDD API Documentation.V.1.0
Shopee - MDD API Documentation.V.1.0
Shopee Documentation
Ver.1.0
_____________________________________________________________________________________________
back to tabel of contents
1
Forewords
Data transaction and access used on this document are using Representational State
Transfer (REST) Architecture.
HTTPS Method used are POST. Token mechanism also used on data transfer between every
request to the server.
API Example:
https://apiv2.mdd.co.id:28194/v1/shopee/get-qr
with Post Method and HTTPS Headers: Content-Type: application/json
Both request (data POST) and response are on JSON (more information at
https://en.wikipedia.org/wiki/JSON) format.
For Any Technical Support needs feel free to drop us an email at [email protected] or
contacting us on whatsapp on 0812-9420-492
_____________________________________________________________________________________________
back to tabel of contents
2
API Specification Doc
_____________________________________________________________________________________________
back to tabel of contents
3
Table of Contents
Forewords 1
Table of Contents 4
URL 5
API KEY 5
_____________________________________________________________________________________________
back to tabel of contents
4
URL
Environment Remark
Development http://apidev.mdd.co.id:28194/
Production https://apiv2.mdd.co.id:30307/
http://apidev.mdd.co.id:28194/v1/ping
https://apiv2.mdd.co.id:30307/v1/ping
API KEY
Environment Remark
_____________________________________________________________________________________________
back to tabel of contents
5
API Check Server
Description: Check API Server Availability
Request Parameters
Parameter Type Value Remark
Protocol HTTPS
REPLY :
“pong”
Request Parameters
Parameter Type Value Remark
Protocol HTTPS
REPLY :
“Ver.1.0.0”
_____________________________________________________________________________________________
back to tabel of contents
6
API Get QR Code
Description: To Get Shopee QR Code Image or Data. You Can Load The qr image link.
Request Parameters
Parameter Type Value Remark
Protocol HTTP/S
Method POST
Body Message
{
"token": "<<YOUR API TOKEN>>",
"tid": "<<YOUR TERMINAL ID>>",
"mid": "<<YOUR MID>>",
“amount”: 1000,
“reff_no”: “TEST_REFF_NO123”
Varius Message(s) Following Partner Host, With Response Code value 400
Request Parameters
Parameter Type Value Remark
Protocol HTTPS
Method POST
Body Message
_____________________________________________________________________________________________
back to tabel of contents
8
HTTP/S Request examples
POST /v1/shopee/status-payment HTTPS/1.1
Host: http://apidev.mdd.co.id:28194
Content-Type: application/json
{
"mid": <<YOUR_MID>>,
"tid": "<<YOUR TID>>",
"token": <<YOUR_TOKEN>>,
"trx_id": "test_reff_no123"
}
Varius Message(s) Following Partner Host, With Response Code value 400
Request Parameters
Parameter Type Value Remark
Protocol HTTPS
Method POST
_____________________________________________________________________________________________
back to tabel of contents
9
Header Content-Type application/json Without this parameter,
the service will not able
to be accessed
Body Message
{
"mid": <<YOUR_MID>>,
"tid": "<<YOUR TID>>",
"token": <<YOUR_TOKEN>>,
"trx_id": "test_reff_no123"
}
}
}
_____________________________________________________________________________________________
back to tabel of contents
10
Varius Message(s) Following Partner Host, With Response Code value 400
API Reversal Transaction
Description: Will be triggered Automatically from backend once Failure Detected. No CLient
Action needed.
_____________________________________________________________________________________________
back to tabel of contents
11