Advertisement
ffajarpratama

[Rewash-POS] Create Transaction Payload (Cash)

Mar 24th, 2023
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.03 KB | None | 0 0
  1. {
  2.   "srq": "mobile",
  3.   "device_id": "cYkm87CVTUCBAFTf5eTsBU:APA91bGhS6Ncjce6Yj06mcipSlSl59-msrW7l9m6mTETwRbrEKOudVPqiTrN_OEOToKOpPrpTvr8EpLTGxjK-5Qcg66AMN5C1IZY4c4prempRlXPPxPWWJXJKl1MaGeT7PcDR-XepdjT",
  4.   "merchant_id": "102",
  5.   "merchant_name": "Example Franchise hore",
  6.   "outlet_id": "305",
  7.   "outlet_name": "Example Franchise outlet 2",
  8.   "customer_id": 32086,
  9.   "customer_name": "Kafka",
  10.   "customer_email": "[email protected]",
  11.   "customer_phone": "087799665522",
  12.   "customer_phone_payment": "087799665522",
  13.   "user_id": "507",
  14.   "user_name": "Lia",
  15.   "transaction_type_id": 215,
  16.   "transaction_type_name": "Reguler",
  17.   "price_per_token": "500",
  18.   "token_wash": "1",
  19.   "token_dry": "1",
  20.   "token_wash_n_dry": "2",
  21.   "products": [
  22.     {
  23.       "id": "3577",
  24.       "name": "Cuci Kering Setrika",
  25.       "thumbnail": "http://api-product-stock.spesolution.com/image/5e9fc561114aa.jfif",
  26.       "product": {
  27.         "varian_id": "9759",
  28.         "varian_name": "REGULER 3 hari",
  29.         "varian_harga_modal": "5000",
  30.         "varian_harga_jual": "7000",
  31.         "varian_connect_to_machine": "wash_and_dry",
  32.         "varian_thumbnail": "http://api-product-stock.spesolution.com/image/5e9fc561114aa.jfif"
  33.       },
  34.       "pelengkap": [],
  35.       "qty": "1"
  36.     }
  37.   ],
  38.   "transaction_sub_total": "7000",
  39.   "transaction_grand_total": "7000",
  40.   "sum_tax_amount": "0",
  41.   "sum_service_amount": "0",
  42.   "sum_discount_amount": "0",
  43.   "additional_notes": "",
  44.   "promotion": [
  45.     148
  46.   ],
  47.   "total_diskon_produk": 0,
  48.   "total_diskon_service": 0,
  49.   "has_tax": "false",
  50.   "tax": [],
  51.   "payment_status": "confirm",
  52.   "payment": [
  53.     {
  54.       "payment_type": "cash",
  55.       "payment_ref_id": "0",
  56.       "payment_method_id": "3",
  57.       "payment_method_name": "Cash",
  58.       "payment_fee_in_amount": "0",
  59.       "payment_fee_in_percent": "0",
  60.       "payment_spe_fee": "0",
  61.       "charge_fee_to_end_customer": "true",
  62.       "payment_method_code": "cash",
  63.       "payment_original_amount": "7000",
  64.       "payment_amount": "100000"
  65.     }
  66.   ]
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement