Advertisement
ffajarpratama

[Rewash-POS] Create Transaction Response (Cash)

Mar 24th, 2023
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.87 KB | None | 0 0
  1. {
  2.     "success": "true",
  3.     "data": {
  4.         "transaction_id": "198534",
  5.         "invoice_id": "198531",
  6.         "merchant_id": "102",
  7.         "merchant_name": "Example Franchise hore",
  8.         "outlet_id": "305",
  9.         "outlet_name": "Example Franchise outlet 2",
  10.         "transaction_no": "#Bill198533",
  11.         "transaction_type": "Penjualan",
  12.         "user_id": "507",
  13.         "sales_type_id": "215",
  14.         "sales_type_name": "Reguler",
  15.         "customer_id": "32086",
  16.         "customer_name": "Kafka",
  17.         "customer_email": "[email protected]",
  18.         "customer_phone": "087799665522",
  19.         "o_price_per_token": "500",
  20.         "o_token_wash": "1",
  21.         "o_token_dry": "1",
  22.         "o_token_wash_n_dry": "2",
  23.         "transaction_sub_total": "7000",
  24.         "sum_tax_amount": "0",
  25.         "sum_service_amount": "0",
  26.         "sum_discount_amount": "0",
  27.         "additional_notes": "",
  28.         "transaction_grand_total": "7000",
  29.         "payment_amount": "100000",
  30.         "pending_payment_amount": "0",
  31.         "status_payment": "paid",
  32.         "change": "93000",
  33.         "created_by": "507",
  34.         "updated_by": "507",
  35.         "updated_at": "2023-01-26 09:47:03",
  36.         "tanggal_ambil": "-",
  37.         "created_at": "2023-01-26 09:47:02",
  38.         "cashier_name": "Lia",
  39.         "payment": [
  40.             {
  41.                 "payment_id": "190498",
  42.                 "payment_ref_id": "0",
  43.                 "payment_method_id": "3",
  44.                 "payment_method_code": "cash",
  45.                 "payment_method_name": "Cash",
  46.                 "payment_fee_in_amount": "0.00",
  47.                 "payment_spe_fee": "0.00",
  48.                 "payment_fee_in_percent": "0.00",
  49.                 "payment_number": "PAY-CASH-190498",
  50.                 "charge_fee_to_end_customer": "true",
  51.                 "payment_amount": "100000.00",
  52.                 "status_payment": "success",
  53.                 "total_fee": "0",
  54.                 "created_at": "2023-01-26 09:47:02",
  55.                 "updated_at": "2023-01-26 09:47:02",
  56.                 "created_by": "507",
  57.                 "updated_by": "507",
  58.                 "deleted_at": "",
  59.                 "deleted_by": ""
  60.             }
  61.         ],
  62.         "detail": [
  63.             {
  64.                 "id": "269991",
  65.                 "product_qty": "1",
  66.                 "product_id": "3577",
  67.                 "product_thumbnail": "http://api-product-stock.spesolution.com/image/5e9fc561114aa.jfif",
  68.                 "product_name": "Cuci Kering Setrika",
  69.                 "product_varian_id": "9759",
  70.                 "product_varian_name": "REGULER 3 hari",
  71.                 "product_varian_harga_jual": "7000.00",
  72.                 "product_varian_token": "2",
  73.                 "sum_product_varian": "7000",
  74.                 "sum_product_pelengkap_harga_jual": "0",
  75.                 "pelengkap": []
  76.             }
  77.         ],
  78.         "promo": [],
  79.         "getreward": [],
  80.         "payment_pending": "false",
  81.         "data_payment_pending": {
  82.             "payment_id": "",
  83.             "business_id": "",
  84.             "amount": "",
  85.             "payment_number": "",
  86.             "customer_phone_payment": "",
  87.             "qr_string": "",
  88.             "status": "",
  89.             "created_at": ""
  90.         },
  91.         "data_outlet": {
  92.             "outlet_name": "Example Franchise outlet 2",
  93.             "address": "Jalan Masadepan Nomor 2",
  94.             "city": "KABUPATEN SIMEULUE",
  95.             "phone": "08975876991",
  96.             "notes": "",
  97.             "is_active_facebook": "0",
  98.             "link_facebook": "",
  99.             "is_active_twitter": "0",
  100.             "link_twitter": "",
  101.             "is_active_website": "0",
  102.             "link_website": "",
  103.             "is_active_instagram": "0",
  104.             "link_instagram": ""
  105.         },
  106.         "membership_id": "RWS-32086"
  107.     },
  108.     "message": "Transaksi berhasil dibuat"
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement