Either via an integration app like integromat or other way?
What information are you looking to consume? 
Right-click your module in the App Explorer and select Add other > Consumed web service. Enter a name for the new consumed web service (for example, TemperatureConverter) and click OK. On the Consumed Web Service screen. Click Edit.
I need to attach an URL, to consume and send an xml with a payment information.
@Michael Thank you for your answer Michael. With App Explorer do you mean the Square App Marketplace or in Integromat? I think you have the solution but I’m misunderstanding where to find the App Explorer 
Yeah, what module are you referring to? Is it something within Square?