Dokumentasi API Toko Voucher
List Jenis Produk
List Jenis Produk
Menampilkan operator produk yang tersedia
Endpoint
GET
https://api.tokovoucher.net/member/produk/jenis/list?member_code=[MEMBER_CODE]&signature=[SIGNATURE]&id=[id_operator]
Deskripsi
Berikut ini parameter / payload yang di harapkan :
Parameter | Deskripsi | Tipe Data | Wajib |
---|---|---|---|
member_code | Member code anda | String | Ya |
id_operator | Operator Produk | String | Ya |
signature | Signature default anda Note: Signature detault bisa dilihat pada member area | String | Ya |
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, "operator_nama": "Free Fire", "nama": "otomatis", "format_form": "1", "status": 1 }, { "id": 2, "operator_nama": "Free Fire", "nama": "jenis b", "format_form": "2", "status": 1 }, { "id": 3, "operator_nama": "Free Fire", "nama": "jenis a", "format_form": "", "status": 1 }, { "id": 4, "operator_nama": "Free Fire", "nama": "jenis b", "format_form": "3", "status": 1 } ], "ts": 1661498101}