Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #url
- http://localhost/klikfood_web/klikfood/public/index.php/transaksipusat/store/all
- #data
- {
- "produk": [
- {
- "produk_id" : "5d889fab1fbe4a74f7378a54",
- "jumlah" : 15
- },
- {
- "produk_id" : "5d889ea51fbe4a74f7378a53",
- "jumlah" : 20
- },
- {
- "produk_id" : "5d889c921fbe4a701b1bfc02",
- "jumlah" : 11
- },
- {
- "produk_id" : "5d889b831fbe4a75ac715a22",
- "jumlah" : 13
- }
- ],
- "sub_total" : 30000,
- "diskon": 0.01,
- "jadwal_pengiriman" : [
- {
- "jenis_pengiriman" : "Same Day",
- "tanggal_pengiriman": "2019-10-01",
- "estimasi_sampai" : "2019-10-02 13:00"
- }
- ],
- "payment_method" : "credit card",
- "alamat": "jalan mangga"
- }
- # return
- {
- "success": true,
- "messages": "Transaksi sukses diproses !",
- "data": {
- "user_id": "5d89bb6ec9fd842ce0463cd3",
- "user_name": "konsumen",
- "tanggal": "2019-10-01",
- "jumlah_harga": 30000,
- "detail_address": "jalan mangga",
- "jumlah_berat": 0,
- "jumlah_ongkir": 15000,
- "updated_at": "01 Oct 2019 08:44",
- "created_at": "01 Oct 2019 08:44",
- "_id": "5d92af7c5538fb074400789c"
- },
- "url": "https://mcbill.mcpayment.id/",
- "transaksi_code": "001"
- }
Add Comment
Please, Sign In to add comment