{"_id":"582c7058e4a4920f00ff0061","project":"56c1e50bce02590d006091c9","parentDoc":null,"version":{"_id":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","__v":2,"createdAt":"2016-11-16T14:42:32.468Z","releaseDate":"2016-11-16T14:42:32.468Z","categories":["582c7058e4a4920f00ff0046","582c7058e4a4920f00ff0047","582c7058e4a4920f00ff0048","582c7058e4a4920f00ff0049","582c7058e4a4920f00ff004a","582c7058e4a4920f00ff004b","582c7058e4a4920f00ff004c","582c7058e4a4920f00ff004d","582c7058e4a4920f00ff004e","582c7058e4a4920f00ff004f","582d97124b2536250038b392"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"__v":0,"category":{"_id":"582c7058e4a4920f00ff004d","__v":0,"version":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-26T12:33:01.341Z","from_sync":false,"order":6,"slug":"examples","title":"Examples"},"user":"56c2ea5f2c90fa17001b8383","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-26T12:33:50.533Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/JP5Mdc7SameqD6JIjIvD_10555476.png\",\n        \"10555476.png\",\n        \"628\",\n        \"818\",\n        \"#cdcdcd\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"Id\\\": \\\"ufylpe6jquyamt0znu5efq\\\",\\n  \\\"CustomerOrderId\\\": 10555476,\\n  \\\"Order\\\": {\\n    \\\"NoteToRestaurant\\\": null,\\n    \\\"ServiceType\\\": \\\"Delivery\\\",\\n    \\\"PlacedDate\\\": \\\"2015-04-28T14:12:19.0576+00:00\\\",\\n    \\\"DueDate\\\": \\\"2015-04-28T15:00:00+00:00\\\",\\n\\t\\\"DueDateWithUtcOffset\\\": \\\"2015-04-28T15:00:00+01:00\\\",\\n    \\\"InitialDueDate\\\": \\\"2015-04-28T15:00:00+00:00\\\",\\n\\t\\\"InitialDueDateWithUtcOffset\\\": \\\"2015-04-28T15:00:00+01:00\\\",\\n    \\\"PromptAsap\\\": true\\n  },\\n  \\\"RestaurantInfo\\\": {\\n    \\\"Id\\\": \\\"525\\\",\\n    \\\"Name\\\": \\\"Just Pizzas\\\",\\n    \\\"PhoneNumber\\\": \\\"01234567890\\\",\\n    \\\"AddressLines\\\": [\\n      \\\"15 Test Street\\\"\\n    ],\\n    \\\"City\\\": \\\"London\\\",\\n    \\\"Postcode\\\": \\\"EC4M 7rf\\\",\\n    \\\"DispatchMethod\\\": \\\"JctV3\\\",\\n    \\\"EmailAddress\\\": null\\n  },\\n  \\\"PaymentInfo\\\": {\\n    \\\"PaymentLines\\\": [\\n      {\\n        \\\"Type\\\": \\\"Card\\\",\\n        \\\"CardFee\\\": 0.5,\\n        \\\"Value\\\": 12.85\\n      }\\n    ],\\n    \\\"Total\\\": 13.35,\\n    \\\"TotalComplementary\\\": 0,\\n    \\\"PaidDate\\\": \\\"2015-04-28T15:13:16.5868+00:00\\\",\\n    \\\"CashOnDelivery\\\": false\\n  },\\n  \\\"CustomerInfo\\\": {\\n    \\\"Id\\\": \\\"1957127\\\",\\n    \\\"Email\\\": \\\"new.user:::at:::just-eat.com\\\",\\n    \\\"Name\\\": \\\"Mr Testy Test\\\",\\n    \\\"Address\\\": \\\"Test, Test\\\",\\n    \\\"City\\\": \\\"Test\\\",\\n    \\\"Postcode\\\": \\\"SE16 1DD\\\",\\n    \\\"PhoneNumber\\\": \\\"1234567890\\\",\\n    \\\"TimeZone\\\": \\\"GMT Standard Time\\\",\\n    \\\"PreviousRestuarantOrderCount\\\": 0\\n  },\\n  \\\"BasketInfo\\\": {\\n    \\\"BasketId\\\": \\\"ZuWRDpSZS0e1zOzrkCv48g\\\",\\n    \\\"MenuId\\\": 1649,\\n    \\\"Discounts\\\": [\\n      {\\n        \\\"Id\\\": 31410,\\n        \\\"Discount\\\": 20,\\n        \\\"DiscountType\\\": \\\"Percent\\\",\\n        \\\"QualifyingValue\\\": 30\\n      }\\n    ],\\n    \\\"SubTotal\\\": 11.85,\\n    \\\"ToSpend\\\": 0,\\n    \\\"MultiBuyDiscount\\\": 0,\\n    \\\"Discount\\\": 0,\\n    \\\"DeliveryCharge\\\": 1,\\n    \\\"Total\\\": 12.85,\\n    \\\"GroupedBasketItems\\\": [\\n      {\\n        \\\"BasketItem\\\": {\\n          \\\"ProductId\\\": 108668,\\n          \\\"ProductTypeId\\\": 327,\\n          \\\"MenuCardNumber\\\": \\\"33\\\",\\n          \\\"Name\\\": \\\"Chicken Wings\\\",\\n          \\\"Synonym\\\": \\\"\\\",\\n          \\\"UnitPrice\\\": 3.95,\\n          \\\"CombinedPrice\\\": 11.85,\\n          \\\"MealParts\\\": [],\\n          \\\"OptionalAccessories\\\": [],\\n          \\\"RequiredAccessories\\\": [],\\n          \\\"Discounts\\\": [],\\n          \\\"MultiBuyDiscounts\\\": []\\n        },\\n        \\\"Quantity\\\": 3,\\n        \\\"CombinedPrice\\\": 11.85,\\n        \\\"OrderSubId\\\": 0,\\n        \\\"MenuCardNumber\\\": null\\n      }\\n    ]\\n  },\\n  \\\"IsAMiniFistPumpOrder\\\": false\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"orderconnect-massage-format-copy","type":"basic","title":"Card Payment"}
[block:image] { "images": [ { "image": [ "https://files.readme.io/JP5Mdc7SameqD6JIjIvD_10555476.png", "10555476.png", "628", "818", "#cdcdcd", "" ] } ] } [/block] [block:code] { "codes": [ { "code": "{\n \"Id\": \"ufylpe6jquyamt0znu5efq\",\n \"CustomerOrderId\": 10555476,\n \"Order\": {\n \"NoteToRestaurant\": null,\n \"ServiceType\": \"Delivery\",\n \"PlacedDate\": \"2015-04-28T14:12:19.0576+00:00\",\n \"DueDate\": \"2015-04-28T15:00:00+00:00\",\n\t\"DueDateWithUtcOffset\": \"2015-04-28T15:00:00+01:00\",\n \"InitialDueDate\": \"2015-04-28T15:00:00+00:00\",\n\t\"InitialDueDateWithUtcOffset\": \"2015-04-28T15:00:00+01:00\",\n \"PromptAsap\": true\n },\n \"RestaurantInfo\": {\n \"Id\": \"525\",\n \"Name\": \"Just Pizzas\",\n \"PhoneNumber\": \"01234567890\",\n \"AddressLines\": [\n \"15 Test Street\"\n ],\n \"City\": \"London\",\n \"Postcode\": \"EC4M 7rf\",\n \"DispatchMethod\": \"JctV3\",\n \"EmailAddress\": null\n },\n \"PaymentInfo\": {\n \"PaymentLines\": [\n {\n \"Type\": \"Card\",\n \"CardFee\": 0.5,\n \"Value\": 12.85\n }\n ],\n \"Total\": 13.35,\n \"TotalComplementary\": 0,\n \"PaidDate\": \"2015-04-28T15:13:16.5868+00:00\",\n \"CashOnDelivery\": false\n },\n \"CustomerInfo\": {\n \"Id\": \"1957127\",\n \"Email\": \"new.user@just-eat.com\",\n \"Name\": \"Mr Testy Test\",\n \"Address\": \"Test, Test\",\n \"City\": \"Test\",\n \"Postcode\": \"SE16 1DD\",\n \"PhoneNumber\": \"1234567890\",\n \"TimeZone\": \"GMT Standard Time\",\n \"PreviousRestuarantOrderCount\": 0\n },\n \"BasketInfo\": {\n \"BasketId\": \"ZuWRDpSZS0e1zOzrkCv48g\",\n \"MenuId\": 1649,\n \"Discounts\": [\n {\n \"Id\": 31410,\n \"Discount\": 20,\n \"DiscountType\": \"Percent\",\n \"QualifyingValue\": 30\n }\n ],\n \"SubTotal\": 11.85,\n \"ToSpend\": 0,\n \"MultiBuyDiscount\": 0,\n \"Discount\": 0,\n \"DeliveryCharge\": 1,\n \"Total\": 12.85,\n \"GroupedBasketItems\": [\n {\n \"BasketItem\": {\n \"ProductId\": 108668,\n \"ProductTypeId\": 327,\n \"MenuCardNumber\": \"33\",\n \"Name\": \"Chicken Wings\",\n \"Synonym\": \"\",\n \"UnitPrice\": 3.95,\n \"CombinedPrice\": 11.85,\n \"MealParts\": [],\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": [],\n \"Discounts\": [],\n \"MultiBuyDiscounts\": []\n },\n \"Quantity\": 3,\n \"CombinedPrice\": 11.85,\n \"OrderSubId\": 0,\n \"MenuCardNumber\": null\n }\n ]\n },\n \"IsAMiniFistPumpOrder\": false\n}", "language": "json" } ] } [/block]