Additional Error Attribute - 'Source' (Create Payment)

Hello,

It would be handy to have an additional attribute on an error response- ‘Source’ which, at a higher level, would tell, in general terms, where the error is originating from, i.e., ‘Issuer/Bank’ vs. ‘Square’ vs. ‘Network’, vs. ‘Other’ etc.

I know some of the textual descriptions contain this type of information, but if one is looking to make branching decisions in code, having this information in the same place as ‘Category’ & ‘Code’ would be much more useful. Generating feedback/responses to the user would be one such use case.

Thanks.

We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face: