InitPaymentPayPalRequestOrderInfo

order_info is basically the payload we would send later to order request as well.he reason we send whole order_info object to init_payment request is so that backend can create the order via webhooks if network connection becomes too slow or something goes wrong with the order request.

  • Properties: 5
  • Properties: 5
  • Properties: 4
Examples
{
  "singular_point_id": "e7eb00e4-c30c-4f70-a07d-0aca5a0185c9",
  "order_type": {
    "id": 6,
    "pickup_asap": true,
    "properties": {},
    "pickup_at": "2023-06-23 11:37:12"
  },
  "menu_items": [
    {
      "id": "95dec7ad-7baf-467f-9468-0634dc314d99",
      "price_level_id": "f1c0305d-74d0-4f7e-ac4f-668985dd3bb3",
      "quantity": 1,
      "modifiers": [],
      "comment": ""
    }
  ],
  "combo_meals": [],
  "discounts": [],
  "discount_cards": [],
  "customer_info": {
    "first_name": "Olja",
    "last_name": "Ivkovic",
    "email": "olja.ivkovic@partech.com",
    "phone_number": "++43381601234567",
    "demographics": []
  }
}