Payment.updated having blank external_details source

Hi everyone,
We received a payload from payment.updated webhook where the external_details are as follows:

"external_details": {
          "source": "",
          "type": "OTHER"
},

If I understand correctly, on the documentation, source is a required field, so I would’ve expected this to have a value.
One thing I notice that it happened when square_product is “RETAIL”. I’m not sure if that’s connected.
My question is, are there cases where the source field is blank? Or is this a bug?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Web Payments SDK Requirements
Square Developer
Square Developer

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Yes, there can be cases where the “source” field in “external_details” is blank. This typically happens when the payment is made through an external entity but the specific source of the payment is not identified. This is not a bug, but rather a feature of the system to accommodate payments from various external sources. The “type” field being set to “OTHER” further indicates that the payment source was not one of the predefined types.

This answer was reviewed by @Bryan-Square.