{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Session JSON","type":"basic","slug":"session-json","excerpt":"","body":"The Session JSON contains all data of a not yet processed session. You can update the session as long as it's not processed by the payment-controller.\n\n**hash**\nUnique hash for this session, use this hash to update the session or processing via the payment-controller.\n\n**status**\n- *incomplete*: session has still errors like required or invalid fields\n- *complete*: session is ready for payment\n\n**errors**\nSee [Errors JSON](doc:errors-json).\n\n**values**\nContains the already accepted and validated values stored in the session.\n\n**fixed_values**\nOnly for Prepopulation-API: indicates which values are fixed.\n\n**meta_info**\nAdditional informations already stored in the session, e.g. Adresslabor informations. See [Meta Info](doc:meta-info).\n\n#Example\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"hash\\\": \\\"0eugvetl49ql8drqyzs3oiybaz2tdvu257dfbeb23833f\\\",\\n \\\"status\\\": \\\"incomplete\\\",\\n \\\"errors\\\": {\\n \\\"current_fields\\\": {\\n \\\"interval\\\": \\\"Ungültig\\\",\\n ...\\n },\\n \\\"other_fields\\\": {\\n \\\"payment_method\\\": \\\"Bitte wählen Sie eine Zahlungsweise\\\",\\n ...\\n }\\n },\\n \\\"values\\\": {\\n \\\"salutation\\\": \\\"Mr.\\\",\\n \\\"first_name\\\": \\\"Hans\\\",\\n \\\"last_name\\\": \\\"Peters\\\",\\n \\\"amount\\\": \\\"120\\\",\\n \\\"fb_item_id\\\": \\\"9305\\\",\\n \\\"wants_receipt\\\": \\\"no_receipt\\\",\\n \\\"is_privacy_accepted\\\": \\\"1\\\",\\n ...\\n },\\n \\\"fixed_values\\\": {\\n \\\"first_name\\\": \\\"fix\\\",\\n \\\"last_name\\\": \\\"fix\\\",\\n ...\\n },\\n \\\"meta_info\\\": {...} // see General > Meta Info\\n}\",\n \"language\": \"json\"\n }\n ]\n}\n[/block]","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"57dfbe20ef837d0e00fd8a86","project":"571f5e8cd8667f0e00a3c498","version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["571f5e8cd8667f0e00a3c49c","571f73cfcb4baa0e00d13a80","571f7451cb4baa0e00d13a88","571f7d2720695f3400f38797","571f7fb0ac2a080e0014c661","571f884be54f2d0e003ebb0a","572200c9ecb38d0e00d80ebd","572c301e7c8eff0e00aaa174","57df91b2c6348d0e0020c452","57e104db9ff1e21900a721ab","57fd04caeaa77f19008b8202","5899c7113514ce0f0014da84","5cbeda4b862d090013abd413","5e60d6278f8b380072f0b1e3"],"_id":"571f5e8cd8667f0e00a3c49b","hasDoc":true,"releaseDate":"2016-04-26T12:26:52.312Z","__v":14,"hasReference":true,"createdAt":"2016-04-26T12:26:52.312Z","project":"571f5e8cd8667f0e00a3c498"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"JSON Formats","slug":"json-formats","order":5,"from_sync":false,"reference":false,"_id":"57fd04caeaa77f19008b8202","__v":0,"version":"571f5e8cd8667f0e00a3c49b","createdAt":"2016-10-11T15:27:06.099Z","project":"571f5e8cd8667f0e00a3c498"},"githubsync":"","user":"5720c075db52d01700f5d1e4","__v":0,"parentDoc":null,"createdAt":"2016-09-19T10:29:52.760Z"}