# Repy Converter
An application can register a "Reply Converter", to massage the output sent when polling and in the webhook replies.
It receives the DATP transaction summary, does whatever it wants, and returns a new reply and an optional HTTP status code for the polling replies.
function myReplyConverter(txSummary) {
txSummary.metadata.hello = 'world'
return { httpStatus: 201, reply: txSummary }
}
DATP.registerReplyConverter(myReplyConverter)
1
2
3
4
5
2
3
4
5
If there's anything you don't like in the standard DATP reply, you can change it. It does not neccessarily need to conform to the metadata/progressReport/data format.