Dokumentasi API Toko Voucher

List Produk

List Produk

Menampilkan produk yang tersedia

Endpoint

GET
https://api.tokovoucher.net/member/produk/list?member_code=[MEMBER_CODE]&signature=[SIGNATURE]&id_jenis=[id_jenis_produk]

Deskripsi

Berikut ini parameter / payload yang di harapkan :

ParameterDeskripsiTipe DataWajib
member_codeMember code andaStringYa
id_jenisID Jenis yang dipilihStringYa
signatureSignature default anda Note: Signature detault bisa dilihat pada member areaStringYa

Sampel Response Gagal IP Not Allowed

{
"status":0,
"error_msg":"Ip Not Allow"
}

Sampel Response Gagal Signature Invalid

{
"status":0,
"error_msg":"Signature Invalid"
}

Sampel Response Sukses

{
"status": 1,
"rc": 200,
"message": "Data Found",
"data": [
{
"id": 1,
"code": "ML5",
"category_name": "Voucher Game",
"operator_produk": "Free Fire",
"jenis_name": "otomatis",
"nama_produk": "mobile legend 5 dm",
"deskripsi": "mobile legend",
"price": 1000,
"status": 1
},
{
"id": 2,
"code": "FDT32",
"category_name": "Voucher Game",
"operator_produk": "Free Fire",
"jenis_name": "jenis b",
"nama_produk": "Free Fire",
"deskripsi": "free fires",
"price": 1000,
"status": 1
}
],
"ts": 1661498219
}