Can we search for the order ID associated with the payment ID through the Square Connect API?

Is there a way to use the Square Connect API to get the payment ID sent via a webhook and find the associated order ID?

It seems strange to me that the Payment object specified in the documentation ( https://docs.connect.squareup.com/api/connect/v1/#datatype-payment ) has no order_id value or the orders API does not have a get / order_by_payment_id option ( https://docs.connect.squareup.com/api/connect/v1/#navsection-orders ).

Are there any plans to implement any of these parameters?

+3


source to share


1 answer


It is not currently possible to get the order ID associated with objects Payment

with the Connect API.



I have sent a feature request to the API development team.

0


source







All Articles