InitPaymentPayPalRequest

  • Integer numbers.

  • 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: 7
  • Properties: 2
Examples
{
  "amount": 3990,
  "venue_id": "5f830d83-f5d7-483f-883b-212bcd864b7f",
  "payment_info": {
    "amount": 3900,
    "payment_method_id": "e3423d4d-7200-4c16-a154-a51fb2695838"
  },
  "order_info": {
    "singular_point_id": "string",
    "order_type": {
      "id": "88a3e856-82c1-40a3-8a5f-185ca4e059ce",
      "pickup_asap": true,
      "properties": {},
      "pickup_at": "2023-06-23 11:37:12"
    },
    "menu_items": [
      {
        "id": "13d45e04-3f23-11ed-936c-1a67b454859d",
        "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": [
        {}
      ]
    }
  }
}