Untitled

mail@pastecode.io avatar
unknown
json
24 days ago
29 kB
4
Indexable
Never
{
  "init": "hi",
  "Greeting": "Menghapus akun",
  "account": {
    "username": "Dummy",
    "email": "user@mail.com",
    "no_telp": "0809123123123"
  },
  "csTag": "Permintaan Penghapusan Akun Bukalapak",
  "Menghapusakun": "Memiliki akun lain",
  "Memilikiakunlain,Tidakmemakailagi,Mauakunjualanbaru": "Memiliki akun lain",
  "invoiceTimestamp": {
    "today": "2024-08-21T10:09:09Z",
    "last_week": "2024-08-14T10:09:09Z"
  },
  "invoiceRes": {
    "data": [
      {
        "id": 4197478,
        "payment_id": "BL241113SWIYINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T09:05:15.000Z",
          "paid_at": "2024-08-21T09:05:15.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640626,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T09:25:14.000Z",
        "created_at": "2024-08-21T09:05:14.000Z",
        "updated_at": "2024-08-21T09:05:15.000Z"
      },
      {
        "id": 4197475,
        "payment_id": "BL241113SWIVINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T09:05:13.000Z",
          "paid_at": "2024-08-21T09:05:14.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640625,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T09:25:13.000Z",
        "created_at": "2024-08-21T09:05:13.000Z",
        "updated_at": "2024-08-21T09:05:14.000Z"
      },
      {
        "id": 4197472,
        "payment_id": "BL241113SWISINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T09:05:10.000Z",
          "paid_at": "2024-08-21T09:05:10.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640624,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T09:25:10.000Z",
        "created_at": "2024-08-21T09:05:10.000Z",
        "updated_at": "2024-08-21T09:05:10.000Z"
      },
      {
        "id": 4197160,
        "payment_id": "BL241113SW9VINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T05:00:09.000Z",
          "paid_at": "2024-08-21T05:00:09.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640604,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T05:20:08.000Z",
        "created_at": "2024-08-21T05:00:08.000Z",
        "updated_at": "2024-08-21T05:00:09.000Z"
      },
      {
        "id": 4197157,
        "payment_id": "BL241113SW9SINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T05:00:08.000Z",
          "paid_at": "2024-08-21T05:00:08.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640603,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T05:20:07.000Z",
        "created_at": "2024-08-21T05:00:08.000Z",
        "updated_at": "2024-08-21T05:00:08.000Z"
      },
      {
        "id": 4197154,
        "payment_id": "BL241113SW9PINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T05:00:07.000Z",
          "paid_at": "2024-08-21T05:00:07.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640602,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T05:20:05.000Z",
        "created_at": "2024-08-21T05:00:05.000Z",
        "updated_at": "2024-08-21T05:00:07.000Z"
      },
      {
        "id": 4197151,
        "payment_id": "BL241113SW9MINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T05:00:03.000Z",
          "paid_at": "2024-08-21T05:00:03.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640601,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T05:20:02.000Z",
        "created_at": "2024-08-21T05:00:02.000Z",
        "updated_at": "2024-08-21T05:00:03.000Z"
      },
      {
        "id": 4197148,
        "payment_id": "BL241113SW9JINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T05:00:05.000Z",
          "paid_at": "2024-08-21T05:00:05.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640600,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T05:20:01.000Z",
        "created_at": "2024-08-21T05:00:01.000Z",
        "updated_at": "2024-08-21T05:00:05.000Z"
      },
      {
        "id": 4197145,
        "payment_id": "BL241113SW9GINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T05:00:02.000Z",
          "paid_at": "2024-08-21T05:00:02.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640599,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T05:20:01.000Z",
        "created_at": "2024-08-21T05:00:01.000Z",
        "updated_at": "2024-08-21T05:00:02.000Z"
      },
      {
        "id": 4197142,
        "payment_id": "BL241113SW9DINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T05:00:01.000Z",
          "paid_at": "2024-08-21T05:00:02.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640598,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T05:20:00.000Z",
        "created_at": "2024-08-21T05:00:01.000Z",
        "updated_at": "2024-08-21T05:00:02.000Z"
      },
      {
        "id": 4196824,
        "payment_id": "BL241113SVZAINV",
        "state": "expired",
        "state_changed_at": {
          "pending_at": "2024-08-21T01:55:16.000Z",
          "paid_at": "",
          "expired_at": "2024-08-21T03:00:41.323Z",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640582,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 0,
          "details": {
            "transactions": 0,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": null,
        "original_payment_type": null,
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": null,
        "created_at": "2024-08-21T01:55:16.000Z",
        "updated_at": "2024-08-21T03:00:41.328Z"
      },
      {
        "id": 4196821,
        "payment_id": "BL241113SVZ7INV",
        "state": "expired",
        "state_changed_at": {
          "pending_at": "2024-08-21T01:55:14.000Z",
          "paid_at": "",
          "expired_at": "2024-08-21T03:00:41.292Z",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640581,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 0,
          "details": {
            "transactions": 0,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": null,
        "original_payment_type": null,
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": null,
        "created_at": "2024-08-21T01:55:14.000Z",
        "updated_at": "2024-08-21T03:00:41.305Z"
      },
      {
        "id": 4196818,
        "payment_id": "BL241113SVZ4INV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T01:55:15.000Z",
          "paid_at": "2024-08-21T01:55:15.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640580,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T02:15:14.000Z",
        "created_at": "2024-08-21T01:55:14.000Z",
        "updated_at": "2024-08-21T01:55:15.000Z"
      },
      {
        "id": 4196815,
        "payment_id": "BL241113SVZ1INV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T01:55:08.000Z",
          "paid_at": "2024-08-21T01:55:08.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640579,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T02:15:07.000Z",
        "created_at": "2024-08-21T01:55:07.000Z",
        "updated_at": "2024-08-21T01:55:08.000Z"
      },
      {
        "id": 4196812,
        "payment_id": "BL241113SVYXINV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-21T01:55:07.000Z",
          "paid_at": "2024-08-21T01:55:07.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640578,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-21T02:15:06.000Z",
        "created_at": "2024-08-21T01:55:06.000Z",
        "updated_at": "2024-08-21T01:55:07.000Z"
      },
      {
        "id": 4196236,
        "payment_id": "BL241113SVIHINV",
        "state": "expired",
        "state_changed_at": {
          "pending_at": "2024-08-20T06:50:08.000Z",
          "paid_at": "",
          "expired_at": "2024-08-20T07:50:41.140Z",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640555,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 0,
          "details": {
            "transactions": 0,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": null,
        "original_payment_type": null,
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": null,
        "created_at": "2024-08-20T06:50:08.000Z",
        "updated_at": "2024-08-20T07:50:41.156Z"
      },
      {
        "id": 4196233,
        "payment_id": "BL241113SVIEINV",
        "state": "expired",
        "state_changed_at": {
          "pending_at": "2024-08-20T06:50:08.000Z",
          "paid_at": "",
          "expired_at": "2024-08-20T07:50:41.105Z",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640554,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 0,
          "details": {
            "transactions": 0,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": null,
        "original_payment_type": null,
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": null,
        "created_at": "2024-08-20T06:50:08.000Z",
        "updated_at": "2024-08-20T07:50:41.116Z"
      },
      {
        "id": 4196230,
        "payment_id": "BL241113SVIBINV",
        "state": "expired",
        "state_changed_at": {
          "pending_at": "2024-08-20T06:50:08.000Z",
          "paid_at": "",
          "expired_at": "2024-08-20T07:50:41.008Z",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640553,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 0,
          "details": {
            "transactions": 0,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": null,
        "original_payment_type": null,
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": null,
        "created_at": "2024-08-20T06:50:08.000Z",
        "updated_at": "2024-08-20T07:50:41.012Z"
      },
      {
        "id": 4196227,
        "payment_id": "BL241113SVI8INV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-20T06:50:06.000Z",
          "paid_at": "2024-08-20T06:50:06.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640552,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-20T07:10:05.000Z",
        "created_at": "2024-08-20T06:50:06.000Z",
        "updated_at": "2024-08-20T06:50:06.000Z"
      },
      {
        "id": 4196224,
        "payment_id": "BL241113SVI5INV",
        "state": "paid",
        "state_changed_at": {
          "pending_at": "2024-08-20T06:50:06.000Z",
          "paid_at": "2024-08-20T06:50:06.000Z",
          "expired_at": "",
          "cancelled_at": ""
        },
        "transactions": [
          {
            "id": 640551,
            "type": "coupon-deals",
            "class_name": "Remote::Transaction"
          }
        ],
        "amount": {
          "total": 200,
          "details": {
            "transactions": 200,
            "payment": 0,
            "voucher": 0,
            "buffer": 0,
            "promo_payment": 0,
            "priority_buyer": 0,
            "dana_voucher": 0,
            "partner_reductions": 0,
            "wallet": 0
          },
          "wallet_reduction_details": {
            "balance": 0,
            "credit": 0
          },
          "shipping_extra_charge_details": [],
          "partner_reductions_details": [],
          "reduction_amount": 0
        },
        "payment_type": "wallet",
        "original_payment_type": "wallet",
        "payment_status": null,
        "voucher_code": null,
        "voucher_id": 0,
        "expiration_time": "2024-08-20T07:10:04.000Z",
        "created_at": "2024-08-20T06:50:04.000Z",
        "updated_at": "2024-08-20T06:50:06.000Z"
      }
    ],
    "meta": {
      "http_status": 200,
      "total": 1000,
      "offset": 0,
      "limit": 20
    }
  },
  "transactionMap": {
    "isTransactionLeft": "{% assign transactionMap = chatRoomData.invoiceRes.data | map: 'transactions' %}{% assign isTransactionLeft = 0 %}{% for transaction in transactionMap %}{% if transaction.size > 0 %}{% for item in transaction %}{% if item.type == 'coupon-deals' %}{% assign isTransactionLeft = 1 %}{% break %}{% endif %}{% endfor %}{% endif %}{% endfor %}{{ isTransactionLeft }}"
  }
}
Leave a Comment