{"__v":5,"_id":"571f88c1c60e0d3400721843","category":{"__v":0,"_id":"571f5e8cd8667f0e00a3c49c","project":"571f5e8cd8667f0e00a3c498","version":"571f5e8cd8667f0e00a3c49b","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-26T12:26:52.333Z","from_sync":false,"order":1,"slug":"documentation","title":"Webhooks"},"parentDoc":null,"project":"571f5e8cd8667f0e00a3c498","user":"571f5e46d8e3cf1900762b33","version":{"__v":12,"_id":"571f5e8cd8667f0e00a3c49b","hasDoc":true,"hasReference":true,"project":"571f5e8cd8667f0e00a3c498","createdAt":"2016-04-26T12:26:52.312Z","releaseDate":"2016-04-26T12:26:52.312Z","categories":["571f5e8cd8667f0e00a3c49c","571f73cfcb4baa0e00d13a80","571f7451cb4baa0e00d13a88","571f7d2720695f3400f38797","571f7fb0ac2a080e0014c661","571f884be54f2d0e003ebb0a","572200c9ecb38d0e00d80ebd","572c301e7c8eff0e00aaa174","57df91b2c6348d0e0020c452","57e104db9ff1e21900a721ab","57fd04caeaa77f19008b8202","5899c7113514ce0f0014da84"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-26T15:26:57.496Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"This webhook submits a XML, which contains all available data of the donation and person. \n\nThis means, if the donation has been automatically added to an existing person (merge) in your FundraisingBox, all person data (like addresses, email-addresses, bankaccounts, …) are sent within the fb_person-XML-tag. \n\nOf course it contains the detailed data of the donation, the detailed data of the recurring payment and sepa mandate, if available. The data are separated into fb_donation, fb_person, fb_sepa_mandate and fb_recurring_payment.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Defintion of the pushed xml document\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<fb_transaction>\\n   <fb_donation>\\n      ...\\n   </fb_donation>\\n   <fb_person>\\n      ...\\n   </fb_person>\\n   <fb_recurring_payment> //OPTIONAL\\n      ...\\n   </fb_recurring_payment>\\n   <fb_sepa_mandate> //OPTIONAL\\n      ...\\n   </fb_sepa_mandate>\\n</fb_transaction>\",\n      \"language\": \"xml\"\n    }\n  ]\n}\n[/block]\nDetailed information:\n[/donations/:id.xml](doc:donationsidxml) \n[/persons/:id.xml](doc:get-personsidxml) \n[/recurrings/:id.xml](doc:recurringsidxml)\n[/mandates/:id.xml](doc:mandatesidxml)","excerpt":"","slug":"merge-webhook","type":"basic","title":"Merge webhook"}
This webhook submits a XML, which contains all available data of the donation and person. This means, if the donation has been automatically added to an existing person (merge) in your FundraisingBox, all person data (like addresses, email-addresses, bankaccounts, …) are sent within the fb_person-XML-tag. Of course it contains the detailed data of the donation, the detailed data of the recurring payment and sepa mandate, if available. The data are separated into fb_donation, fb_person, fb_sepa_mandate and fb_recurring_payment. [block:api-header] { "type": "basic", "title": "Defintion of the pushed xml document" } [/block] [block:code] { "codes": [ { "code": "<fb_transaction>\n <fb_donation>\n ...\n </fb_donation>\n <fb_person>\n ...\n </fb_person>\n <fb_recurring_payment> //OPTIONAL\n ...\n </fb_recurring_payment>\n <fb_sepa_mandate> //OPTIONAL\n ...\n </fb_sepa_mandate>\n</fb_transaction>", "language": "xml" } ] } [/block] Detailed information: [/donations/:id.xml](doc:donationsidxml) [/persons/:id.xml](doc:get-personsidxml) [/recurrings/:id.xml](doc:recurringsidxml) [/mandates/:id.xml](doc:mandatesidxml)