# Transfer Notification API source: https://developer.mastercard.com/mastercard-send-disbursements/documentation/api-reference/transfer-notification/index.md Note: We have hidden this page from the main documentation set because we are no longer promoting this API. Unless you are already using this API, please do **not** start coding for it. This resource is an **outbound** service that will post notifications to your webhook URL about particular non-card (FPS) payment activity: * Inbound payment transfers * A reversal on an inbound payment transfer * A return on a push payment Your webhook must be registered in the Mastercard Send Customer Site by the Mastercard Customer Implementation Service (CIS) team. ## API {#api} API Specification: `https://static.developer.mastercard.com/content/mastercard-send-disbursements/swagger/TransferNotification_Swagger.yaml` ## Testing {#testing} To receive a test notification message, initiate a Disbursement API request with a payload containing one of the following values for `recipient_account_uri`. Specify the value using the 'iban' schema, for example `iban:GB49STLG60161311111111`. | Recipient Account URI | Simulated Inbound Payment Response | |------------------------|------------------------------------------------------------------------------------------------------------------------------------| | GB49STLG60161311111111 | Both Sender Account URI and Receiver Account URI contain Sort Code and Account Number. | | GB25STLG60161311112222 | Sender Account URI contains Sort Code and Account Number and Receiver Account URI contains Account Number and BIC. | | GB98STLG60161311113333 | Sender Account URI contains Sort Code and Account Number and Receiver Account URI contains BIC and IBAN. | | GB27STLG60161322221111 | Sender Account URI contains Account Number and BIC and Receiver Account URI contains Sort Code and Account Number. | | GB03STLG60161322222222 | Both Sender Account URI and Receiver Account URI contain Sort Code and Account Number. | | GB76STLG60161322223333 | Sender Account URI contains Account Number and BIC and Receiver Account URI contains BIC and IBAN. | | GB05STLG60161333331111 | Sender Account URI contains BIC and IBAN and Receiver Account URI contains Sort Code and Account Number. | | GB78STLG60161333332222 | Sender Account URI contains BIC and IBAN and Receiver Account URI contains Account Number and BIC. | | GB54STLG60161333333333 | Both Sender Account URI and Receiver Account URI contain BIN and IBAN. | | GB13STLG60161366666666 | Inbound Reversal Scenario, will generate an Inbound Reversal Notification about 10 seconds after the Inbound Notification Response | ## Sample Notification Message {#sample-notification-message} * JSON * XML ```JSON { "transfer_notification": { "transfers": { "item_count": 1, "resource_type": "list", "data": { "transfer": [ { "sender": { "name_on_account": "Bobby Source" }, "recipient": { "name_on_account": "Mr Recipient" }, "transfer_notification_type":"INBOUND", "created": "2021-04-16T13:28:15-05:00", "status": "APPROVED", "id": "fps_yCgJ5dksHSHfZD-jJcjqaFwSmUN5", "resource_type": "transfer", "transfer_reference": "ref_D9O31N4BdlbiGLndUBITo1N7aNFX", "payment_type": "P2P", "sender_account_uri": "GB00XXXX20300200004588", "recipient_account_uri": "GB00SRLG20300200004588", "transfer_amount": { "value": "17508", "currency": "GBP" }, "transaction_history": { "data": { "transaction": [ { "network": "FPS_INBOUND", "type": "PAYMENT", "id": "trn_2JCJx0YGRz_hbHEmIlruHfJ6r822", "resource_type": "transaction", "account_uri": "GB00SRLG20300200004588", "transaction_amount": { "value": "17508", "currency": "GBP" }, "network_status_code": "00", "network_status_description": "APPROVED", "funds_availability": "IMMEDIATE", "create_timestamp": "2021-04-16T13:28:15-05:00", "status": "APPROVED", "status_reason": "APPROVED", "status_timestamp": "2021-04-16T13:28:15-05:00", "transfer_notification_type":"INBOUND" } ] }, "resource_type": "list", "item_count": 1 }, "statement_descriptor": "040023;47078543", "original_status": "APPROVED", "status_timestamp": "2021-04-16T13:28:15-05:00", "payment_origination_country": "GBR", "transfer_priority": "FDP", "faster_payments_id": "sdmNaUtAInQ969q1vRKFjZrWjYQKz4", "payment_uid": "744151a3-dee4-e3af-c155-b43d35cc840d", "sender_bic": "SRLGGB2L", "recipient_bic": "SRLGGB2L", "non_card_token": "non-card-token:020nW7B3JYoHWphpF0kGvdk5r7a0ca_uYOOnYi7rfE-kh_fzhs8OaB2gA" } ] } } } } ``` ```XML list 1 fps_9abcd233jk23l6c5lw5f transfer DEF123456 P2P GBR iban:GB29NWBK60161331926819 Jane Smith iban:GB29NWBK60161331926819 Jane Smith INBOUND 5300 USD 2021-04-16T13:28:15-05:00 list 1 trn_8h4me233jk23l6c5lw5f transaction iban:GB29NWBK60161331926819 5300 GBP FPS_INBOUND 1234 Beneficiary Sort Code/Account Number Unknown IMMEDIATE PAYMENT 2021-04-16T13:28:15-05:00 APPROVED APPROVED 2021-04-16T13:28:15-05:00 INBOUND TST*THANKYOU APPROVED APPROVED 2021-04-16T13:28:15-05:00 SIP YE78126Q54WK2J06M33020170720826608371 32e2f3f9-dee4-4d10-a470-3dfa01dbf118 SRLGGB2L SRLGGB2L non-card-token:suZz18lhAFvx9LQa6U2VMxs0BJLAD_TXVzYvaqTsjcG_AImuzmvNXQ ```