{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[],"examples":{"codes":[]}},"next":{"description":"","pages":[]},"title":"Transfer Callbacks","type":"basic","slug":"callbacks","excerpt":"","body":"Transfer callbacks are triggered when the `notifyUrl` is being used within the [create transfer](doc:create-transfer) endpoint.\n\n###When callbacks are sent\nTransfer Callbacks are sent whenever an initial transaction is created.\n\n###Callback Acceptance and Retries\nYour system should respond to the callback request with a 200 response. We only attempt to send the request once, but we may introduce automatic retries in the future. We can manually resend callbacks upon request.\n\n###Payload\nThe callback payload will be a JSON representation of the transfer id that has caused the callback to trigger. An example of such a notification can be found below:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"subscriptionId\\\": \\\"DA_CJN7LL2P7ZY\\\",\\n  \\\"trigger\\\": \\\"transfer:TF_P6MCNQ3GWFD\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Transfer Callback \"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Resolve the Transfer Id\"\n}\n[/block]\nYou can resolve the transfer id received from the callback to get more details about the transfer such as the current status. This is done using the [Get Transfer](doc:get-transfer) endpoint like below.\n\nGET https://api.testwyre.com/v3/transfers/TF_P6MCNQ3GWFD","updates":[],"order":1,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f27a17ee8827e01c35190b1","createdAt":"2020-08-03T05:32:46.824Z","user":"5f279b5f85a619021c4073ad","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Transfers & Exchanges","slug":"transfers","order":7,"from_sync":false,"reference":true,"_id":"5bc633b48f3ff600626e3e18","project":"550f74bb6fc8130d0038aad3","version":"550f75de61d9d30d00af9e01","createdAt":"2018-10-16T18:53:40.959Z","__v":0},"version":{"version":"3","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["550f75de61d9d30d00af9e02","551027e38579861900a86698","551029e08579861900a8669a","551029e7498062190006328a","5bc633a722d682005c9ad9e4","5bc633b08c4b0b000d6a7eaa","5bc633b48f3ff600626e3e18","5bc63538e5a6ba000d22ee6d","5bc63587a18a6b000decd295","5bc635c0937fcb0056223d9c","5bc6360f42f41800319aeaa6","5be5d13ff1d319002baca9ce","5be5d2287cd14d00291fbfdb","5be8b3b09f7cb70023c56a39","5be8b3cbb910100044e20206","5c1d769a4f6aed001fe527f0","5c402942010f0d001496dded","5e8127d61c906800374eeb1c","5f2768c98622b8005106544a","5f2768d05702ca0011f7655e","5f276e5348d2b600321aef9b","5f276fd300e519001139200a","5f9a2cb79dafe500259281a7","5fd92bf362bb7301b00e48ba"],"_id":"550f75de61d9d30d00af9e01","__v":24,"releaseDate":"2015-03-23T02:09:34.221Z","project":"550f74bb6fc8130d0038aad3","createdAt":"2015-03-23T02:09:34.221Z","forked_from":"550f74bb6fc8130d0038aad6"},"project":"550f74bb6fc8130d0038aad3","__v":0,"parentDoc":null}

Transfer Callbacks


Transfer callbacks are triggered when the `notifyUrl` is being used within the [create transfer](doc:create-transfer) endpoint. ###When callbacks are sent Transfer Callbacks are sent whenever an initial transaction is created. ###Callback Acceptance and Retries Your system should respond to the callback request with a 200 response. We only attempt to send the request once, but we may introduce automatic retries in the future. We can manually resend callbacks upon request. ###Payload The callback payload will be a JSON representation of the transfer id that has caused the callback to trigger. An example of such a notification can be found below: [block:code] { "codes": [ { "code": "{\n \"subscriptionId\": \"DA_CJN7LL2P7ZY\",\n \"trigger\": \"transfer:TF_P6MCNQ3GWFD\"\n}", "language": "json", "name": "Transfer Callback " } ] } [/block] [block:api-header] { "title": "Resolve the Transfer Id" } [/block] You can resolve the transfer id received from the callback to get more details about the transfer such as the current status. This is done using the [Get Transfer](doc:get-transfer) endpoint like below. GET https://api.testwyre.com/v3/transfers/TF_P6MCNQ3GWFD