Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.5 kB
4
Indexable
Never
{
    "reference": "T00136-WA00623010212346",
    "retailValue": 175700,//header total amount  + total ongkir+  total voucher header
    "totalDiscount": 1250,
    "id": "",
    "cardno": "",
    "burnExactPoints": 0,
    "basketItems": [
        {
            "productReference": "3716965800001",
            "productName": "Celery Import Kg",
            "quantity": 0.5,
            "price": 173700,
            "discount": 1250,
            "retailValueBeforeTax": 173000,
            "retailValueAfterTax": 173700,
            "tax": 700
        },
        {
            "productReference": "1000904400004",
            "productName": "WA Delivery Gojek",
            "quantity": 1,
            "price": 1000,
            "discount": 0,
            "retailValueBeforeTax": 1000,
            "retailValueAfterTax": 1000,
            "tax": 0
        },
        {
            "productReference": "1000922700001",
            "productName": "VOUCHER REFUND",
            "quantity": 1,
            "price": 1000,
            "discount": 0,
            "retailValueBeforeTax": 1000,
            "retailValueAfterTax": 1000,
            "tax": 0
        }
          
    ],
    "payments": [
        {
        "binNo": "",
        "paidAmount": 174700,//total amount header + total ongkir header
        "typeReference": "WAOnline Pay"
        },
        {
            "binNo": "323232",
            "paidAmount": 1000,//total voucher
            "typeReference": "WAOnline Voucher"
        }
        
    ]
}