Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "status": 1,
- "message": "Berhasil",
- "token": {
- "value": "45b66f4399389cb2dbb6260312f51778",
- "generated": 1546407230,
- "expired": 1579791136
- },
- "data": {
- "sales": {
- "id": 119427,
- "mobile_sales_id": "22wssss22s522sjsss222ad22",
- "ticket_name": "Hujan",
- "status": 2,
- "status_refund": 2,
- "status_text": "Lunas",
- "invoice_number": "1943LJ",
- "total_bill": 119980,
- "total_discounts": 0,
- "total_paid": 1022200,
- "money_change": 902220,
- "refund_reason": 4,
- "refund_other": "aku banget deh haha",
- "refund_amount": 0,
- "settled_at": "2019-01-23 16:43:30",
- "recap_id": 44,
- "refunded_at": "2019-01-23 21:52:16",
- "total_daily": 2020440,
- "total_daily_installment": 264400,
- "created_at": "2019-01-23 21:52:09",
- "updated_at": "2019-01-23 21:52:16",
- "deleted_at": null,
- "customer": {
- "id": 146,
- "name": "luqman",
- "mobile": "089506351641",
- "email": "n.loekman@gmail.com",
- "image": null
- },
- "discount_object": null,
- "carts": [
- {
- "id": 252906,
- "caption": "Kentang goreng nya di pinggir",
- "price_base": 50000,
- "price_base_unit": 5000,
- "price_sell": 10000,
- "price_sell_unit": 1000,
- "price_sell_bargain": 0,
- "quantity": 10,
- "refund_quantity": "0",
- "wholesale": null,
- "is_additional": 0,
- "total_discount": 0,
- "created_at": "2019-01-23 09:52:09",
- "discount_object": {
- "id": 0,
- "title": "",
- "caption": "",
- "amount": 0,
- "type": 0,
- "type_name": "",
- "created_at": null
- },
- "discounts": [],
- "is_refund": false,
- "variant": {
- "id": 16154,
- "variant_code": "",
- "variant_name": "",
- "sku": "",
- "price_base": 5000,
- "price_sell": 1000,
- "bundle_quantity": 0,
- "stock_remaining": 0,
- "stock_minimum": 0,
- "has_stock": true,
- "is_alert_stock": false,
- "is_deleted": false,
- "product": {
- "id": 14377,
- "product_code": null,
- "name": "gula",
- "image_small": "",
- "is_deleted": true,
- "category": {
- "id": 2371,
- "name": "Umum",
- "is_default": true
- },
- "brand": {
- "id": 2376,
- "name": "Umum",
- "is_default": true
- }
- }
- }
- },
- {
- "id": 252907,
- "caption": "",
- "price_base": 20000,
- "price_base_unit": 2000,
- "price_sell": 109980,
- "price_sell_unit": 12220,
- "price_sell_bargain": 0,
- "quantity": 10,
- "refund_quantity": "1",
- "wholesale": null,
- "is_additional": 0,
- "total_discount": 0,
- "created_at": "2019-01-23 09:52:09",
- "discount_object": {
- "id": 0,
- "title": "",
- "caption": "",
- "amount": 0,
- "type": 0,
- "type_name": "",
- "created_at": null
- },
- "discounts": [],
- "is_refund": true,
- "variant": {
- "id": 16153,
- "variant_code": "",
- "variant_name": "nasi goreng lembam",
- "sku": "",
- "price_base": 2000,
- "price_sell": 12220,
- "bundle_quantity": 0,
- "stock_remaining": 0,
- "stock_minimum": 0,
- "has_stock": true,
- "is_alert_stock": false,
- "is_deleted": false,
- "product": {
- "id": 14376,
- "product_code": null,
- "name": "nasi goreng",
- "image_small": "",
- "is_deleted": false,
- "category": {
- "id": 2371,
- "name": "Umum",
- "is_default": true
- },
- "brand": {
- "id": 2376,
- "name": "Umum",
- "is_default": true
- }
- }
- }
- }
- ],
- "payments": [
- {
- "id": 119853,
- "payment_mode": "CASH",
- "payment_name": "TUNAI",
- "amount": 1022200,
- "paid_date": "2019-01-23 16:43:30"
- }
- ],
- "user_refund": {
- "id": 1712413,
- "name": "luqman hakim "
- },
- "user_settled": {
- "id": 1712413,
- "name": "luqman hakim "
- },
- "merchant_id": "9709",
- "installment": null,
- "total_tax": 0,
- "total_debt": 0,
- "refunds": [
- {
- "refund_reason": 4,
- "refund_other": "aku banget deh haha",
- "refund_date": "2019-01-23 21:52:16",
- "money_refund": 12220,
- "user_refund": {
- "id": 1712413,
- "name": "luqman hakim "
- },
- "carts": [
- {
- "variant_id": 16153,
- "product_name": "nasi goreng",
- "variant_name": "nasi goreng lembam",
- "quantity": 1
- }
- ]
- }
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement