{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"JSON webhook","type":"basic","slug":"json-webhook","excerpt":"","body":"This webhook submits a JSON, which contains all available data of the donation and the person. \n\nThis means, if the donation has been automatically added to an existing person (via automatic merge of duplicates) in your FundraisingBox, all person data (like addresses, email-addresses, bankaccounts, …) are sent within the fb_person node.\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 JSON document\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n   \\\"fb_person\\\":{\\n      \\\"id\\\":1706519,\\n      \\\"company_id\\\":null,\\n      \\\"salutation\\\":\\\"Mr.\\\",\\n      \\\"title\\\":\\\"\\\",\\n      \\\"first_name\\\":\\\"Markus\\\",\\n      ...\\n   },\\n   \\\"fb_donation\\\":{\\n      \\\"id\\\":8594118,\\n      \\\"ident_id\\\":4424,\\n      \\\"transaction_id\\\":\\\"FB-T-6341087\\\",\\n      ...\\n   },\\n   \\\"fb_recurring_payment\\\":{\\n      \\\"id\\\":377586,\\n      \\\"fb_payment_form_configuration_id\\\":4185,\\n      \\\"fb_source_id\\\":3,\\\",\\n     ...\\n   },\\n   \\\"fb_sepa_mandate\\\":{\\n      \\\"id\\\":658136,\\n      \\\"reference_id\\\":\\\"FB-SEPA-6341087\\\",\\n      \\\"mandate_status\\\":\\\"active\\\",\\n      \\\"signature_date\\\":\\\"2020-04-15\\\",\\n      \\\"last_usage_date\\\":null,\\n      \\\"transaction_type\\\":\\\"recurrent\\\",\\n      ...\\n   }\\n}\\n\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\nPlease find detailed information about the single nodes at:\n[/donations/:id.json](doc:donations-show) \n[/persons/:id.json](doc:persons-show) \n[/recurrings/:id.json](doc:recurrings-show)\n[/mandates/:id.json](doc:mandates-show)","updates":[],"order":999,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e970b7f9826620167c5b5e4","createdAt":"2020-04-15T13:26:23.490Z","user":"5720ba18c669e80e00c35051","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Webhooks (API-Package)","slug":"documentation","order":8,"from_sync":false,"reference":false,"_id":"571f5e8cd8667f0e00a3c49c","version":"571f5e8cd8667f0e00a3c49b","__v":1,"createdAt":"2016-04-26T12:26:52.333Z","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"},"project":"571f5e8cd8667f0e00a3c498","__v":0}
This webhook submits a JSON, which contains all available data of the donation and the person. This means, if the donation has been automatically added to an existing person (via automatic merge of duplicates) in your FundraisingBox, all person data (like addresses, email-addresses, bankaccounts, …) are sent within the fb_person node. 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 JSON document" } [/block] [block:code] { "codes": [ { "code": "{\n \"fb_person\":{\n \"id\":1706519,\n \"company_id\":null,\n \"salutation\":\"Mr.\",\n \"title\":\"\",\n \"first_name\":\"Markus\",\n ...\n },\n \"fb_donation\":{\n \"id\":8594118,\n \"ident_id\":4424,\n \"transaction_id\":\"FB-T-6341087\",\n ...\n },\n \"fb_recurring_payment\":{\n \"id\":377586,\n \"fb_payment_form_configuration_id\":4185,\n \"fb_source_id\":3,\",\n ...\n },\n \"fb_sepa_mandate\":{\n \"id\":658136,\n \"reference_id\":\"FB-SEPA-6341087\",\n \"mandate_status\":\"active\",\n \"signature_date\":\"2020-04-15\",\n \"last_usage_date\":null,\n \"transaction_type\":\"recurrent\",\n ...\n }\n}\n", "language": "json" } ] } [/block] Please find detailed information about the single nodes at: [/donations/:id.json](doc:donations-show) [/persons/:id.json](doc:persons-show) [/recurrings/:id.json](doc:recurrings-show) [/mandates/:id.json](doc:mandates-show)