{"title":"Payment webhooks (deprecated)","category":"default","creationDate":1776961627,"content":"<div class=\"additional-info-block output-inline\">\n<h5 class=\"article__heading additional-info-block__title\">More webhooks<\/h5><div class=\"additional-info-block__body\"><p>Learn about the <a href=\"\/pt\/marketplaces\/webhook-types\">webhook types<\/a> that Adyen sends to your server.<\/p><\/div><\/div>\n\n<div class=\"notices red\">\n<p>The webhooks described in this section are deprecated. Use the <a href=\"\/pt\/marketplaces\/internal-fund-transfers\/internal-transfer-webhooks\">transfer webhooks<\/a> instead.<\/p>\n<\/div>\n<p>When you initiate a funds transfer between balance accounts, Adyen sends two sets of webhooks: one for the source and one for the destination balance account.<\/p>\n<h2>Source balance account<\/h2>\n<p>Adyen sends a <a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/balanceplatform-webhooks\/latest\/post\/balancePlatform.outgoingTransfer.created\" class=\"codeLabel external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">balancePlatform.outgoingTransfer.created<\/a> webhook for the <code>source<\/code> balance account. The <code>amount.value<\/code> shows a <em>negative<\/em> amount, indicating funds deducted from the balance account.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Outgoing funds transfer from source balance account'\" :id=\"'source'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n  \\\"data\\\": {\\n    \\\"balancePlatform\\\": \\\"YOUR_BALANCE_PLATFORM\\\",\\n    \\\"creationDate\\\": \\\"2021-09-02T18:35:55+02:00\\\",\\n    \\\"id\\\": \\\"1W3ZLV5S2VIMM72A\\\",\\n    \\\"accountHolder\\\": {\\n      \\\"description\\\": \\\"S.Hopper\\\",\\n      \\\"id\\\": \\\"AH00000000000000000000001\\\"\\n    },\\n    \\\"amount\\\": {\\n      \\\"currency\\\": \\\"EUR\\\",\\n      \\\"value\\\": -10000\\n    },\\n    \\\"balanceAccount\\\": {\\n      \\\"description\\\": \\\"My Balance Account\\\",\\n      \\\"id\\\": \\\"BA00000000000000000000001\\\"\\n    },\\n    \\\"counterparty\\\": {\\n      \\\"balanceAccountId\\\": \\\"BA00000000000000000000002\\\"\\n    },\\n    \\\"description\\\": \\\"YOUR_DESCRIPTION_FOR_THE_TRANSFER\\\",\\n    \\\"modification\\\": {\\n      \\\"amount\\\": {\\n        \\\"currency\\\": \\\"EUR\\\",\\n        \\\"value\\\": -10000\\n      },\\n      \\\"type\\\": \\\"OutgoingTransfer\\\"\\n    },\\n    \\\"originalAmount\\\": {\\n      \\\"currency\\\": \\\"EUR\\\",\\n      \\\"value\\\": -1000\\n    },\\n    \\\"paymentId\\\": \\\"1W3ZLV5S2VIMM72A\\\",\\n    \\\"reference\\\": \\\"YOUR_UNIQUE_REFERENCE_FOR_THE_TRANSFER\\\",\\n    \\\"status\\\": \\\"OutgoingTransfer\\\",\\n    \\\"valueDate\\\": \\\"2021-09-02T18:35:43+02:00\\\"\\n  },\\n  \\\"environment\\\": \\\"test\\\",\\n  \\\"type\\\": \\\"balancePlatform.outgoingTransfer.created\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2>Destination balance account<\/h2>\n<p>Adyen sends a <a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/balanceplatform-webhooks\/latest\/post\/balancePlatform.incomingTransfer.created\" class=\"codeLabel external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">balancePlatform.incomingTransfer.created<\/a> webhook for the <code>destination<\/code> account. The <code>amount.value<\/code> shows a <em>positive<\/em> amount, indicating funds added to the balance account.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Incoming funds transfer to destination balance account'\" :id=\"'destination'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n  \\\"data\\\": {\\n    \\\"balancePlatform\\\": \\\"YOUR_BALANCE_PLATFORM\\\",\\n    \\\"creationDate\\\": \\\"2021-05-03T15:20:14+02:00\\\",\\n    \\\"id\\\": \\\"IZL6685QQEBKFOOY\\\",\\n    \\\"accountHolder\\\": {\\n      \\\"description\\\": \\\"S.Hopper\\\",\\n      \\\"id\\\": \\\"AH00000000000000000000001\\\"\\n    },\\n    \\\"amount\\\": {\\n      \\\"currency\\\": \\\"EUR\\\",\\n      \\\"value\\\": 15000\\n    },\\n    \\\"balanceAccount\\\": {\\n      \\\"description\\\": \\\"S.Hopper - Main account\\\",\\n      \\\"id\\\": \\\"BA00000000000000000000002\\\"\\n    },\\n    \\\"modification\\\": {\\n      \\\"amount\\\": {\\n        \\\"currency\\\": \\\"EUR\\\",\\n        \\\"value\\\": 15000\\n      },\\n      \\\"type\\\": \\\"PendingIncomingTransfer\\\"\\n    },\\n    \\\"originalAmount\\\": {\\n      \\\"currency\\\": \\\"EUR\\\",\\n      \\\"value\\\": 15000\\n    },\\n    \\\"paymentId\\\": \\\"IZL6685QQEBKFON0\\\",\\n    \\\"status\\\": \\\"PendingIncomingTransfer\\\"\\n  },\\n  \\\"environment\\\": \\\"test\\\",\\n  \\\"type\\\": \\\"balancePlatform.incomingTransfer.created\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>","url":"https:\/\/docs.adyen.com\/pt\/marketplaces\/internal-fund-transfers\/notification-webhooks","articleFields":{"description":"Find out which webhooks Adyen sends for fund transfers.","feedback_component":true,"id":"25142904","type":"page","_expandable":{"operations":""},"status":"current","last_edit_on":"15-07-2021 16:18","cache_enable":false,"parameters":{"directoryPath":"\/marketplaces","model":"marketplace"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/marketplaces\/internal-fund-transfers\/notification-webhooks","title":"Payment webhooks (deprecated)","content":"\nMore webhooksLearn about the webhook types that Adyen sends to your server.\n\n\nThe webhooks described in this section are deprecated. Use the transfer webhooks instead.\n\nWhen you initiate a funds transfer between balance accounts, Adyen sends two sets of webhooks: one for the source and one for the destination balance account.\nSource balance account\nAdyen sends a balancePlatform.outgoingTransfer.created webhook for the source balance account. The amount.value shows a negative amount, indicating funds deducted from the balance account.\n\n    \n\nDestination balance account\nAdyen sends a balancePlatform.incomingTransfer.created webhook for the destination account. The amount.value shows a positive amount, indicating funds added to the balance account.\n\n    \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Marketplaces","lvl2":"Transfer funds internally","lvl3":"Payment webhooks (deprecated)"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/marketplaces","lvl2":"https:\/\/docs.adyen.com\/pt\/marketplaces\/internal-fund-transfers","lvl3":"\/pt\/marketplaces\/internal-fund-transfers\/notification-webhooks"},"levels":4,"category":"Marketplaces","category_color":"green","tags":["Payment","webhooks","(deprecated)"]}}
