A large client using webhooks has suggested that we modify the JSON response of the "Invoice Paid" and the "Invoice Created" webhooks by adding some more granular data. The client pointed out that writing code to concatenate segmented data is simpler (for them) than splitting data out of a string.

Current JSON structure for payments:

"details" contains card type, last four digits of card #, and processor response in a string
"details" contains card type, last four digits of card #, and processor response in a string


Proposed modified JSON structure for payments: 

"details" is preserved (might be useful for some clients), three new keys would contain card type, last four digits of card #, and processor response individually.
"details" is preserved (might be useful for some clients), three new keys would contain card type, last four digits of card #, and processor response individually.



Thanks Core Team!